[gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Robin H. Johnson
Hi folks,

After much toiling, Infra has finally got the commits list active.
You can subscribe to it as per normal, but be aware that it is high traffic.
Only CVS traffic is live so far, but SVN will follow soon.

If you are interested in following subsections of the list, there are some
special headers in the list mails. Here's an example from earlier:

X-VCS-Repository: gentoo-x86
X-VCS-Files: udev-115-r2.ebuild
X-VCS-Directories: sys-fs/udev
X-VCS-Committer: zzam
X-VCS-Committer-Name: Matthias Schwarzott,,,

The list mails are available on Archives as well.

For the From field, we are populating it using your GECOS data from LDAP
followed by your username. I'm aware that lots of users have problems in their
GECOS data, and I'm going to work on cleaning that up shortly along with some
LDAP work that is in progress.

Thanks to:
pylon - Doing most of the work on the large loginfo script.
robbat2 - Hunting the bugs and hooking it up to lists

No thanks to:
CVS and Perl, for not giving any indication that SIGPIPE was happening.

-- 
Robin Hugh Johnson
Gentoo Linux Developer  Infra Guy
E-Mail : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgpl5e2CzEPoD.pgp
Description: PGP signature


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Donnie Berkholz
On 00:01 Fri 07 Sep , Robin H. Johnson wrote:
 Hi folks,
 
 After much toiling, Infra has finally got the commits list active.
 You can subscribe to it as per normal, but be aware that it is high traffic.
 Only CVS traffic is live so far, but SVN will follow soon.

Huge thanks to both of you for getting this going!

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Mike Frysinger
On Friday 07 September 2007, Robin H. Johnson wrote:
 After much toiling, Infra has finally got the commits list active.
 You can subscribe to it as per normal, but be aware that it is high
 traffic. Only CVS traffic is live so far, but SVN will follow soon.

thanks all

 If you are interested in following subsections of the list, there are some
 special headers in the list mails. Here's an example from earlier:

 X-VCS-Repository: gentoo-x86
 X-VCS-Files: udev-115-r2.ebuild
 X-VCS-Directories: sys-fs/udev
 X-VCS-Committer: zzam
 X-VCS-Committer-Name: Matthias Schwarzott,,,

too bad we cant get herd/maintainer from metadata.xml :(
-mike


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


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Robin H. Johnson
On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
  X-VCS-Repository: gentoo-x86
  X-VCS-Files: udev-115-r2.ebuild
  X-VCS-Directories: sys-fs/udev
  X-VCS-Committer: zzam
  X-VCS-Committer-Name: Matthias Schwarzott,,,
 too bad we cant get herd/maintainer from metadata.xml :(
Give me a service or something that can take a $CAT/$PN - that data,
and I can include it in the headers for you.

-- 
Robin Hugh Johnson
Gentoo Linux Developer  Infra Guy
E-Mail : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgpUwlH77iNwN.pgp
Description: PGP signature


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Doug Goldstein
Robin H. Johnson wrote:
 On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
   
 X-VCS-Repository: gentoo-x86
 X-VCS-Files: udev-115-r2.ebuild
 X-VCS-Directories: sys-fs/udev
 X-VCS-Committer: zzam
 X-VCS-Committer-Name: Matthias Schwarzott,,,
   
 too bad we cant get herd/maintainer from metadata.xml :(
 
 Give me a service or something that can take a $CAT/$PN - that data,
 and I can include it in the headers for you.

   
jeeves! :-D

my script-fo is not strong but surely this can't be difficult

grep herd /usr/portage/$CAT/$PN/metadata.xml | sed -e
's:herd\(.*\)/herd:\1:'

grep email /usr/portage/$CAT/$PN/metadata.xml | sed -e
's:email\(.*\)/email:\1:' | tr -d '[:blank:]' | tr '\n' ','
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Mike Frysinger
On Friday 07 September 2007, Robin H. Johnson wrote:
 On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
   X-VCS-Repository: gentoo-x86
   X-VCS-Files: udev-115-r2.ebuild
   X-VCS-Directories: sys-fs/udev
   X-VCS-Committer: zzam
   X-VCS-Committer-Name: Matthias Schwarzott,,,
 
  too bad we cant get herd/maintainer from metadata.xml :(

 Give me a service or something that can take a $CAT/$PN - that data,
 and I can include it in the headers for you.

maybe someone knows of an easier way ...

$ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
base-system someherds 
$ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
[EMAIL PROTECTED] [EMAIL PROTECTED] 
-mike


signature.asc
Description: This is a digitally signed message part.
?xml version=1.0 encoding=UTF-8?

xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0
xsl:output method=text indent=no encoding=UTF-8/
xsl:strip-space elements=*/

xsl:template match=pkgmetadata
	xsl:apply-templates select=maintainer/email/
/xsl:template

xsl:template match=maintainer/email
	xsl:value-of select=concat(normalize-space(.),' ')/
/xsl:template

/xsl:stylesheet
?xml version=1.0 encoding=UTF-8?

xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0
xsl:output method=text indent=no encoding=UTF-8/
xsl:strip-space elements=*/

xsl:template match=pkgmetadata
	xsl:apply-templates select=herd/
/xsl:template

xsl:template match=herd
	xsl:value-of select=concat(normalize-space(.),' ')/
/xsl:template

/xsl:stylesheet


Re: [gentoo-dev] Packages up for grabs

2007-09-07 Thread Paul de Vrieze
On Thu, 6 Sep 2007 03:15:34 Chris Gianelloni wrote:
 net-misc/cisco-vpnclient-3des

While my current employer uses such a router, I find that the vpnc client 
works better in that it does not force me to route all traffic through the 
vpn, but allows me to make my own routes. Of course vpnc does not require 
binary kernel modules either.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Robin H. Johnson
On Fri, Sep 07, 2007 at 06:55:49PM -0400, Mike Frysinger wrote:
  Give me a service or something that can take a $CAT/$PN - that data,
  and I can include it in the headers for you.
 maybe someone knows of an easier way ...
 
 $ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
 base-system someherds 
 $ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
 [EMAIL PROTECTED] [EMAIL PROTECTED] 
Bah, looks like I need to make more progress on that auto-assign script
to get ahead here too.

-- 
Robin Hugh Johnson
Gentoo Linux Developer  Infra Guy
E-Mail : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgp3uoMRFxyJA.pgp
Description: PGP signature


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Doug Goldstein

Mike Frysinger wrote:

On Friday 07 September 2007, Robin H. Johnson wrote:

On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:

X-VCS-Repository: gentoo-x86
X-VCS-Files: udev-115-r2.ebuild
X-VCS-Directories: sys-fs/udev
X-VCS-Committer: zzam
X-VCS-Committer-Name: Matthias Schwarzott,,,

too bad we cant get herd/maintainer from metadata.xml :(

Give me a service or something that can take a $CAT/$PN - that data,
and I can include it in the headers for you.


maybe someone knows of an easier way ...

$ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
base-system someherds 
$ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
[EMAIL PROTECTED] [EMAIL PROTECTED] 
-mike




Sure... be fancy with all your xsl and xml crap. LONG LIVE THE BRUTE 
FORCE PARSE WITH SED!


--
Doug Goldstein [EMAIL PROTECTED]
http://dev.gentoo.org/~cardoe/
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Alec Warner
On 9/7/07, Doug Goldstein [EMAIL PROTECTED] wrote:
 Mike Frysinger wrote:
  On Friday 07 September 2007, Robin H. Johnson wrote:
  On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
  X-VCS-Repository: gentoo-x86
  X-VCS-Files: udev-115-r2.ebuild
  X-VCS-Directories: sys-fs/udev
  X-VCS-Committer: zzam
  X-VCS-Committer-Name: Matthias Schwarzott,,,
  too bad we cant get herd/maintainer from metadata.xml :(
  Give me a service or something that can take a $CAT/$PN - that data,
  and I can include it in the headers for you.
 
  maybe someone knows of an easier way ...
 
  $ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
  base-system someherds
  $ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
  [EMAIL PROTECTED] [EMAIL PROTECTED]
  -mike
 

 Sure... be fancy with all your xsl and xml crap. LONG LIVE THE BRUTE
 FORCE PARSE WITH SED!

People who parse xml with sed make me cry.

grep = also bad.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] Packages up for grabs

2007-09-07 Thread Chris Gianelloni
On Sat, 2007-09-08 at 09:41 +1000, Paul de Vrieze wrote:
 On Thu, 6 Sep 2007 03:15:34 Chris Gianelloni wrote:
  net-misc/cisco-vpnclient-3des
 
 While my current employer uses such a router, I find that the vpnc client 
 works better in that it does not force me to route all traffic through the 
 vpn, but allows me to make my own routes. Of course vpnc does not require 
 binary kernel modules either.

I know about vpnc, but it doesn't support all of the features of the
Cisco official client.  Also, the Cisco VPN Client does *not* use binary
kernel modules.  The *client* is binary, the modules are source-based.
Also, there's a patch in Bugzilla to add local LAN access support to the
client, even if it is denied on the server side.  I haven't decided if I
am going to add the patch or not, since it does allow the client to
perform actions that could violate a company's security policy.  Of
course, if someone else were maintaining it, it would be their decision
to make.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation


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


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Thomas Anderson
On Friday 07 September 2007 20:25:07 Alec Warner wrote:
 On 9/7/07, Doug Goldstein [EMAIL PROTECTED] wrote:
  Mike Frysinger wrote:
   On Friday 07 September 2007, Robin H. Johnson wrote:
   On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
   X-VCS-Repository: gentoo-x86
   X-VCS-Files: udev-115-r2.ebuild
   X-VCS-Directories: sys-fs/udev
   X-VCS-Committer: zzam
   X-VCS-Committer-Name: Matthias Schwarzott,,,
  
   too bad we cant get herd/maintainer from metadata.xml :(
  
   Give me a service or something that can take a $CAT/$PN - that data,
   and I can include it in the headers for you.
  
   maybe someone knows of an easier way ...
  
   $ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
   base-system someherds
   $ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
   [EMAIL PROTECTED] [EMAIL PROTECTED]
   -mike
 
  Sure... be fancy with all your xsl and xml crap. LONG LIVE THE BRUTE
  FORCE PARSE WITH SED!

 People who parse xml with sed make me cry.

 grep = also bad.

What about people who parse xml with sgrep?

Parsing xml with sgrep is actually quite easy+useful.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Roy Marples
On Fri, 2007-09-07 at 17:25 -0700, Alec Warner wrote:
 People who parse xml with sed make me cry.
 
 grep = also bad.

Where do you stand on awk | head | cut | tail | xargs chains?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Mike Frysinger
On Friday 07 September 2007, Alec Warner wrote:
 On 9/7/07, Doug Goldstein [EMAIL PROTECTED] wrote:
  Mike Frysinger wrote:
   On Friday 07 September 2007, Robin H. Johnson wrote:
   On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote:
   X-VCS-Repository: gentoo-x86
   X-VCS-Files: udev-115-r2.ebuild
   X-VCS-Directories: sys-fs/udev
   X-VCS-Committer: zzam
   X-VCS-Committer-Name: Matthias Schwarzott,,,
  
   too bad we cant get herd/maintainer from metadata.xml :(
  
   Give me a service or something that can take a $CAT/$PN - that data,
   and I can include it in the headers for you.
  
   maybe someone knows of an easier way ...
  
   $ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml
   base-system someherds
   $ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml
   [EMAIL PROTECTED] [EMAIL PROTECTED]
 
  Sure... be fancy with all your xsl and xml crap. LONG LIVE THE BRUTE
  FORCE PARSE WITH SED!

 People who parse xml with sed make me cry.

 grep = also bad.

i'd parse it with xmlgawk if i hadnt punted it from gawk sometime ago
-mike


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


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread Mike Frysinger
On Friday 07 September 2007, Robin H. Johnson wrote:
 After much toiling, Infra has finally got the commits list active.
 You can subscribe to it as per normal, but be aware that it is high
 traffic. Only CVS traffic is live so far, but SVN will follow soon.

can you tweak the URIs to use the shorter form please

iow, use:
http://sources.gentoo.org/sys-apps/...
instead of:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/...
-mike


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


[gentoo-dev] Last rites: sys-auth/tfm-fingerprint

2007-09-07 Thread Mike Frysinger
the binary-only package sys-auth/tfm-fingerprint provides a driver for 
fingerprint scanners found in many laptops.  fortunately there is an 
open-source equivalent that replaces this and doesnt require the craptastic 
bioapi framework: sys-auth/thinkfinger

i just scrubbed bioapi/tfm-fingerprint on my Dell and replaced it with 
thinkfinger and its setup was a crap ton nicer.

so unless there's a reason to keep this, i'd just as soon punt it.
-mike


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


Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread David Shakaryan

Mike Frysinger wrote:

can you tweak the URIs to use the shorter form please

iow, use:
http://sources.gentoo.org/sys-apps/...
instead of:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/...


The tree is not the only repository on sources.gentoo.org.

--
David Shakaryan
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread David Shakaryan

David Shakaryan wrote:

Mike Frysinger wrote:

can you tweak the URIs to use the shorter form please

iow, use:
http://sources.gentoo.org/sys-apps/...
instead of:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/...


The tree is not the only repository on sources.gentoo.org.


Hrm, mark_alec pointed out on IRC that the first example forwards it to 
the full one. Oopsies.


--
David Shakaryan
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] gentoo-commits list lives!

2007-09-07 Thread James Rowe
* Mike Frysinger ([EMAIL PROTECTED]) wrote:
 On Friday 07 September 2007, Alec Warner wrote:
  On 9/7/07, Doug Goldstein [EMAIL PROTECTED] wrote:
   Sure... be fancy with all your xsl and xml crap. LONG LIVE THE BRUTE
   FORCE PARSE WITH SED!
 
  People who parse xml with sed make me cry.
 
  grep = also bad.
 
 i'd parse it with xmlgawk if i hadnt punted it from gawk sometime ago
 -mike

  app-text/xml2 makes a surprisingly nice replacement for xmlgawk for
people who know not to use sed or awk on XML, yet still want to.  For
example:

$ xml2  /var/lib/repos/gentoo/sys-apps/busybox/metadata.xml \
| awk -F= '/\/herd=/ {print $2}'
embedded
$ xml2  /var/lib/repos/gentoo/www-client/surfraw/metadata.xml \
| sed '/\/maintainer\/email=/!d;s,^.*=,,'
[EMAIL PROTECTED]
[EMAIL PROTECTED]

or to match Vapier's output just collapse the output:

$ echo $(xml2  /var/lib/repos/gentoo/www-client/surfraw/metadata.xml \
| awk -F '/\/maintainer\/email=/ {print $2}')
[EMAIL PROTECTED] [EMAIL PROTECTED]

  The above examples will cope with cases that will break the simple sed
version, such as herd\ndata\n/herd.  But then again so does
Vapier's xsltproc solution.

  As a hint for other tasks the package can cope with tagsoup too if
called with html2, and it can reassemble with 2xml/2html.  There is some
documentation online at the author's website, but its usage is obvious.

Thanks,

James



pgpBdXSAzSX3x.pgp
Description: PGP signature