Closed tangollama closed 4 years ago
If the API tells us this, update the project data accordingly for this initial launch.
We can get this data from the GraphQL API, but I don't think the REST one, which is what the original scripts for project
generation was based off of.
I've added the license info to the project-stats
Gatsby schema in 069d032.
Updated project-stats
files in 8695f89.
The way the scripts are setup it is not possible to take it from GraphQL and put it into the project
data. They run independently from each other.
We could:
project
vs. project-stats
and just be fine with this residing in project-stats
project
generation part of the script to utilize GraphQL instead of REST, shouldn't be that hard, and although a downside to it might be its one-time use, it's possible we could utilize it as a simpler way for users to add their repository to the project by exposing it in a way to auto-generate the project.json file before they hand-edit and tweak the data in it.@jbeveland27 Is going to switch the "generate projects" script from REST -> GraphQL, this should simplify the scripts a bit and provide us what we need where we need it.
I'll add the license info into the UI somewhere and @danielgolden can adjust placement/formatting/style.
Shifted it up into the place where the support section used to live
I think this issue is ready to close. What do you thin, @jbeveland27?
Yep, this is good to close. I created a new issue to track the remaining work I'm doing with the project-stats generation, but that's somewhat tangental to this issue.
We'll need to add metadata to the project file. Example: