Commit 0b4cb6a2 authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: update for salsa (untested, might still be broken, as it parse HTML output…)

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent b3200bc9
#!/bin/bash
# vim: set noexpandtab:
# Copyright 2015-2017 Holger Levsen <holger@layer-acht.org>
# Copyright 2015-2018 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
......@@ -156,12 +156,12 @@ for PKG in $SOURCEPKGS ; do
write_row "<tr><td><pre>src:$PKG</pre></td>"
write_row " <td>"
GIT="$PKG.git"
URL="https://anonscm.debian.org/git/reproducible/$GIT/?h=pu/reproducible_builds"
URL="https://salsa.debian.org/reproducible-builds/packages/$PKG/tree/pu/reproducible_builds"
custom_curl $URL $TMPFILE
if [ "$(grep "'error'>No repositories found" $TMPFILE 2>/dev/null)" ] ; then
write_row "<span class=\"red\">no git repository found:</span><br />$URL"
elif [ "$(grep "'error'>Invalid branch" $TMPFILE 2>/dev/null)" ] ; then
URL="https://anonscm.debian.org/git/reproducible/$GIT/?h=merged/reproducible_builds"
URL="https://salsa.debian.org/reproducible-builds/packages/$PKG/tree/merged/reproducible_builds"
custom_curl $URL $TMPFILE
if [ "$(grep "'error'>Invalid branch" $TMPFILE 2>/dev/null)" ] ; then
if ! $OBSOLETE_IN_SID ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment