Giter Site home page Giter Site logo

meta's People

Contributors

ssbarnea avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

meta's Issues

enable gitter.im "bridge" to libera IRC

There's already a gitter.im room at https://gitter.im/pytest-dev/pytest and a libera room at https://matrix.to/#/#pytest:libera.chat (Internal room ID: !ipBocKVYhzwSPWzCKM:libera.chat)

I just need to send an email like:

MIME-Version: 1.0
Date: Fri, 13 Aug 2021 14:43:53 +0100
Message-ID: <[email protected]>
Subject: merging the pytest libera and gitter chat rooms
From: Thomas Grainger <[email protected]>
To: [email protected]
Content-Type: text/plain; charset="UTF-8"

please could you merge !ipBocKVYhzwSPWzCKM:libera.chat with
https://gitter.im/pytest-dev/pytest and configure a tombstone/redirect
per https://github.com/pytest-dev/meta/issues/10

thanks

Thomas Grainger

Simplify plugin adoption guidelines (github repository transfer)

The current documented process for transferring a plugin under pytest-dev is quite complex and it does work work wellbeing done offline: it requires both sender (plugin author) and receiver (one random pytest admin) to be available at the same time.

Being online is not easily achieved as there is no ultimate IM that everyone uses and we also have timezones.

I seen migrations being delayed for months, sometimes even more than an year due to broken communication channels so I am considering proposing few changes that should make it easier.

  • Plugin author should open ticket on https://github.com/pytest-dev/meta/issues for adoption, this will be used as tracker, likely linked on a similar issue in the source repository.
  • pytest-dev cores confirm that the plugin is meeting the documented requirements
  • plugin author is invited to pytedev team, once he accepts github invitation he can create new repositories under pytest-dev. This also enables him to perform the transfer at any time he wishes.
  • Once the transfer happens, one pytest-dev admin restores the rights of the plugin author. This is needed because transfer resets ACL and github secrets
  • Now plugin author can fix secrets and perform other administrative changes related to the transfer, like reconfigure CI/CD pipelines.

This process does not require pytest admin and plugin author to work in tandem to perform the move and avoids double move of repository, which was quite an awkward move. If the light strikes the pytest admin mid process, we can end-up loosing control over the repository.

The only downside of this process is that the plugin author temporary looses administrative rights on the repository. Write rights are not affected at any moment because when author is added to the team, he also receives write rights to all repos.

Adoption of testinfra plugin to pytest-dev organization

I would like to propose migration of testinfra plugin under pytest-dev. This was already proposed to the author and he was willing to transfer.

Still there is one minor issue, as the project is quite old and established, he does not want to rename the repository to match the pytest- prefix rule we have plugins.

I do personally think that we can make one exception, on the ground of being a historical name (more than 4 years in production). IMHO, keeping most popular pytest plugins in a single place helps not only with maintenance but also with with making pytest better known and trustable.

This was proposed about an year ago at pytest-dev/pytest-testinfra#484 but I think we never got an answer from pytest-dev team.

Shared pytest-dev PyPI account/token?

To push releases, @nicoddemus added a PyPI token with 1d3f27cef076df028ef6434b2d3bd29358c421c3 (which is stored in the PYPI_TOKEN secret in this repo).

Is this your personal account, @nicoddemus? Wouldn't it make sense to create a pytest-dev PyPI user, and then have a token which we can configure as organisation-scoped token for the pytest-dev GitHub organisation? That way, all pytest-dev plugins could add the pytest-dev user to PyPI (which would then be the recommendation instead of "We recommend that each plugin has at least three people who have the right to release to PyPI.").

This way, it'd also be easier for repositories to set up automated deployment via GitHub Actions (which could be another recommendation with an example), as they can use the existing organization-wide token and pytest-dev account instead of using their personal account.

Thoughts?

Document and implement a smoketest hooking system for plugins

In order to be able to perform smoke-testing of pytest and its plugins we need to be able to allow plugins to embed and expose a minimal but representative set of smoke tests.

Basically we should be able to validate that pytest is not getting broken by a conflict between two plugins or a plugin and core. We should able to install as many plugins we want and still run a "pytest --smoke-test" kind of command that verifies that main functionality of pytest and installed plugins is still ok.

It is key to embed these tests within the plugins because that is the only way to test compatibility of both already released versions and unreleased ones (master branch).

Once we have a POC on how smoke-testing works we can create a CI/CD test that tests both scenarios: current repository with latest released version of siblings and also current repository with latest master versions of siblings.

This means that we considerably reduce the chance for core or plugin changes to break in production, as none will be able to make a release that does not pass the smoke-testing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.