[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #15969] Automatically saving on SoftwareHeritage
From: |
Mohammad Akhlaghi |
Subject: |
[task #15969] Automatically saving on SoftwareHeritage |
Date: |
Wed, 19 May 2021 20:04:10 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0 |
URL:
<https://savannah.nongnu.org/task/?15969>
Summary: Automatically saving on SoftwareHeritage
Project: Reproducible paper template
Submitted by: makhlaghi
Submitted on: Thu 20 May 2021 01:04:08 AM BST
Should Start On: Thu 20 May 2021 12:00:00 AM BST
Should be Finished on: Thu 20 May 2021 12:00:00 AM BST
Category: Software
Priority: 5 - Normal
Status: Postponed
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Details:
SoftwareHeritage provides an API
<https://archive.softwareheritage.org/api/1/origin/save/doc/> to automatically
trigger a request updating its archived version of a code (without visiting
the webpage).
Within a Maneage'd project, the author will set their top repository URL in
the 'metadata-git-repository' variable of their
'[reproduce/analysis/config/metadata.conf' (for example see the Maneage
paper's metadata.conf
<http://git.maneage.org/paper-concept.git/tree/reproduce/analysis/config/metadata.conf>.
So it is easy to add an option to the high-level './project' script for
requesting an update on SoftwareHeritage when this variable isn't empty, maybe
something like:
./project --save-swh
I am a little busy right now, so I won't get to implement it immediately. But
if anyone would like to give it a try, please go ahead. Otherwise we'll
implement it some time in the near future...
Once implemented, public projects (after submission to arXiv) can call it
immediately with a 'git push' like this:
git push && ./project --save-swh
This API was introduced to me by Morane Gruenpeter (Metadata specialist at
SoftwareHeritage). Thanks Morane, this is a great feature ;-)!
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/task/?15969>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [task #15969] Automatically saving on SoftwareHeritage,
Mohammad Akhlaghi <=