-
Notifications
You must be signed in to change notification settings - Fork 21
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
Generate a codmeta.json for arbitrary github repo (via GitHub API crosswalking) #20
Comments
on any GitHub repo or on an R package GitHub repo? |
Am assigning myself since I will need sthg like that for the registry 👼 |
would you want to do that without cloning the repo, @cboettig? If we clone the repo, a complete codemeta.json can be generated though, probably not what you had in mind? |
Would just be queries to the GitHub API -- e.g. collaborators, name, description, codRepository, programmingLanguage, maybe license, maybe version, maybe a few others |
And now I think I understand better, this would be a new function, for a new use case which is absolutely not specific to repos that are R packages. 👍 Any name ideas for that function? And any collection of repos you'd like to see this applied to? Maybe something linked to a repo topic, e.g. finding all repos with the "json-ld" topic? |
Technically the function could work on any GitHub repo, regardless of the topic. Maybe something like If you're looking for an interesting case-study though, it would make more sense to get the |
Of course! But I thought it'd be a cool meta example of the usage of this function. 😉 What about I'm not sure I follow, how would I get a list of repos associated to DataCite |
See https://search.datacite.org/works?resource-type-id=software&query= I think this should be accessible from the DataCite API / Content Negotiation as well. We could always bug @mfenner ;-) I like |
@cboettig what advantages would this approach have other cloning the repo? That it'd work for something else than R packages? (I'm also wondering how useful this would be) |
👋 @cboettig is this issue still "valid"? |
It would be great to have a function which could operate on any github repo to generate at least a rough
codemeta.json
file from whatever information was returned by the GitHub API (basically what the current import to zenodo does).The text was updated successfully, but these errors were encountered: