jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-71599] strategies for sub-dividing a github-org into different folders

Open
#1,421 1 comment 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

we have historically used github-enterprise (ghe) which is more liberal about creating distinct organizations, recently our company is looking to use github.com which does not lend itself to creating many organizations. so where we once had hundreds of ghe organizations, we would now have one large github.com organization and rely on github teams to represent "sub-organizations" within the company.

currently, i am only aware of a regular/wild-card expression type match to filter repos for inclusion into a github-org.

my new feature suggestion for this plugin would be to allow for one or more alternate strategies to identify repos from an org for inclusion in a github-org construct, for instance, one obvious strategy comes to mind which is the association of a repo with a team.

another option could be regular/wild-card expression match for a string found in a particular file name (e.g. `github-org.dat`).

these would be alternate strategies for filtering repos for an org when filtering off repo name is not practical for some reason.

 

 

---
Originally reported by tony_k, imported from: strategies for sub-dividing a github-org into different folders


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

we have historically used github-enterprise (ghe) which is more liberal about creating distinct organizations, recently our company is looking to use github.com which does not lend itself to creating many organizations. so where we once had hundreds of ghe organizations, we would now have one large github.com organization and rely on github teams to represent "sub-organizations" within the company.

currently, i am only aware of a regular/wild-card expression type match to filter repos for inclusion into a github-org.

my new feature suggestion for this plugin would be to allow for one or more alternate strategies to identify repos from an org for inclusion in a github-org construct, for instance, one obvious strategy comes to mind which is the association of a repo with a team.

another option could be regular/wild-card expression match for a string found in a particular file name (e.g. `github-org.dat`).

these would be alternate strategies for filtering repos for an org when filtering off repo name is not practical for some reason.

 

 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.