Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-05 Thread Marc Schiffbauer
Am Samstag, 4. August 2012, 10:31:05 schrieb Samuli Suominen:
  +   if [ -d ${ROOT}/lib/udev ]

 If you don't use double [[ then ${ROOT} will need  quoting

This was only true if ${ROOT} stood there on its own. IMO if you have
${ROOT}/foo you do not need  quoting because even if $ROOT is empty you will 
not get a syntaxt error.

-Marc
-- 
0x35A64134 - 8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-05 Thread Peter Stuge
Marc Schiffbauer wrote:
   + if [ -d ${ROOT}/lib/udev ]
 
  If you don't use double [[ then ${ROOT} will need  quoting
 
 This was only true if ${ROOT} stood there on its own. IMO if you have
 ${ROOT}/foo you do not need  quoting because even if $ROOT is empty
 you will not get a syntaxt error.

I think you will run into trouble if it contains whitespace.


//Peter


pgpr0YkjT5D1Z.pgp
Description: PGP signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-05 Thread Diego Elio Pettenò
On 05/08/2012 16:20, Marc Schiffbauer wrote:
 This was only true if ${ROOT} stood there on its own. IMO if you have
 ${ROOT}/foo you do not need  quoting because even if $ROOT is empty you 
 will 
 not get a syntaxt error.

Different issue I guess, here's it's about having spaces in there, not
the syntax error.

-- 
Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-05 Thread Marc Schiffbauer
Am Montag, 6. August 2012, 01:25:44 schrieb Peter Stuge:
 Marc Schiffbauer wrote:
+   if [ -d ${ROOT}/lib/udev ]
   
   If you don't use double [[ then ${ROOT} will need  quoting
  
  This was only true if ${ROOT} stood there on its own. IMO if you have
  ${ROOT}/foo you do not need  quoting because even if $ROOT is empty
  you will not get a syntaxt error.
 
 I think you will run into trouble if it contains whitespace.

Indeed. Convinced.

-Marc
-- 
0x35A64134 - 8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

signature.asc
Description: This is a digitally signed message part.


[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-04 Thread Samuli Suominen

If you don't use double [[ then ${ROOT} will need  quoting

On 08/04/2012 12:29 AM, William Hubbs (williamh) wrote:

williamh12/08/03 21:29:17

   Modified: udev-187-r1.ebuild udev-.ebuild ChangeLog
   Log:
   Add a warning for bug #429466 wrt the /lib/udev-/usr/lib/udev
   migration.

   (Portage version: 2.2.0_alpha120/cvs/Linux i686)

Revision  ChangesPath
1.2  sys-fs/udev/udev-187-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?rev=1.2view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?rev=1.2content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?r1=1.1r2=1.2

Index: udev-187-r1.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- udev-187-r1.ebuild  3 Aug 2012 00:57:06 -   1.1
+++ udev-187-r1.ebuild  3 Aug 2012 21:29:16 -   1.2
@@ -1,6 +1,6 @@
  # Copyright 1999-2012 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v 1.1 
2012/08/03 00:57:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v 1.2 
2012/08/03 21:29:16 williamh Exp $

  EAPI=4

@@ -381,6 +381,17 @@
ewarn If you are using standalone udev, consolekithandles this
ewarn functionality.

+   if [ -d ${ROOT}/lib/udev ]
+   then
+   ewarn
+   ewarn This version of udev moves the files that were installed 
in
+   ewarn /lib/udev to /usr/lib/udev.
+   ewarn We include a backward compatibility patch for gentoo to
+   ewarn allow the rules in /lib/udev/rules.d to be read. 
However,
+   ewarn bugs should be filed against packages that are 
installing
+   ewarn files in /lib/udev so they can be fixed.
+   fi
+
ewarn
ewarn You need to restart udev as soon as possible to make the upgrade 
go
ewarn into affect.



1.102sys-fs/udev/udev-.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-.ebuild?rev=1.102view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-.ebuild?rev=1.102content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-.ebuild?r1=1.101r2=1.102

Index: udev-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-.ebuild,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- udev-.ebuild3 Aug 2012 00:57:06 -   1.101
+++ udev-.ebuild3 Aug 2012 21:29:16 -   1.102
@@ -1,6 +1,6 @@
  # Copyright 1999-2012 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-.ebuild,v 1.101 
2012/08/03 00:57:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-.ebuild,v 1.102 
2012/08/03 21:29:16 williamh Exp $

  EAPI=4

@@ -381,6 +381,17 @@
ewarn If you are using standalone udev, consolekithandles this
ewarn functionality.

+   if [ -d ${ROOT}/lib/udev ]
+   then
+   ewarn
+   ewarn This version of udev moves the files that were installed 
in
+   ewarn /lib/udev to /usr/lib/udev.
+   ewarn We include a backward compatibility patch for gentoo to
+   ewarn allow the rules in /lib/udev/rules.d to be read. 
However,
+   ewarn bugs should be filed against packages that are 
installing
+   ewarn files in /lib/udev so they can be fixed.
+   fi
+
ewarn
ewarn You need to restart udev as soon as possible to make the upgrade 
go
ewarn into affect.



1.704sys-fs/udev/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.704view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.704content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.703r2=1.704

Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
retrieving revision 1.703
retrieving revision 1.704
diff -u -r1.703 -r1.704
--- ChangeLog   3 Aug 2012 00:57:06 -   1.703
+++ ChangeLog   3 Aug 2012 21:29:16 -   1.704
@@ -1,6 +1,10 @@
  # ChangeLog for sys-fs/udev
  # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.703 2012/08/03 
00:57:06 williamh Exp $
+# $Header: 

Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-04 Thread Doug Goldstein
On Sat, Aug 4, 2012 at 2:31 AM, Samuli Suominen ssuomi...@gentoo.org wrote:
 If you don't use double [[ then ${ROOT} will need  quoting


Don't do top post code reviews. Snip out the context and do code
reviews inline so that your feedback is meaningful. Top posting and
leaving the entire commit with CVS metadata and all is just wasteful
and silly.

-- 
Doug Goldstein



Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

2012-08-04 Thread William Hubbs
On Sat, Aug 04, 2012 at 02:22:52PM -0500, Doug Goldstein wrote:
 On Sat, Aug 4, 2012 at 2:31 AM, Samuli Suominen ssuomi...@gentoo.org wrote:
  If you don't use double [[ then ${ROOT} will need  quoting
 
 
 Don't do top post code reviews. Snip out the context and do code
 reviews inline so that your feedback is meaningful. Top posting and
 leaving the entire commit with CVS metadata and all is just wasteful
 and silly.

This has been fixed.

WRT Doug's request, the important part is snip out the context. Don't
just insert comments and leave the entire commit in the message.

Thanks,

William



pgpe5r4vFZV7T.pgp
Description: PGP signature