[csw-devel] SF.net SVN: opencsw:[330] buildfarm/bin/send-catalog-update-notifications

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Feb 24 12:36:53 CET 2011


Revision: 330
          http://opencsw.svn.sourceforge.net/opencsw/?rev=330&view=rev
Author:   dmichelsen
Date:     2011-02-24 11:36:52 +0000 (Thu, 24 Feb 2011)

Log Message:
-----------
A cron job to send catalog update notifications

Added Paths:
-----------
    buildfarm/bin/send-catalog-update-notifications

Added: buildfarm/bin/send-catalog-update-notifications
===================================================================
--- buildfarm/bin/send-catalog-update-notifications	                        (rev 0)
+++ buildfarm/bin/send-catalog-update-notifications	2011-02-24 11:36:52 UTC (rev 330)
@@ -0,0 +1,32 @@
+#!/opt/csw/bin/bash
+
+# /home/web/bin/send-catalog-update-notifications
+
+export PATH=/opt/csw/bin:/usr/bin
+
+# Sending catalog update notifications
+
+# 
+# Usage: catalog_notifier.py [options]
+# 
+# Options:
+#   -h, --help            show this help message and exit
+#   -u URL, --url=URL     Base URL of OpenCSW catalog
+#   -d, --debug           
+#   -s, --send-notifications
+#   -p PICKLE_FILE, --pickle-file=PICKLE_FILE
+#                         Pickle file
+#   -w WHITELIST, --whitelist=WHITELIST
+#                         E-mail address whitelist, comma separated
+# web at web [web]:~/bin/gar > echo !!                                              
+# echo /home/web/bin/gar/lib/python/catalog_notifier.py --help
+# /home/web/bin/gar/lib/python/catalog_notifier.py --help
+
+/home/web/bin/gar/lib/python/catalog_notifier.py \
+   --url http://mirror.opencsw.org/opencsw/ \
+   -p /home/web/official-catalog-state.pickle \
+   --send-notifications
+/home/web/bin/gar/lib/python/catalog_notifier.py \
+   --url http://mirror.opencsw.org/opencsw-future/ \
+   -p /home/web/future-catalog-state.pickle \
+   --send-notifications


Property changes on: buildfarm/bin/send-catalog-update-notifications
___________________________________________________________________
Added: svn:executable
   + *


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list