Rewriting release_set_scripts (was: Smoketesting modulesets)



On Wed, Mar 09, 2011 at 11:49:58AM +0100, Olav Vitters wrote:
> On a related note, I'm planning to rewrite all the current release
> scripts in Python, as part of the install-module rewrite. I'll probably
> rename that script though (e.g. handle-master).
>
> This as:
> 1. I want to switch the tarballs from .tar.gz and .tar.bz2 to tar.xz
> 2. Current scripts do not support this
> 3. In the rewrite, I already handle diffs between different compression
> methods
>
> Planning something like:
>   handle-master <simple-news | simple-diff | release-suites>

I've renamed it to ftpadmin.

The following scripts exists under release_set_scripts:
 - release
 - release-diff
 - release-news
 - release-suites
 - simple-diff
 - simple-news

I've currently rewritten:
 - release-diff
 - simple-diff

Going to work on release-diff (sending stuff to stdout).

I made it similar, but not exactly the same as the old version. The
--same argument is supported btw.

Note: In case of multiple versions of 1 module, it compares the newest
versions available.

Example output:
$ ftpadmin release-diff -s apps 2.91.90 2.91.91
| WARNING: Running in DEBUG MODE!
| alacarte                  0.13.2     -same-
| anjuta                    2.91.90.0  2.91.91.0
| cheese                    2.91.4     2.91.91.1
| devhelp                   2.91.90    2.91.91.2
| ekiga                     3.3.0      -same-
| evolution                 2.91.90    2.91.91
| file-roller               2.91.90    2.91.91
| gedit                     2.91.7     2.91.8
| gnome-games               2.91.90    -same-
| gnome-nettool             2.91.5     -same-
| hamster-applet            2.91.2     -same-
| seahorse                  2.91.4     2.91.91
| tomboy                    1.5.2      -same-
| vinagre                   2.91.7     2.91.91

$ time ftpadmin simple-diff 2.91.90 2.91.91
| WARNING: Running in DEBUG MODE!
| == core ==
|
| GConf                     2.32.1     -same-
| atk                       1.33.6     -same-
| atkmm                     2.22.2     -same-
| brasero                   2.91.90    2.91.91
| clutter                   1.6.6      1.6.8
| clutter-gtk               0.91.8     -same-
| dconf                     0.7.2      -same-
| empathy                   2.91.90    2.91.91
| eog                       2.91.90    2.91.91
| epiphany                  2.91.90    2.91.91
| evince                    2.91.90    -same-
| evolution-data-server     2.91.90    2.91.91
| gcalctool                 5.91.90    -same-
| gdk-pixbuf                2.23.0     2.23.1
| gjs                       0.7.11     0.7.13
| glib                      2.28.1     2.28.2
| glib-networking           2.28.0     -same-
| glibmm                    2.27.94    2.27.95
| gnome-backgrounds         2.32.0     -same-
| gnome-bluetooth           2.91.5     2.91.91
| gnome-control-center      2.91.90    2.91.91
| gnome-desktop             2.91.90    2.91.91
| gnome-disk-utility        2.91.6     -same-
| gnome-doc-utils           0.20.4     -same-
| gnome-icon-theme          2.91.7     -same-
| gnome-icon-theme-extras   2.90.7     -same-
| gnome-icon-theme-symbolic 2.91.7     -same-
| gnome-keyring             2.91.4     2.91.92
| gnome-menus               2.91.6     2.91.91
| gnome-packagekit          2.91.90    -same-
| gnome-panel               2.91.90    2.91.91
| gnome-power-manager       2.91.90    -same-
| gnome-screensaver         2.91.90    2.91.91
| gnome-session             2.91.90.1  2.91.91.3
| gnome-settings-daemon     2.91.90    2.91.91
| gnome-shell               2.91.90    2.91.91
| gnome-system-monitor      2.99.0     2.99.1
| gnome-terminal            2.33.90    -same-
| gnome-themes-standard     2.91.90.1  2.91.91
| gnome-user-docs           2.91.90    2.91.91
| gnome-user-share          2.91.6     -same-
| gnome-utils               2.91.90    -same-
| gobject-introspection     0.10.3     0.10.4
| gsettings-desktop-schemas 0.1.7      2.91.91
| gst-plugins-base          0.10.32    -same-
| gst-plugins-good          0.10.27    0.10.28
| gstreamer                 0.10.32    -same-
| gtk+                      3.0.1      3.0.2
| gtk-doc                   1.16       1.17
| gtkmm                     2.99.5     -same-
| gucharmap                 2.33.2     -same-
| gvfs                      1.7.2      -same-
| libgnome-keyring          2.32.0     2.91.92
| libgnomekbd               2.91.90    2.91.91
| libgtop                   2.28.2     -same-
| libgweather               2.91.6     -same-
| librsvg                   2.32.1     -same-
| libsoup                   2.33.90    -same-
| libwnck                   2.91.90    -same-
| metacity                  2.30.3     -same-
| mm-common                 0.9.2      -same-
| mutter                    2.91.90    2.91.91
| nautilus                  2.91.90.1  2.91.91
| network-manager-applet    0.8.2      0.8.996
| notification-daemon       0.7.1      -same-
| pango                     1.28.3     -same-
| pangomm                   2.27.1     -same-
| totem                     2.91.7     2.91.91
| totem-pl-parser           2.32.3     -same-
| vino                      2.99.2     2.99.3
| vte                       0.27.90    -same-
| yelp                      2.91.90    2.91.91
| yelp-xsl                  2.91.90    2.91.91
| zenity                    2.91.90    -same-
|
| == apps ==
|
| alacarte                  0.13.2     -same-
| anjuta                    2.91.90.0  2.91.91.0
| cheese                    2.91.4     2.91.91.1
| devhelp                   2.91.90    2.91.91.2
| ekiga                     3.3.0      -same-
| evolution                 2.91.90    2.91.91
| file-roller               2.91.90    2.91.91
| gedit                     2.91.7     2.91.8
| gnome-games               2.91.90    -same-
| gnome-nettool             2.91.5     -same-
| hamster-applet            2.91.2     -same-
| seahorse                  2.91.4     2.91.91
| tomboy                    1.5.2      -same-
| vinagre                   2.91.7     2.91.91


--
Regards,
Olav


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]