Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] CVSROOT commit in /: loginfo
Date: Mon, 05 Nov 2007 01:04:19
Message-Id: E1IoqCd-0005Z4-EM@stork.gentoo.org
1 robbat2 07/11/05 00:52:31
2
3 Modified: loginfo
4 Log:
5 All more-specific loginfo lines must come earlier in the file, and must also explicitly run later entries in addition to their own task.
6
7 Revision Changes Path
8 1.100 loginfo
9
10 file : http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?rev=1.100&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?rev=1.100&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?r1=1.99&r2=1.100
13
14 Index: loginfo
15 ===================================================================
16 RCS file: /var/cvsroot/CVSROOT/loginfo,v
17 retrieving revision 1.99
18 retrieving revision 1.100
19 diff -u -r1.99 -r1.100
20 --- loginfo 5 Nov 2007 00:45:01 -0000 1.99
21 +++ loginfo 5 Nov 2007 00:52:30 -0000 1.100
22 @@ -34,15 +34,18 @@
23 #DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
24 # or
25 #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
26 +#
27 +# WARNING
28 +# other than the 'ALL' entry, the first matching line is used only!
29
30 ALL ( $CVSROOT/CVSROOT/ciabot.pl %p %s $USER )
31
32 -^gentoo\/xml\/htdocs\/doc\/en ( $CVSROOT/CVSROOT/commitlog-doc.pl %p %{s} )
33 -^gentoo\/xml\/htdocs\/proj\/en\/gdp\/doc ( $CVSROOT/CVSROOT/commitlog-doc.pl %p %{s} )
34 +^gentoo\/xml\/htdocs\/doc\/en ( $CVSROOT/CVSROOT/commitlog-doc.pl %p %{s} ; $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
35 +^gentoo\/xml\/htdocs\/proj\/en\/gdp\/doc ( $CVSROOT/CVSROOT/commitlog-doc.pl %p %{s} ; $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
36
37 # Update the local copy of cfauth.conf for cfengine (and workaround for locks)
38 -^gentoo-infra\/cfengine\/cfengine\/inputs (date; cat; (sleep 2; cd /opt/gentoo/cvs-checks/gentoo-infra/cfengine/cfengine/inputs/; cvs -q update -d; find . -type f -exec chmod g+w {} \;) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
39 -^gentoo\/xml\/htdocs\/dtd (date; cat; (sleep 2; cd /opt/gentoo/cvs-checks/gentoo/xml/htdocs/dtd/; cvs -q update -d; find . -type f -exec chmod g+w {} \;) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
40 +^gentoo-infra\/cfengine\/cfengine\/inputs ( $CVSROOT/CVSROOT/commitlog-infra.pl %p %{s} ; date; cat; (sleep 2; cd /opt/gentoo/cvs-checks/gentoo-infra/cfengine/cfengine/inputs/; cvs -q update -d; find . -type f -exec chmod g+w {} \;) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
41 +^gentoo\/xml\/htdocs\/dtd ( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} ; date; cat; (sleep 2; cd /opt/gentoo/cvs-checks/gentoo/xml/htdocs/dtd/; cvs -q update -d; find . -type f -exec chmod g+w {} \;) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
42
43 # The next line will not work, as it uses sudo, but the script will be called by the user, who does the commit.
44 #^gentoo\/xml\/htdocs (date; cat; (sleep 2; cd /opt/gentoo/cvs-checks/gentoo/xml/htdocs/; cvs -q update -d && sudo -u gmirror bash -c "source /home/gmirror/.keychain/*-sh; rsync -gopr -e ssh /opt/gentoo/cvs-checks/gentoo/xml/htdocs heron.gentoo.org:~ " ) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
45
46
47
48 --
49 gentoo-commits@g.o mailing list