[opensuse-gnome] (initial try at) patch count
Hi I'm writing an OSC plugin (http://en.opensuse.org/Build_Service/osc_plugins) for adding a listpatches command. I haven't been able to get the list of files from GNOME:UNSTABLE (just a single _link entry shows up), so this is from GNOME:STABLE: http://www.gnome.org/~rodrigo/GNOME:STABLE-2007-09-21-17.53.36 Take into account that some patches might be disabled in the .spec file, so not all of them are used, but at least it can give us a first impression of what packages need more attention. -- Rodrigo Moya <rodrigo@novell.com> -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Fri, 2007-09-21 at 18:01 +0200, Rodrigo Moya wrote:
Hi
I'm writing an OSC plugin (http://en.opensuse.org/Build_Service/osc_plugins) for adding a listpatches command. I haven't been able to get the list of files from GNOME:UNSTABLE (just a single _link entry shows up), so this is from GNOME:STABLE:
http://www.gnome.org/~rodrigo/GNOME:STABLE-2007-09-21-17.53.36
Take into account that some patches might be disabled in the .spec file, so not all of them are used, but at least it can give us a first impression of what packages need more attention.
a new version of the report: http://www.gnome.org/~rodrigo/GNOME:STABLE-patchcount.txt it contains a count at the end with the total number of bugs. I'm now adding individual counters per package and, at the end, a list with the packages ordered by number of patches Find attached the plugin, just copy it to ~/.osc-plugins/ To run it: osc listpatches $repository for instance: osc listpatches GNOME:STABLE -- Rodrigo Moya <rodrigo@novell.com>
On Fri, 2007-09-21 at 18:47 +0200, Rodrigo Moya wrote:
a new version of the report:
Wow, this is very nice! It will be even nicer once we start having metadata about the patches themselves. I was thinking of something ultra-simple... before the "---" in patches, put in this: bug: https://bugzilla.novell.com/show_bug.cgi?id=12345 upstream-bug: http://bugzilla.gnome.org/show_bug.cgi?id=23456 status: { suse-only | sent-upstream | already-upstream } Then the plugin would read that info and get better statistics. Federico -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Fri, 2007-09-21 at 16:31 -0500, Federico Mena Quintero wrote:
On Fri, 2007-09-21 at 18:47 +0200, Rodrigo Moya wrote:
a new version of the report:
Wow, this is very nice! It will be even nicer once we start having metadata about the patches themselves.
Yeah, gret job Rodrigo!
I was thinking of something ultra-simple... before the "---" in patches, put in this:
bug: https://bugzilla.novell.com/show_bug.cgi?id=12345 upstream-bug: http://bugzilla.gnome.org/show_bug.cgi?id=23456 status: { suse-only | sent-upstream | already-upstream }
Then the plugin would read that info and get better statistics.
This seems like a great idea to me. The only other meta-data that I would like to see is who authored the patch. I found it difficult as a packager at times to decipher from the ChangeLog to whom I should attribute a given patch. Invariably in the case where we don't succeed in getting every patch upstream, it will no longer apply with the next major version update. In some of these cases, where the level of complexity is high, it is nice to defer to someone who has already waded through the code once before. author: { <who@foo.org> | from-upstream-bug | from-distro-<foo> } -Gary -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Fri, 2007-09-21 at 16:31 -0500, Federico Mena Quintero wrote:
On Fri, 2007-09-21 at 18:47 +0200, Rodrigo Moya wrote:
a new version of the report:
Wow, this is very nice! It will be even nicer once we start having metadata about the patches themselves.
I was thinking of something ultra-simple... before the "---" in patches, put in this:
bug: https://bugzilla.novell.com/show_bug.cgi?id=12345 upstream-bug: http://bugzilla.gnome.org/show_bug.cgi?id=23456 status: { suse-only | sent-upstream | already-upstream }
Then the plugin would read that info and get better statistics.
you mean adding that as well as what we came up with at http://en.opensuse.org/GNOME/Patches ? Or do you mean using this format rather than the one we added to the wiki? -- Rodrigo Moya <rodrigo@novell.com> -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (3)
-
Federico Mena Quintero
-
Gary Ekker
-
Rodrigo Moya