aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-27 03:20:33 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-27 03:20:33 +0200
commit647c570a813767d237e379ae35779f79e8e79198 (patch)
tree5c3beb7b14b170c9b14948c50ed8149e5714572e /skate
parentbba89d100b21eba99d9aacc4091a362f6931f773 (diff)
downloadrefcat-647c570a813767d237e379ae35779f79e8e79198.tar.gz
refcat-647c570a813767d237e379ae35779f79e8e79198.zip
hack: to accomodate verify
Diffstat (limited to 'skate')
-rw-r--r--skate/zippy.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/skate/zippy.go b/skate/zippy.go
index 5c70902..b36af6c 100644
--- a/skate/zippy.go
+++ b/skate/zippy.go
@@ -181,6 +181,10 @@ func ZippyVerifyRefsOnly(releases, refs io.Reader, w io.Writer) error {
if re, err = stringToRelease(cut(line, "\t", 2)); err != nil {
return err
}
+ // The refs have a container name, but not a title, but here we
+ // compare against titles from open library.
+ re.Title = re.ContainerName
+
result := Verify(pivot, re)
fmt.Printf("%s\t%s\t%s\t%s\t%s\n",
result.Status.Short(),