Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InnerSource Contributions labeler #96

Open
zkoppert opened this issue Apr 16, 2024 · 1 comment
Open

InnerSource Contributions labeler #96

zkoppert opened this issue Apr 16, 2024 · 1 comment
Labels
enhancement New feature or request new-action

Comments

@zkoppert
Copy link
Member

New Action request

Description

It would be helpful to be able to label contributions to a project that come from outside the owning team. This is beneficial for being able to recognize InnerSource practices and measure statistics related to that. This action could be combined with the issue-metrics action to get those statistics for issues/and PRs labeled as InnerSource. InnerSource in this case would be defined as contributions from a non-owner team within an organization. ie. When a feature team contributes to the observability tools on which they depend but do not own as an area of responsibility.

Additionally it may be helpful to "label" the repository with a Repository Topic so that it can be identified as a repository that practices InnerSource.

One complication that would need to be overcome here is the method by which a contribution is determined to be from a "non-owner" team. The tool could rely on several places to get ownership information:

  • Interface with Backstage API assuming that there is a Backstage instance that has a complete catalog of repos with ownership information
  • Codeowners file (If someone or a group they belong to is in the codeowners file then they could be considered an owner)
  • An org chart interface (API) (such as workday, etc.)
  • Other ideas? Open to thoughts here...
@zkoppert zkoppert added the enhancement New feature or request label Apr 16, 2024
@MaineC
Copy link

MaineC commented May 14, 2024

Some more ideas on how to get input on what should be considered outside contributions:

  • One could check which GitHub Team a contributor belongs to and if that team is something else than what the project belongs to. Knowing that some organisations use teams pretty much as tags added to user accounts, one could include a configuration option to white-list which teams count as valid contributor home team.
  • For monorepos (typically found in corporate code bases of companies founded in the early 2000s) the codeowners file needs to be evaluated to figure out exactly who is maintaining the component a contribution goes to as teams typically develop components side by side in the same repo, but ownership is not shared but separated between teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new-action
Projects
Status: Backlog
Development

No branches or pull requests

2 participants