From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E820p-0006LC-Lx for garchives@archives.gentoo.org; Wed, 24 Aug 2005 20:38:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7OKXnLE026526; Wed, 24 Aug 2005 20:33:49 GMT Received: from mail3.cc.huji.ac.il (mail3.cc.huji.ac.il [132.64.1.21]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7OKL1qZ022015 for ; Wed, 24 Aug 2005 20:21:01 GMT Received: from mail3.cc.huji.ac.il (localhost [127.0.0.1]) by mail3.cc.huji.ac.il (Postfix) with SMTP id 5D97E91C32; Wed, 24 Aug 2005 23:22:03 +0300 (IDT) Received: by mail3.cc.huji.ac.il (Postfix, from userid 31998) id 3821F91C80; Wed, 24 Aug 2005 23:22:03 +0300 (IDT) Received: from kaminsky.dyndns.org (di8-37072.dialin.huji.ac.il [132.64.37.72]) by mail3.cc.huji.ac.il (Postfix) with ESMTP id 8306A91C32 for ; Wed, 24 Aug 2005 23:22:02 +0300 (IDT) Received: by kaminsky.dyndns.org (Postfix, from userid 1000) id A56DB99922; Wed, 24 Aug 2005 23:23:08 +0300 (IDT) Date: Wed, 24 Aug 2005 23:23:07 +0300 From: Moshe Kaminsky To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: why gentoo doesn't have long description? Message-ID: <20050824202307.GA8760@kaminsky> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20050823112654.GA31003@lugmen.org.ar> <20050823224756.667089f1@snowdrop.home> <558b73fb05082320393c29effc@mail.gmail.com> <430C1848.7020609@gmail.com> <430C1B43.9040108@sdf-eu.org> <20050824110803.GA4532@lugmen.org.ar> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20050824110803.GA4532@lugmen.org.ar> X-Accept-Language: en X-Location: Israel, Rehovot X-Editor: Vim 7.0 http://vim.sf.net/ User-Agent: mutt-ng/devel (Linux) X-Spam-Level: X-Virus: scanned by VAMS 2005 version 8.839 from Wed Aug 24 16:23:15 2005 CEST X-Archives-Salt: b955c446-acaa-4d10-89cf-c312aac7ca77 X-Archives-Hash: 7caae8fd117d07187564b523cb541095 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Fernando Canizo [24/08/05 14:07]: >=20 > El 24/ago/2005 a las 04:01 -0300, Jonas me dec=C3=ADa: > > >Second, the whole idea is to do this for non-connected systems. Meanin= g, a > > >solution not involving the Internet... =3D) > > If you're refering to the fact that the person doesn't have an internet= =20 > > connection when he wants to view this information throught the emerge= =20 > > interface, then you're wrong. When you want to install or you're just= =20 > > searching for a package you're using the emerge interface , when you=20 > > need more info you have to 1) open your browser 2) type in the url (if= =20 > > you're lucky you know the url or it's in your browsers cache) 3) search= =20 > > for the package on the website , while instead you could just do=20 > > something like emerge --desc package. Now what's quicker and makes more= =20 > > sence ? >=20 > Exactly! That's what i'm refering to. It's not an issues of connection it= 's an > issue of lazyness! It's like: "-- hey what are you doing this weekend? --= don't > know, it's cold and raining, i think i'm gonna sit in my throne and check= what's > new on 'app-vim' to improve my vimyness, if find something interesting i'= ll > check the package webpage." >=20 > For now i'm using 'questo': > =3D=3D=3D script =3D=3D=3D=3D > #!/bin/bash > # lun may 2 20:57:24 ART 2005 > # conan - GPLed > # > # script to check for apps on rainy sunday morning >=20 > BASE_DIR=3D"/usr/portage/" >=20 > [ $# -ne 1 ] && echo "Uso: questo " && exit 0 >=20 > cd $BASE_DIR$1 > for package in * ; do > eix "^$paquete\$" > echo "Looking for: $1/$paquete. ENTER to continue..." > read > done > =3D=3D=3D end script =3D=3D=3D=3D >=20 > Now i took sugestion from Ciaran to look in metadata.xml, i check a coupl= e by > hand and see the 'longdesc' field but... with short descriptions! Now may= be i > just choose two with bad luck, but i got a feeling that gentoo maintainers > doesn't like to provide longdesc, although there is the posibility. >=20 > I was thinking of doing a little script that gives longdesc found in meta= data to > confirm this, but since i don't know nothing about xml, think it gonna ta= ke a > little bit more that if there were already an application to check=20 > 'metadata.xml' If you have the XML::Simple perl module (which can be emerged as=20 XML-Simple), you can do perl -MXML::Simple -le 'print XMLin(shift)->{"longdescription"}' where is the metadata.xml file. However, it appears that this field is not widely supported. Instead,=20 you might use something like lynx -dump -nolist `esearch -o %h ` to dump the homepage of the package as text (of course, you still need=20 to be online for that) Moshe PS. Sorry if this actually seems on-topic :) --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQFDDNcrkBjmVsKMBeMRApq5AKCVfuWuUCtEOT7qjLqCTAKGWSN46QCgtlwU IJx7MGccy08Yjkvkfz3S830= =ttty -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- -- gentoo-user@gentoo.org mailing list