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

Guidance on package archiving (Zenodo &co) #156

Open
maelle opened this issue May 14, 2019 · 13 comments
Open

Guidance on package archiving (Zenodo &co) #156

maelle opened this issue May 14, 2019 · 13 comments
Assignees
Milestone

Comments

@maelle
Copy link
Member

maelle commented May 14, 2019

@noamross, you wrote "Archiving - eventually making sure all RO packages go to a scientific repository, not just JOSS packages." in https://discuss.ropensci.org/t/should-the-ropensci-dev-guide-include-package-citation-best-practices/1551/4

How should our guidance about that look like? Recommend setting up Zenodo integration + adding last DOI badge? There's no helper for that right?

And then how to add that latest DOI in the CITATION file automatically? cf also #115

@maelle maelle added this to the 0.3.0 milestone May 14, 2019
@maelle
Copy link
Member Author

maelle commented May 15, 2019

In the current approval template there's

<IF JOSS>
- [ ] Activate Zenodo watching the repo
- [ ] Tag and create a release so as to create a Zenodo version and DOI
- [ ] Submit to JOSS using the Zenodo DOI.  We will tag it for expedited review.
<IF JOSS/>

We could make it

- [ ] Activate Zenodo watching the repo
- [ ] Tag and create a release so as to create a Zenodo version and DOI
- [ ] Add a latest DOI badge to your README and create a CITATION file blablabla.
<IF JOSS>
- [ ] Submit to JOSS using the Zenodo DOI.  We will tag it for expedited review.
<IF JOSS/>

It'd be actually a bit complicated if we were to recommend something else than Zenodo for archiving: some repos would end up with two types of archiving if they were submitted to JOSS.

@noamross
Copy link
Contributor

This seems fine, but I think a better way to in the medium term would be for us to do this, preferably in an automated way. Like, after repo transfer, a single post-approval button should make Zenodo archiving happen, build the docs, etc. (Relatedly we could run some sort of check to make sure CRAN releases after acceptance are also tagged/archived.)

@maelle
Copy link
Member Author

maelle commented May 15, 2019

The docs are now built centrally, for each push after repo transfer (very new system though).

Wouldn't the authors want to own the Zenodo thing? And even if we made the archiving happen, it'd be on the authors to add a badge?

@noamross
Copy link
Contributor

Yes, authors should control their own Zenodo record. I just hate piling more tasks on rather than automating them away. Does Zenodo read codemeta.json files yet? If not, maybe rodev can import codemetar and generate both the codemeta and .zenodo.json files? Could it then also insert the badge and make the citation file?

@maelle
Copy link
Member Author

maelle commented Jun 18, 2019

I don't think Zenodo reads Codemeta yet cc @cboettig

Even if creating a .zenodo.json there'd be something to activate over at Zenodo, correct?

Automatically inserting the badge will only work fully automatically if the README has markers for the badges paragraph but the function could use usethis::use_badge() that gives an informative message when the badge needs to be added by hand. How would one know what ID to have in the badge? I guess that it's related to my question in the previous paragraph + the R tooling for Zenodo API. 🤔

@maelle
Copy link
Member Author

maelle commented Jun 19, 2019

Postponing this until we get/make an up-to-date Zenodo R client.

@maelle maelle modified the milestones: 0.3.0, 0.4.0 Jun 19, 2019
@maelle maelle removed this from the 0.4.0 milestone Jan 30, 2020
@maelle
Copy link
Member Author

maelle commented Sep 11, 2020

@maelle
Copy link
Member Author

maelle commented Nov 30, 2020

R package + PR bot?

@maelle maelle added this to the 0.8.0 milestone Nov 15, 2021
@maelle
Copy link
Member Author

maelle commented Jan 10, 2022

The topic of package archiving is related to the topic of package citation.

cc @mpadge

@maelle maelle changed the title Guidance on package archiving Guidance on package archiving (Zenodo &co) Apr 8, 2022
@mpadge
Copy link
Member

mpadge commented May 9, 2022

I think that this issue is best postponed for now and merged with development of ropenscilabs/deposits. I'll open a parallel issue there for a single function which authors can then call locally to automatically create the zenodo deposit. Until then, milestone will be bumped to 0.9.

@maelle
Copy link
Member Author

maelle commented Nov 8, 2022

@mpadge could your current work on deposits help with this or should we shift this to a later milestone?

@mpadge
Copy link
Member

mpadge commented Nov 9, 2022

Yes, please shift to a later milestone. Thanks

@maelle maelle modified the milestones: 0.9.0, 1.0.0 Nov 10, 2022
@maelle
Copy link
Member Author

maelle commented Dec 12, 2023

@mpadge any update on this?

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

No branches or pull requests

3 participants