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

Auto-add github resources #185

Closed
haesleinhuepf opened this issue Sep 3, 2024 · 5 comments · Fixed by #235
Closed

Auto-add github resources #185

haesleinhuepf opened this issue Sep 3, 2024 · 5 comments · Fixed by #235
Assignees

Comments

@haesleinhuepf
Copy link
Member

Similar to the automatic intake of meta-data from zenodo, we may want to have this for github-resources. The python github-API might be useful for this.

If a new issue is created, and the body is only a github link, we could read the meta data of the repository and send a pull-request to add it to our list of resource.

@SeverusYixin
Copy link
Collaborator

That was so funny, I can try it. Can you explain it in more detail, e.g. what kind of metadata we need?

@haesleinhuepf
Copy link
Member Author

Well, if you search for github repositories in our yml file, you should get an idea what kind of meta data we store currently. Not sure if all of it can be retrieved via API...

@SeverusYixin
Copy link
Collaborator

Hi @haesleinhuepf, I have a question, when submitting a url for a github rep, how should we define the type and tag? Or do we just leave them undefined?

Best regards,
Yixin

@haesleinhuepf
Copy link
Member Author

haesleinhuepf commented Oct 21, 2024

I think we should write something in there, at least for the content type (see documentation). Otherwise it wouldn't show up on the webpage. I asked git-bob what types other github entries have: #299

@SeverusYixin
Copy link
Collaborator

I think we should write something in there, at least for the content type. Otherwise it wouldn't show up on the webpage. I asked git-bob what types other github entries have: #299

Yes, that's why I'm asking you, because when I open the git repositories, I don't know where or what the types and tags definitions are. If I don't know them, I can't define them in the script.

And seems in the Zenodo links, also do not have types and tags definitions.

I will check them tomorrow and we can also discuss them, because I want to know the reasoning behind the classification of a "repo" as a type.

Btw, have a good evening ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants