April 7, 2009

Introducing osc-plugin-overview

You maintain some packages in your repository, which you package from some upstream source. You want to quickly compare versions across your development project, Factory, and upstream. You want to configure what is the package list and to display packages only if they are outdated.

You want to configure a view writing myview.ini to ~/.osc-overview which says something like:

[someview]
repos=obs://devel:languages:ruby:extensions
         ,gem://gems.rubyforge.org
packages=$1
filter.older=$1

And you want to type “osc overview myview” and get back something like:

table

You can configure as many package data sources as you want for a view. No limit for 2 columns. You can specify from which repo the package list comes from using the $x macros. Same with the older version filter.

Then osc-plugin-overview may be what you are looking for, or even better, it may be soon, when we add more features. See more complete description, where to download it and planned features in its wiki webpage.

This is the first release so it includes support for getting information from build service projects, submit requests against projects, upstream gem servers and that is. I expect to add stuff like customizable output (machine readable, patchnfo, changes, diff) and other sources like local directories and upstream ftp servers. Help welcomed!

Comments (3)

  1. April 8, 2009
    Michal Vyskocil said...

    Sounds good. Vintz have developed a similar feature for osc gnome and I have done something similar in osc contrib, because we considered it necessary.

    But we both have a server part, which makes a reusing impossible (until OBS will provide some level of support).

    BTW: you can use a Marcus’s list http://www.suse.de/~meissner/Factory.updated.package as another source.

  2. June 1, 2009
    Martin Vidner said...

    Nice!

    Concerning the config example, the repos must be on a single line (otherwise you get ‘Failed to reach a server: no host given’) and for 0.2, the value for packages is not $1 but *1

    I found that it gets confused when a linked package gets a new version and OBS generates a diff for you, as with https://api.opensuse.org/source/YaST:Head/yast2-core?rev=4 . Then osc overview reports the originally linked version even though there is a new one already.

  3. August 4, 2009

    [...] Get it from [the build service], or visit the home page here. You can read the introductory post here. [...]

Leave a Reply