add category and subcategory properties#159
add category and subcategory properties#159AlexanderLanin wants to merge 2 commits intoeclipse-score:mainfrom
Conversation
|
Thank you for raising a pull request to update the configuration of your GitHub organization. The following conditions need to be fulfilled for auto-merging to be available:
Otterdog commands and optionsYou can trigger otterdog actions by commenting on this PR:
|
|
The author (AlexanderLanin) of this PR is associated with this organization in the role of Additionally, AlexanderLanin is a member of the following teams: |
This comment has been minimized.
This comment has been minimized.
|
Note The current configuration is out-of-sync with the live settings: Diff to live settingsProject automotive.score[github_id=eclipse-score]
there have been 34 validation infos, enable verbose output to display them.
- remove environment[name="copilot", repository=reference_integration] {
- deployment_branch_policy = "all"
- name = "copilot"
- reviewers = []
- wait_timer = 0
- }
! repository[name="baselibs"] {
! code_scanning_default_setup_enabled = true -> false
! }
+ add repo_webhook[url="https://app.readthedocs.org/api/v2/webhook/score-communication/319863/",
repository=communication] {
+ active = true
+ content_type = "json"
+ events = [
+ "push"
+ "pull_request"
+ "create"
+ "delete"
+ ],
+ insecure_ssl = "0"
+ secret = "pass:bots/automotive.score/readthedocs.org/webhook_secret"
+ }
! repository[name="testing_tools"] {
! code_scanning_default_languages = [
- "actions"
! ]
! }
! branch_protection_rule[pattern="main", repository=kyron] {
! requires_linear_history = false -> true
! }
Plan: 1 to add, 3 to change, 1 to delete. |
|
Please find below the validation of the requested configuration changes: Diff for 19e63c1Project automotive.score[github_id=eclipse-score]
there have been 34 validation infos, enable verbose output to display them.
+ add custom_property[name="subcategory"] {
+ description = "Subcategory used to further group repositories within a category in the auto-generated organization README
file"
+ name = "subcategory"
+ required = false
+ value_type = "string"
+ }
! repository[name="apt-install"] {
! custom_properties = {
! category = "infrastructure.automation" -> "infrastructure"
+ subcategory = "automation"
! }
! }
! repository[name="bazel_registry"] {
! custom_properties = {
! category = "infrastructure.tooling" -> "infrastructure"
+ subcategory = "tooling"
! }
! }
! repository[name="cicd-actions"] {
! custom_properties = {
! category = "infrastructure.automation" -> "infrastructure"
+ subcategory = "automation"
! }
! }
! repository[name="cicd-workflows"] {
! custom_properties = {
! category = "infrastructure.automation" -> "infrastructure"
+ subcategory = "automation"
! }
! }
! repository[name="eclipse-score-website"] {
! custom_properties = {
+ category = "website"
! }
! }
! repository[name="eclipse-score-website-preview"] {
! custom_properties = {
+ category = "website"
! }
! }
! repository[name="eclipse-score-website-published"] {
! custom_properties = {
+ category = "website"
! }
! }
! repository[name="eclipse-score.github.io"] {
! custom_properties = {
+ category = "website"
! }
! }
! repository[name="more-disk-space"] {
! custom_properties = {
! category = "infrastructure.automation" -> "infrastructure"
+ subcategory = "automation"
! }
! }
! repository[name="os_images"] {
! custom_properties = {
! category = "infrastructure.integration" -> "infrastructure"
+ subcategory = "integration"
! }
! }
! repository[name="reference_integration"] {
! custom_properties = {
! category = "infrastructure.integration" -> "infrastructure"
+ subcategory = "integration"
! }
! }
Plan: 1 to add, 11 to change, 0 to delete. |
There was a problem hiding this comment.
Pull request overview
This PR introduces repository category and subcategory metadata via GitHub custom properties to support improved grouping of repositories in the auto-generated organization README.
Changes:
- Extends
newScoreRepowith optionalcategory/subcategoryparameters and applies them viacustom_properties. - Updates
newInfrastructureTeamRepoto setcategory="infrastructure"and optionally asubcategory. - Assigns
category="website"to the website-related repositories.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@kairoaraujo would you be so kind to merge this |
|
/otterdog merge |
|
This is really annoying :/ |
Introduce category and subcategory properties for better organization of repositories in the auto-generated README file. This enhancement allows for improved grouping and classification of repositories without manual categorization somewhere else.
The split into two custom properties is done, as the repo search does not allow wildcards. And while we add such categories, it sounds reasonable to support the search:
e.g. https://github.com/orgs/eclipse-score/repositories?q=props.category%3Ainfrastructure