general cleanup and new frontpage content, yay
[iankelling.org] / gitweb-descriptions
index 58aecdb6a9388d002722aaba720c9908a95c7f8a..f96802850811ebf1e806af6c76967072b4f1ea9a 100755 (executable)
@@ -22,7 +22,7 @@
 # else, parse the readme, find the first non blank, not starting with [#*],
 # and use that line.
 
-source /a/bin/errhandle/err
+set -e; . /usr/local/lib/bash-bear; set +e
 
 if [[ ! $1 ]]; then
   echo "need gitroot arg"
@@ -59,6 +59,12 @@ gitweb-descriptions() {
     if [[ ${personalized[${d##*/}]} ]]; then
       echo "$pcategory" >.git/category
     fi
+    if [[ ${unmaintained[${d##*/}]} ]]; then
+      echo "$ucategory" >.git/category
+    fi
+    if [[ ${historicalarchive[${d##*/}]} ]]; then
+      echo "$hcategory" >.git/category
+    fi
     f=(!(LICENSE|COPYING|README|.git))
     if [[ ${#f[@]} == 1 && ! -d $f ]]; then
       if [[ ! -x $f ]]; then
@@ -91,6 +97,25 @@ declare -A personalized
 for p in ${tmp[@]}; do personalized[$p]=true; done
 pcategory="Personalized for my use. Useful as examples or to copy specific parts"
 
+tmp=(
+  bbdb-csv-import
+  evhz
+  )
+ucategory="I don't use these anymore, they may or may not work, patches welcome"
+declare -A unmaintained
+for p in ${tmp[@]}; do unmaintained[$p]=true; done
+
+tmp=(
+  bash-template
+  debian-auto-update
+  fdroidcl-up
+  mediawiki-setup
+  mediawiki-librejs-patch
+  mediawiki-sidebar-patch
+)
+hcategory="Historical archive. They don't work or have been superseded."
+declare -A historicalarchive
+for p in ${tmp[@]}; do historicalarchive[$p]=true; done
 
 dirs=()
 for d in $gitroot/*; do