Citable Code #81
Merged
n
merged 4 commits from ivan-paleo/Documentation:citable-code
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'ivan-paleo/Documentation:citable-code'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Added some details on how to make your code (repo) citable.
As usual, open to comments and feedback!
What an interesting topic - thank you for introducing it and writing this great article on the topic :)
As usual, you'll find a few remarks below:
key: CitableCode
title: Citable Code
parent: Collaborating
order: 3
For articles in sections that are not a step-by-step guide, let's not use
order
.That makes it easier to find articles in the menu once alphabetical sorting is implemented -> #85.
order: 3
---
The easiest way to share your code is obviously to send/post the URL of your repository. But this is not really viable in the long run becaue URLs can change.
Wording suggestions:

In the new page, enter a version, select the branch, add a title and a description:
Suggested wording "choose a version number for your new release" because "enter a version" suggests the version already exists.Maybe also "select the branch that contains the code that you want to release"It's even more complicated - its either choosing an existing Git tag or creating a new one from the latest commit.
Right away, I don't know of a more elegant way of writing it though.
I think that your suggestion is still better than what I wrote. In any case, it constitutes a good starting point for future improvements.
Maybe we should consider adding details about releases in a separate documentation article (we would then link to it in this article about citable code).
That's a good idea -> I created issue nr. #88 for that

You can either save as a draft, or publish the release already.
already -> outright
## Download the ZIP archive
If you did create a release, download the ZIP archive of the source code on the `Releases` tab of your repository, as shown in the previous screenshot.
If not, you can simply download the ZIP archive of the repository (see section Clone in [Clone & Commit via Web](/content/git/clone-commit-via-web)).
Please remove the
/content
prefix from your link.## Upload the ZIP archive to an online repository
There are many online repositories made specifically for research, e.g. [Zenodo](https://zenodo.org/), [Figshare](https://figshare.com/), [Dryad](https://datadryad.org/), [OSF](https://osf.io/)... Others might be more appropriate for other uses.
Upload the ZIP archive to one of them and follow the steps there to assign a DOI. Be sure that you add the URL of your Codeberg repository in the information of the record on the online repository, so that every one accessing the record can easily find your Codeberg repository (and you!). In general, add as much information as applicable.
Typo: every one -> everyone
Upload the ZIP archive to one of them and follow the steps there to assign a DOI. Be sure that you add the URL of your Codeberg repository in the information of the record on the online repository, so that every one accessing the record can easily find your Codeberg repository (and you!). In general, add as much information as applicable.
> WIP: An interface between Zenodo and Codeberg is currently being considered. This would make the process smoother.
Hehe, I threw the idea around, yes - but that's nothing "official" 😉
We should rephrase that to: "It should be possible to write an integration between Codeberg and one of the DOI repositories to make citing code a lot smoother. If you're interested, you may want to have a look at Codeberg/Community#295"
> WIP: An interface between Zenodo and Codeberg is currently being considered. This would make the process smoother.
## Share the DOI
Finally, get the DOI from the online repository. This is the permanent URL you can share and use for citation without any risk.
Let's drop "without any risk" and replace it with "in scientific writing".
That is, because statements like "without any risk" might be interpreted as an implied warranty (which we do not provide).
WIP: Citable Codeto Citable Code 2 years agoI have made the changes based on your comments.
I have also added the webP images!
Very nice! :) The only thing that needs to be changed as far as I'm concerned is the filename of
new-release.PNG
->new-release.png
, as in #78. Let's focus the discussion on the solution for the Windows-related filename casing issue in that PR.It should be fixed now. I'll pay attention to that issue next time!
Thanks! :) 👍
This now needs a second reviewer and can then be merged to master.
Looks good except for a small change.
Upload the ZIP archive to one of them and follow the steps there to assign a DOI. Be sure that you add the URL of your Codeberg repository in the information of the record on the online repository, so that everyone accessing the record can easily find your Codeberg repository (and you!). In general, add as much information as applicable.
> It should be possible to write an integration between Codeberg and one of the DOI repositories to make citing code a lot smoother. If you’re interested, you may want to have a look at Codeberg/Community#295
We should add a hyperlink to the issue here.
Thanks for the review! The hyperlink should be fixed now.
d2bc1a8c6d
into master 2 years agoThanks!
Reviewers
d2bc1a8c6d
.