-
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
I151 use GitHub topics as keywords #152
Conversation
Appveyor build fail is very annoying but it's a false positive, many packages would apparently need to be reinstalled. |
Dear @maelle, Do I understand correctly, that this code combines the GitHub Topics and the manually specified I was initially thinking, that codemetar can copy the repo's topics into the Thanks and greetings :-) |
Yes keywords are not copied in DESCRIPTION, because the only reason to keep keywords in DESCRIPTION was to add them to codemeta.json, there's no other use cases for them that I know of? What do you think? Happy to hear any suggestions! I find that adding keywords as repo topics is more natural, and I'd be glad to add whatever the equivalent is on other platforms (Gitlab &co) |
I totally agree :-) Just wanted to double-check before I accidentally teach codemetar's approach to schema.org the wrong way around. Thanks a lot for the reply! I could imagine that it might in some cases be useful to populate both |
Thanks for starting the discussion! Currently I'd actually advise to store no keyword in DESCRIPTION when the repo is on GitHub. I was imagining that one could re-populate the place for topics on another platform (say Gitlab after a migration) from Cc @cboettig |
Hm, but most of ROpenSci's packages seem to contain |
I don't see any equivalent to github topics in gitlab (don't know about bitbucket). Do you? |
There are "tags" under a project's |
You mean auto-generating GitHub repo topics? No they can't but GitHub gives you suggestions. The way I've added topics to repos was using what I identified as keywords, and what other repos seem to be using (e.g. "rstats", "r" and "r-package" for R packages, and the different forms of library names for say If you mean auto-generating DESCRIPTION keywords from GitHub repo topics/codemeta.json, we don't have that yet. codemeta.json will contain the repo topics and the keywords from DESCRIPTION (removing duplicates) but things only work in this direction. We could add code to generate DESCRIPTION schema.org keywords from GitHub repo topics, but I'm just not sure it'd be useful? Since the only use of DESCRIPTION schema.org keywords is as far as I know to be fed into codemeta.json? I'm happy to have my mind changed though. 😉 |
I meant the latter: generating the
and that makes it IMHO the best place to define them manually, but only once :-)
Me neither. Presumably, Google can extract the GitHub topics directly. But seeing all the |
Not sure who added these X-schema.org stuff, was it you @sckott and how did you do that? |
Carl introduced me to them, so I just kept going with them - @cboettig would know more |
Yup, |
OK, thanks for explaining. But, they were added manually, or copy pasted, but not automatically transferred from some source (file or GitHub topics), correct? |
correct, they were added manually to the DESCRIPTION |
No description provided.