[sysadmin-bin: 48/168] Add a script to update /git/cgit.repositories
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 48/168] Add a script to update /git/cgit.repositories
- Date: Thu, 24 May 2012 19:55:29 +0000 (UTC)
commit 0773b472d32f1686b32b0b692bf0ad14c38c7994
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Mar 19 16:39:00 2009 -0400
Add a script to update /git/cgit.repositories
Add a script that can be run sudo to the gitadmin user to update
the CGIT repository list.
update-cgit | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/update-cgit b/update-cgit
new file mode 100755
index 0000000..2c48a8b
--- /dev/null
+++ b/update-cgit
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Script to update the repository list for CGIT
+
+# NOTE: This script is run via sudo to the gitadmin user. Using sudo constrains
+# the environment, but it's important to be a bit careful about what we do
+# in here.
+
+BINDIR=/home/admin/gitadmin-bin
+
+$BINDIR/find-cgit-repos.sh > /git/cgit.repositories
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]