* Re: [gentoo-dev] Please do not stabilize packages for arches you cannot test for
[not found] ` <20031227191049.224db3dc.gmsoft@gentoo.org>
@ 2003-12-28 16:44 ` Jason Wever
2003-12-28 19:09 ` Guy Martin
0 siblings, 1 reply; 3+ messages in thread
From: Jason Wever @ 2003-12-28 16:44 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]
On Sat, 27 Dec 2003 19:10:49 +0100
Guy Martin <gmsoft@gentoo.org> wrote:
> It's not so hard to keep your arch up to date with the maximum of
> packages. But it's harder to know which packages you have to test.
> That's why I've done this little tool a while ago :
> http://dev.gentoo.org/~gmsoft/tools/imlate . Beeing nearly alone for
> hppa to test everything, my arch have only 52 packages 'late' compared
> with x86.
If anyone is interested, I've attached a diff for imlate to format the
output into more of a table. Makes it a little more readable.
Cheers,
--
Jason Wever
Gentoo/Sparc Co-Team Lead
[-- Attachment #1.2: imlate.diff --]
[-- Type: text/x-diff, Size: 745 bytes --]
--- imlate.orig 2003-12-27 19:48:33.000000000 -0500
+++ imlate 2003-12-28 11:35:13.000000000 -0500
@@ -22,6 +22,8 @@
total = 0
all_cp_list = portage.portdb.cp_all()
+print my_group.ljust(40) + "\t" + target_group.ljust(40)
+print "-" * 80
for cp in all_cp_list:
cpv = portage.portdb.cp_list(cp)
@@ -37,6 +39,6 @@
if not len(target_list): continue
target_newest = portage.best(target_list)
if not portage.best([my_newest, target_newest]) == my_newest :
- print "On " + my_group + " we have " + my_newest + " but on " + target_group + ", we already have " + target_newest
+ print my_newest.ljust(40) + "\t" + target_newest.ljust(40)
total = total + 1
print "A total of " + str(total) + " ebuilds seems outaded on " + my_group
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Please do not stabilize packages for arches you cannot test for
2003-12-28 16:44 ` [gentoo-dev] Please do not stabilize packages for arches you cannot test for Jason Wever
@ 2003-12-28 19:09 ` Guy Martin
2003-12-31 1:50 ` Jason Wever
0 siblings, 1 reply; 3+ messages in thread
From: Guy Martin @ 2003-12-28 19:09 UTC (permalink / raw
To: gentoo-dev
On Sun, 28 Dec 2003 11:44:31 -0500
Jason Wever <weeve@gentoo.org> wrote:
>
> If anyone is interested, I've attached a diff for imlate to format the
> output into more of a table. Makes it a little more readable.
>
Thanks for this awesome patch. I've also made a bugfix. It now checks if
ebuilds are masked or not in package.mask.
--
Guy Martin
Gentoo Linux - HPPA port Lead / IPv6 team
Lug Charleroi (Belgium)
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Please do not stabilize packages for arches you cannot test for
2003-12-28 19:09 ` Guy Martin
@ 2003-12-31 1:50 ` Jason Wever
0 siblings, 0 replies; 3+ messages in thread
From: Jason Wever @ 2003-12-31 1:50 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 1013 bytes --]
On Sun, 28 Dec 2003 20:09:54 +0100
Guy Martin <gmsoft@gentoo.org> wrote:
> >
> > If anyone is interested, I've attached a diff for imlate to format the
> > output into more of a table. Makes it a little more readable.
> >
> Thanks for this awesome patch. I've also made a bugfix. It now checks if
> ebuilds are masked or not in package.mask.
Since I have this strange fetish to make things look nice in an 80 column
wide xterm, i've get again messed with the output of imlate. This is
patched against the latest imlate available from GMsoft.
Now, imlate will report the package name, version for test arch, and
version for baseline arch. An example is below (though slightly adjusted
to make it look purdy in the mail clients)..
Package Name sparc x86
-----------------------------------------------------------------
app-admin/pwgen 2.01-r0 2.03-r1
Ahh, it's beautiful.
--
Jason Wever
Gentoo/Sparc Co-Team Lead
[-- Attachment #1.2: imlate.diff --]
[-- Type: text/x-diff, Size: 1317 bytes --]
--- imlate.orig 2003-12-30 20:42:51.000000000 -0500
+++ imlate 2003-12-30 20:28:50.000000000 -0500
@@ -40,7 +40,7 @@
total = 0
all_cp_list = portage.portdb.cp_all()
-print my_group.ljust(40) + "\t" + target_group.ljust(40)
+print "Package Name".ljust(40) + my_group.ljust(20) + target_group.ljust(20)
print "-" * 80
for cp in all_cp_list:
cpv = portage.portdb.cp_list(cp)
@@ -49,12 +49,19 @@
my_list = portage.portdb.gvisible(cpv)
if not len(my_list): continue
my_newest = portage.best(my_list);
-
+
portage.groups = [target_group]
target_list = portage.portdb.gvisible(cpv)
if not len(target_list): continue
target_newest = portage.best(target_list)
if not portage.best([my_newest, target_newest]) == my_newest :
- print my_newest.ljust(40) + "\t" + target_newest.ljust(40)
+ my_newest_list = portage.catpkgsplit(my_newest)
+ target_newest_list = portage.catpkgsplit(target_newest)
+
+ package_name = my_newest_list[0] + '/' + my_newest_list[1]
+ my_newest_ver = my_newest_list[2] + '-' + my_newest_list[3]
+ target_newest_ver = target_newest_list[2] + '-' + target_newest_list[3]
+ print package_name.ljust(40) + my_newest_ver.ljust(20) + target_newest_ver.ljust(20)
total = total + 1
+print "-" * 80
print "A total of " + str(total) + " ebuilds seems outaded on " + my_group
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-31 1:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20031226084002.0cb464bd@enterprise.weeve.org>
[not found] ` <200312261529.35185.pauldv@gentoo.org>
[not found] ` <20031226093424.256a39ea@enterprise.weeve.org>
[not found] ` <200312262302.17682.pauldv@gentoo.org>
[not found] ` <1072482542.1812.3.camel@icebook.darkstar.net>
[not found] ` <1072547343.14375.83.camel@rivendell>
[not found] ` <20031227191049.224db3dc.gmsoft@gentoo.org>
2003-12-28 16:44 ` [gentoo-dev] Please do not stabilize packages for arches you cannot test for Jason Wever
2003-12-28 19:09 ` Guy Martin
2003-12-31 1:50 ` Jason Wever
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox