GNU bug report logs -
#43442
Code stored with Subversion (SVN) cannot be retrieved from SWH
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Wed, 16 Sep 2020 08:15:01 UTC
Severity: important
Tags: patch
Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 43442 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
On Fri, 25 Sep 2020 at 10:56, Ludovic Courtès <ludo <at> gnu.org> wrote:
> Note that the original svn revision number is discarded, AFAICS.
No, it is not... but to find it one needs a bit of guidance by SWH folks. :-)
1. With the URL, fetch:
https://archive.softwareheritage.org/api/1/origin/https://scm.gforge.inria.fr/anonscm/svn/mpfi/visit/latest/
2. From #1 one gets 'snapshot' and fetch:
https://archive.softwareheritage.org/api/1/snapshot/e7fdd4dc6230f710dbc55c1b308804fa1b5f51f0/
3. From #3, one gets the 'target' and fetch:
https://archive.softwareheritage.org/api/1/revision/f7b445a6bdc38bf075f29265120ca49824f698ea/log/
And #3 lists all the revisions in SWH.
Well, this should be enough for the saving request. WDYT?
However, it is not clear how to fetch cooking from the vault. To be
continued...
Cheers,
simon
This bug report was last modified 1 year and 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.