osc contrib plugin: new todo command
Hi all, I'd like to announce that I implemented a todo command for osc-contrib. This command shows an information about packages which should be updated. The example output looks like: $ osc cb todo Package New Current Maintainer ----------------------------------------------- filelight 1.9-rc2 1.0 (hgraeber) tor 0.2.1.9-alpha 0.2.0.34 (m4r3k) pekwm 0.1.9 0.1.10 (-miska-) subdownloader 2.0.9.3 2.0.9 (prusnak) geany 0.16 0.15 (prusnak) lynis 1.2.2 1.2.3 (mrdocs, saigkill) schemik 1.2.34.2 1.2.34.1 (mvyskocil) ----------------------------------------------- (This is just for your information. You decide whether to upgrade a package or not.) Technical background: Command is just a viewer of new_version.csv [1]. The list is daily generated from Marcus e-mails (I have some cron -> fetchmail -> python script automation) and contains a packages which was not yet updated. The osc contrib todo downloads this list and show it. It uses some basic caching (stored in /var/tmp/osc-contrib-todo.cache) and download a new version only if it has newest 'Last-Modified' HTTP Header. http://pack.suse.cz/mvyskocil/contrib-new-version/new_version.csv Best regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Hey Michal, Le mercredi 11 mars 2009, à 12:52 +0100, Michal Vyskocil a écrit :
Hi all,
I'd like to announce that I implemented a todo command for osc-contrib. This command shows an information about packages which should be updated. The example output looks like:
I'm a bit worried that we're duplicating work in the osc gnome and contrib plugins. There's been quite some infrastructure work behind the osc gnome plugin to handle "todo", but also an "update" command that could be extremly useful for contrib too. What can we do to stop duplicating work? (and I'm fine renaming the osc gnome plugin, btw) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wednesday 11 of March 2009 13:38:24 Vincent Untz wrote:
Hey Michal,
Le mercredi 11 mars 2009, à 12:52 +0100, Michal Vyskocil a écrit :
Hi all,
Hi Vincent,
I'd like to announce that I implemented a todo command for osc-contrib. This command shows an information about packages which should be updated. The example output looks like:
I'm a bit worried that we're duplicating work in the osc gnome and contrib plugins. There's been quite some infrastructure work behind the osc gnome plugin to handle "todo", but also an "update" command that could be extremly useful for contrib too.
What can we do to stop duplicating work? (and I'm fine renaming the osc gnome plugin, btw)
I suppose that renaming is not necessary - I (hopefully) can rewrite a osc- contrib to use your common code from oscpluginsgnome and send you a patches. But the osc-gnome is huge and it's not easy to understood it quickly :-). I recommend to move the technical discussion out from this ML and continue with a private discussion via email, or IRC, ... . Michal Vyskocil
Vincent
-- Les gens heureux ne sont pas pressés.
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
participants (2)
-
Michal Vyskocil
-
Vincent Untz