diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2019-08-28 11:31:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-08-28 18:52:51 +0200 |
commit | 8146c48632d39670afa7a8ec08a8891cc78d2b38 (patch) | |
tree | 71564d70e3fa21224d0ccc3af24d5ab2af3239ce /TODO | |
parent | b8815c5ec4ee70c535693031072447671c1b781f (diff) | |
download | guix-8146c48632d39670afa7a8ec08a8891cc78d2b38.tar.gz guix-8146c48632d39670afa7a8ec08a8891cc78d2b38.zip |
swh: Correctly handle visits without a snapshot.
As discussed at
<https://sympa.inria.fr/sympa/arc/swh-devel/2019-08/msg00016.html>.
* guix/swh.scm (string*): New procedure.
(<visit>)[snapshot-url]: Pass 'string*' as the conversion procedure.
[status]: Pass 'string->symbol' as the conversion procedure.
(visit-snapshot): Return #f when 'visit-snapshot-url' returns #f.
(lookup-origin-revision): Filter to visits for which
'visit-snapshot-url' is true.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions