Skip to content
Snippets Groups Projects
Commit de550cfb authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: improve builtin-pho html output


Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent b7cd4a28
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ convert_db_output_to_html() {
# remove empty lines
sed -i '/^$/d' $1
# use sed to turn psql output into html
cat $1 | tr -d ' ' | sed -E "s/([^|]*)(.*)/<a href=\"https:\/\/tracker.debian.org\/\1\">\1<\/a> <a href=\"https:\/\/packages.debian.org\/$SUITE\/\1\">binaries (\2)<\/a> <a href=\"https:\/\/buildinfos.debian.net\/\1\">.buildinfo<\/a>/g" | tr -d '|' > $2
cat $1 | tr -d ' ' | sed -E "s/([^|]*)(.*)/src:<a href=\"https:\/\/tracker.debian.org\/\1\">\1<\/a> pkgs:<a href=\"https:\/\/packages.debian.org\/$SUITE\/\1\">\2<\/a> \/ <a href=\"https:\/\/buildinfos.debian.net\/\1\">.buildinfo<\/a>/g" | tr -d '|' > $2
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment