[misc] 03/05: Drop changes2buildinfo

Chris Lamb chris at chris-lamb.co.uk
Wed Nov 1 20:40:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository misc.

commit e970f41c288d27ae2f99512c1d84b3a1392a0e76
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Nov 1 21:37:28 2017 +0100

    Drop changes2buildinfo
---
 changes2buildinfo | 43 -------------------------------------------
 1 file changed, 43 deletions(-)

diff --git a/changes2buildinfo b/changes2buildinfo
deleted file mode 100755
index dc6e594..0000000
--- a/changes2buildinfo
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/awk -f
-
-# Stupid and harsh script to transform .changes into an incomplete .buildinfo.
-# Just good enough to start experimenting some more with an `srebuild` script.
-
-/^[^ ]/ {
-  stanza = 0;
-}
-/^Format:/ {
-  print $0;
-  next;
-}
-/^Source:/ {
-  print $0;
-  next;
-}
-/^Binary:/ {
-  print $0;
-  next;
-}
-/^Architecture:/ {
-  gsub(/ source /, " ");
-  print $0;
-  gsub(/Architecture:/, "");
-  gsub(/ all /, "");
-  architecture = $0;
-}
-/^Checksums-Sha256:/ {
-  stanza = 1;
-  print $0;
-  next;
-}
-/^ / {
-  if (stanza) {
-    print $0;
-  }
-  next;
-}
-END {
-    print "Build-Architecture: " architecture
-    print "Build-Environment:";
-    print "# TODO!";
-}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list