Repository navigation
Conversation
Add a per-repository feature map in bedevere/config.py and dispatch each event only to the features its repository enables. python/cpython keeps every feature. Other python org repositories get only the AI policy labels unless they are listed, and repositories outside the python org get nothing. filepaths skips the NEWS check when news is off for a repository. Document how features work and how to set up a new repository.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #724 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 22 +2
Lines 2421 2520 +99
Branches 119 125 +6
=========================================
+ Hits 2421 2520 +99
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bedevere was initially made just for the CPython repo, and we have hardcoded values and assumptions in the code about the CPython repo. Recently, we introduced process for enforcing AI-based contribution policy, which could be applied for other repos, for example we started seeing the need for the same automation and enforcement for the devguide repo, which makes bedevere useful for other repos as well. With this change, we would be able to install bedevere to other repos like the devguide. Other features like backporting, needs misc/news are still CPython specific, and won't be executed for other repos.