[Debtags-commits] [svn] r1626 - tagdb
Enrico Zini
enrico at costa.debian.org
Thu Mar 2 14:46:35 UTC 2006
Author: enrico
Date: Thu Mar 2 14:46:35 2006
New Revision: 1626
Added:
tagdb/make-overrides
- copied unchanged from r1625, tagdb/sectdispatch
Removed:
tagdb/mkoverrides
tagdb/sectdispatch
Modified:
tagdb/process
Log:
Integrated generation of overrides into process
Modified: tagdb/process
==============================================================================
--- tagdb/process (original)
+++ tagdb/process Thu Mar 2 14:46:35 2006
@@ -385,6 +385,19 @@
done
}
+# Generate override files
+do_overrides() {
+ TMP=`mktemp -d`
+ mkdir $TMP/tags
+ HERE="`pwd`"
+ tagcoll --remove-unfaceted \
+ --remove-tags='special::not-yet-tagged* || special::invalid-tag || *::TODO || special::completely-tagged' \
+ copy $SVN | (cd $TMP/tags && "$HERE/make-overrides")
+ tar -zcf tags.tar.gz -C $TMP tags
+ rm -r $TMP
+ echo "Override archive created as tags.tar.gz"
+}
+
# Show some statistics about the work to do
do_stats() {
echo ""
@@ -425,7 +438,8 @@
*) echo " 4. Resume one of the $EDITCOUNT editing sessions"
;;
esac
- echo " 5. Statistics"
+ echo " 5. Create override files"
+ echo " 6. Statistics"
echo ""
echo " q. Exit"
echo ""
@@ -448,7 +462,10 @@
4) test $EDITCOUNT != 0 && do_review_edits
ANS=""
;;
- 5) do_stats
+ 5) do_overrides
+ ANS=""
+ ;;
+ 6) do_stats
ANS=""
;;
q) ANS=quit
More information about the Debtags-commits
mailing list