[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[p-a-s/sid] Removed infrastructure to generate the web copies.



The repository moved from being something that is editied directly
to one that is updated by pushes into it, updating the web copies
after the new revisions reached it.  Thus the Makefile and the
script dumping the files from the various branches into real
files served by the web server moved into a generic binary
directory and out of this repository.
---
 Makefile          |    3 ---
 checkout-branches |   45 ---------------------------------------------
 2 files changed, 0 insertions(+), 48 deletions(-)
 delete mode 100644 Makefile
 delete mode 100755 checkout-branches

diff --git a/Makefile b/Makefile
deleted file mode 100644
index 6cd95a3..0000000
--- a/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-all:
-	./checkout-branches
-
diff --git a/checkout-branches b/checkout-branches
deleted file mode 100755
index e770c43..0000000
--- a/checkout-branches
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash -e
-
-BASE_PATH="/org/buildd.debian.org/etc/packages-arch-specific"
-
-export GIT_DIR="${BASE_PATH}/.git"
-CHECKOUT_PATH="${BASE_PATH}/checkout"
-
-if [ ! -d "${CHECKOUT_PATH}" ]
-then
-	mkdir "${CHECKOUT_PATH}"
-fi
-
-process_branch() {
-	branch="$1"
-
-	echo "I: checking out copy for ${branch}"
-
-	target_dir="${CHECKOUT_PATH}/${branch}"
-	target_file="${target_dir}/Packages-arch-specific"
-
-	if [ ! -d "${target_dir}" ]
-	then
-		echo "W: creating checkout directory for ${branch}"
-		if ! mkdir "${target_dir}"
-		then
-			echo "E: mkdir failed for ${target_dir}, aborting!"
-			exit 1
-		fi
-	fi
-
-	if [ -f "${target_file}" -a ! -w "${target_file}" ]
-	then
-		echo "E: ${target_file} not writable, aborting!"
-		exit 1
-	fi
-
-	git cat-file blob "${head}:Packages-arch-specific" > "${target_file}"
-}
-
-git show-ref --heads | \
-	(while read hash branch
-	 do
-		process_branch "${branch##refs/heads/}"
-	 done)
-
-- 
1.5.6.5


Reply to: