public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] earch, latest version tool
@ 2004-10-30 15:59 Eldad Zack
  2004-10-30 20:37 ` Mike Doty
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Eldad Zack @ 2004-10-30 15:59 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Hey Everyone,

I'd like some feedback about a little tool I've whipped up, which checks the 
last stable/unstable ebuild per arch.

Running it in snort's directory, for example, yields this result:
snort-2.0.6:  sparc
snort-2.1.2:
snort-2.1.3:  x86
snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha


Get it while it's hot: http://dev.gentoo.org/~eldad/earch/earch



-- 
Eldad Zack <eldad@gentoo.org>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
@ 2004-10-30 20:37 ` Mike Doty
  2004-10-30 20:54   ` Eldad Zack
  2004-10-30 21:30 ` Tuan Van
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Mike Doty @ 2004-10-30 20:37 UTC (permalink / raw
  To: gentoo-dev

On Sat, 30 Oct 2004 17:59:02 +0200, Eldad Zack <eldad@gentoo.org> wrote:
> Hey Everyone,
> 
> I'd like some feedback about a little tool I've whipped up, which checks the
> last stable/unstable ebuild per arch.
> 
> Running it in snort's directory, for example, yields this result:
> snort-2.0.6:  sparc
> snort-2.1.2:
> snort-2.1.3:  x86
> snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha
> 
> Get it while it's hot: http://dev.gentoo.org/~eldad/earch/earch

It'd be nice if it sorted based on version. Other than that, looks cool.

--Mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 20:37 ` Mike Doty
@ 2004-10-30 20:54   ` Eldad Zack
  2004-10-31  0:32     ` Lars Weiler
  0 siblings, 1 reply; 13+ messages in thread
From: Eldad Zack @ 2004-10-30 20:54 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

On Saturday 30 October 2004 22:37, Mike Doty wrote:
> On Sat, 30 Oct 2004 17:59:02 +0200, Eldad Zack <eldad@gentoo.org> wrote:
> > Running it in snort's directory, for example, yields this result:
> > snort-2.0.6:  sparc
> > snort-2.1.2:
> > snort-2.1.3:  x86
> > snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha
> It'd be nice if it sorted based on version. Other than that, looks cool.

Well, It IS sorted based on version.
The archs keywords are not sorted, though, since I don't think it serves any 
purpose. (But it can be done, quite easily)

-- 
Eldad Zack <eldad@gentoo.org>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
  2004-10-30 20:37 ` Mike Doty
@ 2004-10-30 21:30 ` Tuan Van
  2004-10-30 21:35 ` Travis Tilley
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Tuan Van @ 2004-10-30 21:30 UTC (permalink / raw
  To: Eldad Zack, gentoo-dev

Eldad Zack wrote:

>Hey Everyone,
>
>I'd like some feedback about a little tool I've whipped up, which checks the 
>last stable/unstable ebuild per arch.
>
>Running it in snort's directory, for example, yields this result:
>snort-2.0.6:  sparc
>snort-2.1.2:
>snort-2.1.3:  x86
>snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha
>
>
>Get it while it's hot: http://dev.gentoo.org/~eldad/earch/earch
>
>
>
>  
>
thanks for the nice tool. Only one thing though, it leaves behind two 
extra file in the "current" directory.
$ file os
os: PostScript document text conforming at level 3.0
$ file sys
sys: PostScript document text conforming at level 3.0


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
  2004-10-30 20:37 ` Mike Doty
  2004-10-30 21:30 ` Tuan Van
@ 2004-10-30 21:35 ` Travis Tilley
  2004-10-30 21:41   ` Mike Frysinger
  2004-10-30 21:44   ` Eldad Zack
  2004-10-31 14:05 ` Ciaran McCreesh
  2004-11-03  0:50 ` Ned Ludd
  4 siblings, 2 replies; 13+ messages in thread
From: Travis Tilley @ 2004-10-30 21:35 UTC (permalink / raw
  To: Eldad Zack; +Cc: gentoo-dev

Eldad Zack wrote:
> Hey Everyone,
> 
> I'd like some feedback about a little tool I've whipped up, which checks the 
> last stable/unstable ebuild per arch.
> 
> Running it in snort's directory, for example, yields this result:
> snort-2.0.6:  sparc
> snort-2.1.2:
> snort-2.1.3:  x86
> snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha
> 
> 
> Get it while it's hot: http://dev.gentoo.org/~eldad/earch/earch

Now... if this tool also checked profiles to see which versions could be 
safely removed -THAT- would be sexy. Some profiles mask to a specific 
version that may or may not be the latest keyworded version in 
portage... which certainly makes making sure you dont remove something 
needed difficult.

...i think that's the whole reason why we can measure the size of 
sys-devel/binutils in MEGS. i know i'm kinda afraid to just start 
ripping ebuilds out of there... though i seriously need to at some point.


Travis Tilley

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 21:35 ` Travis Tilley
@ 2004-10-30 21:41   ` Mike Frysinger
  2004-10-30 21:44   ` Eldad Zack
  1 sibling, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2004-10-30 21:41 UTC (permalink / raw
  To: gentoo-dev

On Saturday 30 October 2004 05:35 pm, Travis Tilley wrote:
> ...i think that's the whole reason why we can measure the size of
> sys-devel/binutils in MEGS. i know i'm kinda afraid to just start
> ripping ebuilds out of there... though i seriously need to at some point.

don't, i'm working on them already
-mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 21:35 ` Travis Tilley
  2004-10-30 21:41   ` Mike Frysinger
@ 2004-10-30 21:44   ` Eldad Zack
  2004-10-30 22:03     ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Eldad Zack @ 2004-10-30 21:44 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

On Saturday 30 October 2004 23:35, Travis Tilley wrote:

> Now... if this tool also checked profiles to see which versions could be
> safely removed -THAT- would be sexy. Some profiles mask to a specific
> version that may or may not be the latest keyworded version in
> portage... which certainly makes making sure you dont remove something
> needed difficult.

There's alot of profiles, should it check every packages listing? 

/usr/portage/profiles$ find -name "packages" | wc -l
93


-- 
Eldad Zack <eldad@gentoo.org>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 21:44   ` Eldad Zack
@ 2004-10-30 22:03     ` Mike Frysinger
  0 siblings, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2004-10-30 22:03 UTC (permalink / raw
  To: gentoo-dev

On Saturday 30 October 2004 05:44 pm, Eldad Zack wrote:
> There's alot of profiles, should it check every packages listing?
>
> /usr/portage/profiles$ find -name "packages" | wc -l
> 93

just go by the cascading ones if you do plan on doing this ...
base
default-bsd
default-linux
default-macos
embedded
hardened
selinux
uclibc
-mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 20:54   ` Eldad Zack
@ 2004-10-31  0:32     ` Lars Weiler
  2004-10-31 13:51       ` Carsten Lohrke
  2004-10-31 14:09       ` Eldad Zack
  0 siblings, 2 replies; 13+ messages in thread
From: Lars Weiler @ 2004-10-31  0:32 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

* Eldad Zack <eldad@gentoo.org> [04/10/30 22:54 +0200]:
> The archs keywords are not sorted, though, since I don't think it serves any 
> purpose. (But it can be done, quite easily)

According to the last manager-meeting, the first mentioned
arch in an ebuild should be the maintainer arch.  So they
currently fulfill a purpose.  But we also talked about
adding the maintainer arch to the metadata.xml.

Nice tool!  Thanks.  Would be nicer if you can use it like
etcat -v <package> without changing into the correct
directory :)

Regards, Lars

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-31  0:32     ` Lars Weiler
@ 2004-10-31 13:51       ` Carsten Lohrke
  2004-10-31 14:09       ` Eldad Zack
  1 sibling, 0 replies; 13+ messages in thread
From: Carsten Lohrke @ 2004-10-31 13:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

On Sunday 31 October 2004 02:32, Lars Weiler wrote:
> According to the last manager-meeting, the first mentioned
> arch in an ebuild should be the maintainer arch.  So they
> currently fulfill a purpose.  But we also talked about
> adding the maintainer arch to the metadata.xml.

Just to let ebuild maintainers care to get another thing right and to add 
redundant data? A prefix would have been much better. /me stops bitching and 
reads the log.


Carsten

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
                   ` (2 preceding siblings ...)
  2004-10-30 21:35 ` Travis Tilley
@ 2004-10-31 14:05 ` Ciaran McCreesh
  2004-11-03  0:50 ` Ned Ludd
  4 siblings, 0 replies; 13+ messages in thread
From: Ciaran McCreesh @ 2004-10-31 14:05 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

On Sat, 30 Oct 2004 17:59:02 +0200 Eldad Zack <eldad@gentoo.org> wrote:
| I'd like some feedback about a little tool I've whipped up, which
| checks the last stable/unstable ebuild per arch.
| 
| Running it in snort's directory, for example, yields this result:
| snort-2.0.6:  sparc
| snort-2.1.2:
| snort-2.1.3:  x86
| snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha

It gets kinda icky if stable has a newer version than unstable...

app-vim/align
align-23:  ~mips 
align-26:  ~x86 ~alpha 
align-27:  ~ia64 
align-28:  ~amd64 x86 ~ppc sparc mips ia64 alpha 

I think eshowkw's output format is clearer in that situation:

                  | a  a  a  h  i  m  p  p  pa s  s  s  x  xb xb 
                  | l  m  r  p  a  i  p  p  pc 3  h  p  8  8s 8s 
                  | p  d  m  p  6  p  c  c  co 9     a  6  6d 6d 
                  | h  6     a  4  s     6  -s 0     r     -  -  
                  | a  4                 4  m        c     o  f  
------------------+---------------------------------------------
23                | +           +  ~  ~              +  +        
26                | ~           ~  +  ~              +  ~        
27                | +           ~  +  ~              +  +        
28                | +  ~        +  +  ~              +  +      

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, Sparc, Mips)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-31  0:32     ` Lars Weiler
  2004-10-31 13:51       ` Carsten Lohrke
@ 2004-10-31 14:09       ` Eldad Zack
  1 sibling, 0 replies; 13+ messages in thread
From: Eldad Zack @ 2004-10-31 14:09 UTC (permalink / raw
  To: Lars Weiler; +Cc: Gentoo Dev List

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

On Sun, 2004-10-31 at 02:32, Lars Weiler wrote:
> * Eldad Zack <eldad@gentoo.org> [04/10/30 22:54 +0200]:
> > The archs keywords are not sorted, though, since I don't think it serves any 
> > purpose. (But it can be done, quite easily)
> According to the last manager-meeting, the first mentioned
> arch in an ebuild should be the maintainer arch.  So they
> currently fulfill a purpose.  But we also talked about
> adding the maintainer arch to the metadata.xml.

Well it is a maintainer tool, unless someone was heavily drinking (and
in that case, stay away from the tree...) I think the maintainer should
know his arch...

> Nice tool!  Thanks.  Would be nicer if you can use it like
> etcat -v <package> without changing into the correct
> directory :)

I've uploaded a new version to my dev page to do just - that if you
supply an argument it'll work on PORTDIR/category/package, if invoked
without args, it scans the current dir.

$ earch net-analyzer/rrdtool
rrdtool-1.0.45-r2:  ia64
rrdtool-1.0.47:  alpha hppa amd64
rrdtool-1.0.48:  ~sparc
rrdtool-1.0.49:  ppc ~amd64 ~hppa x86 ~ia64 ~alpha sparc


-- 
Eldad Zack <eldad@gentoo.org>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] earch, latest version tool
  2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
                   ` (3 preceding siblings ...)
  2004-10-31 14:05 ` Ciaran McCreesh
@ 2004-11-03  0:50 ` Ned Ludd
  4 siblings, 0 replies; 13+ messages in thread
From: Ned Ludd @ 2004-11-03  0:50 UTC (permalink / raw
  To: Eldad Zack; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

handy.. I snagged a copy and put it in my $PATH then hacked up my
repoman to display this info when we/I need to know it. works good.

if "--pretend" in myoptions:
        print green("RepoMan does a once-over of the neighborhood...")
+        os.system("earch " +
os.path.basename(os.path.dirname(os.path.realpath("."))) + "/" +
os.path.basename(os.path.realpath(".")))

On Sat, 2004-10-30 at 11:59, Eldad Zack wrote:
> Hey Everyone,
> 
> I'd like some feedback about a little tool I've whipped up, which checks the 
> last stable/unstable ebuild per arch.
> 
> Running it in snort's directory, for example, yields this result:
> snort-2.0.6:  sparc
> snort-2.1.2:
> snort-2.1.3:  x86
> snort-2.2.0:  ~amd64 ~x86 ~ppc ~sparc -alpha
> 
> 
> Get it while it's hot: http://dev.gentoo.org/~eldad/earch/earch
-- 
Ned Ludd <solar@gentoo.org>
Gentoo (hardened,security,infrastructure,embedded) Developer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-11-03  0:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-30 15:59 [gentoo-dev] earch, latest version tool Eldad Zack
2004-10-30 20:37 ` Mike Doty
2004-10-30 20:54   ` Eldad Zack
2004-10-31  0:32     ` Lars Weiler
2004-10-31 13:51       ` Carsten Lohrke
2004-10-31 14:09       ` Eldad Zack
2004-10-30 21:30 ` Tuan Van
2004-10-30 21:35 ` Travis Tilley
2004-10-30 21:41   ` Mike Frysinger
2004-10-30 21:44   ` Eldad Zack
2004-10-30 22:03     ` Mike Frysinger
2004-10-31 14:05 ` Ciaran McCreesh
2004-11-03  0:50 ` Ned Ludd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox