]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
CHANGELOG update
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 23:33:05 +0000 (23:33 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 23:33:05 +0000 (23:33 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@271 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/src/jail-commit
trunk/src/templatepkg

index 270379df62f2e6d1ae319c22913cfb8e6060be96..5a3949f24b718125f6c8e5af7f89e0845db9e547 100644 (file)
@@ -4,9 +4,9 @@ simplepkg changelog
 0.5pre1
 =======
 
-  - repos: cosmetic changes
+  Lots of changes!
 
-  - jail-commit warning for file not found
+  - repos: cosmetic changes
 
   - lspkg:
     - support for $ROOT env variable
@@ -33,12 +33,32 @@ simplepkg changelog
       - /etc/simplepkg/templates/template_name.template
       - /etc/simplepkg/templates/template_name/template_name.template
 
-  - jail-update renamed to jail-commit
+  - jail-update
+    - old script renamed to jail-commit
+    - now update a jail from a template
+    - svn repository support
+
+  - jail-commit
+    - new script, commit changes from a jail to the templates
+    - svn repository support
 
   - templatepkg:
-    -a option changed to add files into a template
-    -u option now updated a template
+    - major rewrite
+    - svn repository support
     - now supports a tagfile or slack-required as a template
+    - new/changed options
+      -c | --create: improvements
+      -a | --add: changed to add files into a template
+      -u | --update: update a template
+      -d | --delete: delete files or folders from a template
+      -s | --sync: sync /etc/simplepkg/templates working copy
+      -e | --export: export /etc/simplepkg/templates to a svn repository
+      -i | --import: grab /etc/simplepkg/templates from a svn repository
+      -r | --remove: remove a template
+      -l | --list: list templates
+      -p | --post-install: add or edit post-installation scripts
+      -t | --template-edit: edit template package list
+      -h | --help: display this summary
 
 0.4.9pre18-23
 =============
index 9e2a031ff850cf5e73cbb66630d8ede80106412d..1d5de09aacfe76f307c78db2d0cfd37a15650ca9 100755 (executable)
@@ -30,9 +30,9 @@ fi
 function usage {
 
   echo $BASENAME: commit a jail configuration into a template
-  echo "usage: $BASENAME [<jail-path> [template]]"
-  echo "       $BASENAME --all to commit all templates"
-  echo "       $BASENAME --help for help"
+  echo "usage: \'$BASENAME [<jail-path> [template]]\'"
+  echo "       \'$BASENAME --all\' to commit all templates"
+  echo "       \'$BASENAME --help\' for help"
 
 }
 
@@ -138,8 +138,10 @@ elif [ "$1" == "--all" ]; then
 elif echo $1 | grep -q -e "^--"; then
   usage
 elif [ ! -z "$1" ]; then
+  echo "This is jail-commit; Run \'$BASENAME --help\' for help"
   do_commit $1 $2
 else
+  echo "This is jail-commit; Run \'$BASENAME --help\' for help"
   if [ -f $JAIL_LIST ]; then
     for jailpath in `cat $JAIL_LIST`; do
       do_commit $jailpath
index 858911d163ab53a490711fe6d1c09b83cd3333a4..097ff1b4f805781e8c81d051e24feeed3da83a6c 100755 (executable)
@@ -60,7 +60,7 @@ function usage {
   echo ""   
   echo "      $BASENAME -e <svn-repository>"
   echo ""   
-  echo "  -i | --import: grab /etc/simplepkg/templates from a svn repository:"   
+  echo "  -i | --import: grab $BASE_CONF/templates from a svn repository:"   
   echo ""   
   echo "      $BASENAME -i <svn-repository>"
   echo ""   
@@ -562,7 +562,7 @@ function template_post_install_edit {
       vi $TEMPLATE_BASE.s/$1
     fi
     if [ "$sha1sum" != "`sha1sum $TEMPLATE_BASE.s/$1`" ]; then
-      echo $BASENAME: please run jail-commit to send changes to the repository
+      echo $BASENAME: please run \'jail-commit --all\' to send changes to the repository
     fi    
   else
 
@@ -574,7 +574,7 @@ function template_post_install_edit {
       if [ -d "$TEMPLATE_BASE.s/.svn" ]; then
         cd $TEMPLATE_BASE.s
         svn add $1
-        echo "$BASENAME: please run jail-commit to send the script to the repository"
+        echo "$BASENAME: please run \'jail-commit --all\' to send the script to the repository"
       fi
 
       echo "$BASENAME: script created; run templatepkg -p `basename $TEMPLATE_BASE` $1 again to edit it"
@@ -600,7 +600,7 @@ function template_edit {
       vi $TEMPLATE_BASE.template
     fi
     if [ "$sha1sum" != "`sha1sum $TEMPLATE_BASE.template`" ]; then
-      echo $BASENAME: please run jail-commit to send changes to the repository
+      echo $BASENAME: please run \'jail-commit --all\' to send changes to the repository
     fi
   else
     echo $BASENAME: file not found: $TEMPLATE_BASE.template