working on a way to get the source forge copy of feisty meow to
authorChris Koeritz <fred@gruntose.com>
Thu, 21 Mar 2013 23:07:20 +0000 (19:07 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 21 Mar 2013 23:07:20 +0000 (19:07 -0400)
automatically update.

database/configuration/cron/swim_upstream.crontab [new file with mode: 0644]
scripts/rev_control/push_repo_upstream.sh

diff --git a/database/configuration/cron/swim_upstream.crontab b/database/configuration/cron/swim_upstream.crontab
new file mode 100644 (file)
index 0000000..c4b9b9c
--- /dev/null
@@ -0,0 +1,14 @@
+
+SHELL=/bin/bash
+
+# this cron job updates the feisty meow repository on source forge based on
+# the real one at feistymeow.org.
+
+# m h dom mon dow command
+
+USER=fred
+
+# update the source code to the latest, every day at 3am or so.
+14 */2 * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/rev_control/push_repo_upstream.sh $HOME/repos/sf-feistymeow-trunk ) &>>/tmp/zz_nechung_fortune_$USER.log
+
+
index 6210277e7a3eeb29490f3e0bb42c371a3c56906c..13e8ba0e0232e197b272da076b247cc6f7f3a30b 100755 (executable)
@@ -14,6 +14,10 @@ dir="$1"; shift
 if [ -z "$dir" ]; then
   dir=.
 fi
+certfile="$1"; shift
+if [ -z "$certfile" ]; then
+  certfile=$HOME/.ssh/id_dsa_sourceforge
+fi
 
 pushd "$dir"
 git fetch upstream