X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=gitweb-descriptions;h=c9255f2e5cd85c83474c7fef82e84bf9f4e0467e;hp=58aecdb6a9388d002722aaba720c9908a95c7f8a;hb=refs%2Fheads%2Fmaster;hpb=35dea67c2f972fe7552820841f7c550129a6add0 diff --git a/gitweb-descriptions b/gitweb-descriptions index 58aecdb..f968028 100755 --- a/gitweb-descriptions +++ b/gitweb-descriptions @@ -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