-
Notifications
You must be signed in to change notification settings - Fork 193
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
Pattern idea: Common metadata format to aid discovery of Inner Source projects #117
Comments
I'd like to see |
More prior art: Description of a Project (DOAP); an example in the wild |
I am inclined to follow existing standards where available; specifically, there's already a standard for the metadata file name in my org with some of the similar entries (i.e., technologies). |
I am not sure I am a fan of another data container. Would it not make sense to have the metadata describing the project/repo in the top part of the readme? Secondly, I am also not convinced tracking the maintainers in a file is a good idea as people in general are not particularly good in updating things like that. I would rather suggest to use the APIs of infrastructure (GitHub, GitLab.. etc) instead. Keeping authors in the individual file headers like it is done in open source projects is what should be done for InnerSource as well IMHO (should you care about that information within your company). Let's avoid introducing more concepts if there is already a concept that fits the scenario.. |
Not a huge fan of adding too many meta data files to a repo. Ideally all public repos in a company are Inner source projects, but this is not always the case. Inflight of that I think explicitly registering your project may be an idea. See #118 |
For a similar purpose, SAP's reference implementation of the InnerSource Portal proposes an @Michadelic could you elaborate a bit out why you chose the given approach, and how it has been working out for you so far? The approach with that metadata could indeed be an extension of the InnerSource Portal pattern, or even a new pattern on it's own. |
Sure, instead of self-registering with a central service as described in #118 we use a decentralized approach with GitHub topics and local metadata checked into the project (similar to a package.json descriptor for nodejs projects). The crawler checks all repos with the topic and optionallly loads the The advantage with this approach is that the metadata is under full control of the repo owner and can be modified very easily. It is technology-agnostic and flexible as well, we can also add new fields on top if needed. Self-registering with a GitHub topic and creating the file does not take more that a couple of minutes. We do have a significant increase of projects registering since we have this simple but effective mechanism in place. More infos about the metadata structure: |
@tsadler1988 given the conversations in this issue, do you have a preferred path forward? Options that I can think of right now:
|
Also FYI this is the latest syntax definition of SAP's |
Following on from a conversation in the ISC Slack, would a metadata file added to Inner Source repos in source control (e.g.
inner-source.json
orinner-source.yaml
) aid discovery of Inner Source repos within an organisation? If so, should we define a common format for this metadata?Alternatively, should this information be derivable from your SCM tool (GitHub/GitLab/Bitbucket etc.)? This would negate the need to add a file to each inner source repo in your organisation.
One suggested format:
Prior art:
The text was updated successfully, but these errors were encountered: