packages: git-core-slug/git-core-slug.spec, git-core-slug/crontab (NEW)=?UTF-8?Q?=20?=- u...

draenog draenog at pld-linux.org
Mon Mar 26 17:14:32 CEST 2012


Author: draenog                      Date: Mon Mar 26 15:14:32 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.9
- crontab file for slug_watch

---- Files affected:
packages/git-core-slug:
   git-core-slug.spec (1.14 -> 1.15) , crontab (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/git-core-slug/git-core-slug.spec
diff -u packages/git-core-slug/git-core-slug.spec:1.14 packages/git-core-slug/git-core-slug.spec:1.15
--- packages/git-core-slug/git-core-slug.spec:1.14	Fri Mar 16 21:17:26 2012
+++ packages/git-core-slug/git-core-slug.spec	Mon Mar 26 17:14:27 2012
@@ -3,13 +3,14 @@
 %define 	module	git_slug
 Summary:	Tools to interact with PLD git repositories
 Name:		git-core-slug
-Version:	0.8
+Version:	0.9
 Release:	1
 License:	GPL v2
 Group:		Development/Building
 Source0:	https://github.com/draenog/slug/tarball/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	589bbb9a23f591d17f4e95a32e54b990
+# Source0-md5:	747af0b97c200cc1a2d9ed4e5daa0638
 Source1:	slug_watch.init
+Source2:	crontab
 URL:		https://github.com/draenog/slug
 BuildRequires:	asciidoc
 BuildRequires:	docbook-dtd45-xml
@@ -64,6 +65,7 @@
 install -d $RPM_BUILD_ROOT/home/services/gitolite/Attic
 touch $RPM_BUILD_ROOT/home/services/gitolite/{watchdir,Refs}
 
+install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/slug_watch
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +97,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/slug_watch
 %attr(754,root,root) /etc/rc.d/init.d/slug_watch
+/etc/cron.d/slug_watch
 %attr(755,gitolite,gitolite) /home/services/gitolite/adc/bin/trash
 %{py3_sitescriptdir}/Daemon
 %{py3_sitescriptdir}/%{module}//serverconst.py
@@ -111,6 +114,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2012/03/26 15:14:27  draenog
+- up to 0.9
+- crontab file for slug_watch
+
 Revision 1.14  2012/03/16 20:17:26  draenog
 - fix Source0-md5
 

================================================================
Index: packages/git-core-slug/crontab
diff -u /dev/null packages/git-core-slug/crontab:1.1
--- /dev/null	Mon Mar 26 17:14:32 2012
+++ packages/git-core-slug/crontab	Mon Mar 26 17:14:27 2012
@@ -0,0 +1,5 @@
+SHELL=/bin/sh
+MAILTO=root
+
+03 5 * * * gitolite git --git-dir=/home/services/gitolite/repositories/Refs.git gc --aggressive
+ at hourly    gitolite git --git-dir=/home/services/gitolite/repositories/Refs.git gc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/git-core-slug/git-core-slug.spec?r1=1.14&r2=1.15



More information about the pld-cvs-commit mailing list