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

Can we automatically generate data/projects/all.json from GitHub APIs on a frequency? #25

Open
madpah opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@madpah
Copy link
Contributor

madpah commented Sep 3, 2024

💡Dropping this here as an idea to save us a heap of manual maintenance.

@hboutemy @eddie-knight - thoughts and comments appreciated.

Projects listed on contribute.sonatype.com are driven by the content in data/projects/all.json currently.

Can we generate this from GitHub API calls?

JSON is currently an Array of Projects where a Project has the structure:

JSON Path Mandatory Type Purpose ^1 GItHub Mapping ^2
.name string Human Readable Project Name TBC
.image string Image as located in ./assets/images directory TBC
.description string Human Readable Project description GitHub Repository Description - e.g. Sonatype's CLA bot - affectionally known as Paul Botsco
.active boolean Is the project currently active? GitHub Repository Custom Field - Project-Status
.flagship boolean Is the project currently denoted as Flagship project? GitHub Repository Custom Field - Flagship-Project
.graduated boolean Has the project graduated to be official Product? GitHub Repository Custom Field - Project-Status
.graduated_link string Link to official production documentation if project is graduated TBC
.repository string GitHub Repository name GitHub Repository name - e.g. community-handbook.sonatype.com
.works_with.ossindex boolean Does this project work with Sonatype OSS Index TBC
.works_with.sonatype_lifecycle boolean Does this project work with Sonatype Lifecycle TBC
.tags[] string[] Array of arbitrary tag strings GitHub Repository Topics
.other_links[] object[] Optional list of other links to render in project card footer TBC
.other_links[].image string Image as located in ./assets/images directory TBC
.other_links[].title string Link title TBC
.other_links[].url string Link destination TBC

Footnotes

  1. Based on community-handbook.sonatype.com implementation as of 03-Sep-2024
  2. Based on our Community Guideliness as of 03-Sep-2024
@madpah madpah added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant