Gentoo Archives: gentoo-commits

From: "Robin (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] CVSROOT commit in /: loginfo
Date: Fri, 07 Sep 2007 06:55:33
Message-Id: E1ITXe6-0000e7-73@stork.gentoo.org
robbat2     07/09/07 06:48:50

  Modified:             loginfo
  Log:
  Document usage of loginfo hack for stupid regex match problem.

Revision  Changes    Path
1.97                 loginfo

file : http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?rev=1.97&view=markup
plain: http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?rev=1.97&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/CVSROOT/loginfo?r1=1.96&r2=1.97

Index: loginfo
===================================================================
RCS file: /var/cvsroot/CVSROOT/loginfo,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- loginfo	7 Sep 2007 06:47:16 -0000	1.96
+++ loginfo	7 Sep 2007 06:48:49 -0000	1.97
@@ -41,13 +41,17 @@
 ^gentoo\/xml\/htdocs\/proj\/en\/gdp\/doc	( $CVSROOT/CVSROOT/commitlog-doc.pl %p %{s} )
 
 # This list is explicit, as we do NOT want gentoo-infra on here, so we can't use the ALL catcher.
+# If you need to match an entry, but NOT substrings (like gentoo matching gentoo-infra)
+# you need to have TWO entries
+# one ending in \/
+# and the other ending in $
 ^gentoo-x86				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
-^CVSROOT\/				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
-^CVSROOT$				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
+^CVSROOT				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^anaconda_for_gentoo	( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^content				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^gaming					( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
-^gentoo(\/|$)			( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
+^gentoo\/				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
+^gentoo$				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^gentoo-doc				( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^gentoo-gfx 			( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )
 ^gentoo-projects		( $CVSROOT/CVSROOT/commitlog-portage.pl %p %{s} )



-- 
gentoo-commits@g.o mailing list