[Debconf-video-commits] r704 - in package/trunk: conf/dc11 debian src

Ben Hutchings benh at alioth.debian.org
Sat Jul 23 16:23:15 UTC 2011


Author: benh
Date: 2011-07-23 16:23:15 +0000 (Sat, 23 Jul 2011)
New Revision: 704

Added:
   package/trunk/src/dc-move-recordings
Modified:
   package/trunk/conf/dc11/default-scratchy
   package/trunk/conf/dc11/default-selma
   package/trunk/debian/changelog
   package/trunk/debian/rules
Log:
Add dc-move-recordings script

Moves recordings from mixer to file server.

Define FILE_SERVER configuration variable for dc-move-recordings.


Modified: package/trunk/conf/dc11/default-scratchy
===================================================================
--- package/trunk/conf/dc11/default-scratchy	2011-07-23 16:21:36 UTC (rev 703)
+++ package/trunk/conf/dc11/default-scratchy	2011-07-23 16:23:15 UTC (rev 704)
@@ -17,3 +17,4 @@
 AUDIO_STREAM_KBPS=64
 # File store base directory
 FILE_BASE="/video"
+FILE_SERVER="barney"

Modified: package/trunk/conf/dc11/default-selma
===================================================================
--- package/trunk/conf/dc11/default-selma	2011-07-23 16:21:36 UTC (rev 703)
+++ package/trunk/conf/dc11/default-selma	2011-07-23 16:23:15 UTC (rev 704)
@@ -17,3 +17,4 @@
 AUDIO_STREAM_KBPS=64
 # File store base directory
 FILE_BASE="/video"
+FILE_SERVER="barney"

Modified: package/trunk/debian/changelog
===================================================================
--- package/trunk/debian/changelog	2011-07-23 16:21:36 UTC (rev 703)
+++ package/trunk/debian/changelog	2011-07-23 16:23:15 UTC (rev 704)
@@ -1,3 +1,11 @@
+debconf-video (20110723.1) unstable; urgency=low
+
+  * Add dc-move-recordings script: moves recordings from mixer to
+    file server
+  * Define FILE_SERVER configuration variable for dc-move-recordings
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Sat, 23 Jul 2011 18:22:14 +0200
+
 debconf-video (20110722.3) squeeze; urgency=low
 
   * Make all room names match and update hostnames to lisa.dc11.dc.org

Modified: package/trunk/debian/rules
===================================================================
--- package/trunk/debian/rules	2011-07-23 16:21:36 UTC (rev 703)
+++ package/trunk/debian/rules	2011-07-23 16:23:15 UTC (rev 704)
@@ -23,7 +23,8 @@
 	# debconf-video-switch: scripts for the switch machines
 	dh_installdirs -pdebconf-video-switch usr/bin
 	dh_install -pdebconf-video-switch --sourcedir=src \
-	    dc-record-stream dc-start-sink dc-start-source usr/bin/
+	    dc-record-stream dc-start-sink dc-start-source \
+	    dc-move-recordings usr/bin/
 	# debconf-video-encode: meta-packge only
 	mkdir -p -m 755 debian/debconf-video-encode
 	# debconf-video-store: scripts for the storage server

Added: package/trunk/src/dc-move-recordings
===================================================================
--- package/trunk/src/dc-move-recordings	                        (rev 0)
+++ package/trunk/src/dc-move-recordings	2011-07-23 16:23:15 UTC (rev 704)
@@ -0,0 +1,6 @@
+#!/bin/bash -eu
+
+. /etc/default/debconf-video
+
+rsync --archive --remove-source-files --progress \
+	"$FILE_BASE/dv/" "$FILE_SERVER:$FILE_BASE/dv/"


Property changes on: package/trunk/src/dc-move-recordings
___________________________________________________________________
Added: svn:executable
   + *




More information about the Debconf-video-commits mailing list