unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GNOME updater
@ 2015-12-07 22:40 Ludovic Courtès
  2015-12-08 13:18 ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-12-07 22:40 UTC (permalink / raw)
  To: Guix-devel

I was distracted from important stuff and found myself writing a GNOME
updater, brought to you in commit e80c0f8.

Useful, and at the same time scary:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh -t gnome 
gnu/packages/mail.scm:211:13: gmime would be upgraded from 2.6.19 to 2.6.20
gnu/packages/gtk.scm:388:12: gdk-pixbuf would be upgraded from 2.32.1 to 2.33.1
gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.19.4
gnu/packages/gtk.scm:482:12: at-spi2-atk would be upgraded from 2.18.1 to 2.19.2
gnu/packages/gtk.scm:340:12: gtksourceview would be upgraded from 3.18.1 to 3.19.2
gnu/packages/gtk.scm:826:13: pangomm would be upgraded from 2.38.1 to 2.39.1
gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.19.2
gnu/packages/gtk.scm:875:13: gtkmm would be upgraded from 3.18.0 to 3.19.3
gnu/packages/gtk.scm:852:13: atkmm would be upgraded from 2.24.1 to 2.24.2
gnu/packages/gnome.scm:3237:13: gvfs would be upgraded from 1.24.1 to 1.26.2
gnu/packages/gnome.scm:1302:13: libgnomeprint would be upgraded from 2.8.2 to 2.18.8
gnu/packages/gnome.scm:2553:13: aisleriot would be upgraded from 3.16.1 to 3.18.2
gnu/packages/gnome.scm:3538:13: yelp-tools would be upgraded from 3.16.1 to 3.18.0
gnu/packages/gnome.scm:1922:13: glib-networking would be upgraded from 2.46.1 to 2.47.1
gnu/packages/gnome.scm:1762:13: dconf would be upgraded from 0.22.0 to 0.24.0
gnu/packages/gnome.scm:1517:13: gnumeric would be upgraded from 1.12.17 to 1.12.24
gnu/packages/gnome.scm:3978:13: evolution-data-server would be upgraded from 3.18.2 to 3.19.2
gnu/packages/gnome.scm:1686:13: vte would be upgraded from 0.40.0 to 0.43.0
gnu/packages/gnome.scm:1460:13: goffice would be upgraded from 0.10.14 to 0.10.24
gnu/packages/gnome.scm:331:13: gnome-keyring would be upgraded from 3.16.0 to 3.18.3
gnu/packages/gnome.scm:3890:13: mutter would be upgraded from 3.18.1 to 3.19.2
gnu/packages/gnome.scm:748:13: glade would be upgraded from 3.8.4 to 3.19.0
gnu/packages/gnome.scm:1340:13: libgnomeprintui would be upgraded from 2.8.2 to 2.18.6
gnu/packages/gnome.scm:2589:13: devhelp would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:462:13: gsettings-desktop-schemas would be upgraded from 3.18.0 to 3.19.2
gnu/packages/gnome.scm:2167:13: gnome-terminal would be upgraded from 3.16.0 to 3.19.1
gnu/packages/gnome.scm:3806:13: gedit would be upgraded from 3.18.1 to 3.19.1
gnu/packages/gnome.scm:3691:13: file-roller would be upgraded from 3.10.0 to 3.16.4
gnu/packages/gnome.scm:2121:13: gnome-mines would be upgraded from 3.16.0 to 3.19.2
gnu/packages/gnome.scm:2764:13: clutter-gst would be upgraded from 3.0.6 to 3.0.14
gnu/packages/gnome.scm:177:13: gnome-desktop would be upgraded from 3.18.1 to 3.19.2
gnu/packages/gnome.scm:2462:13: gnome-settings-daemon would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gnome.scm:3159:12: eog would be upgraded from 3.16.2 to 3.19.2
gnu/packages/gnome.scm:3479:13: yelp-xsl would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2890:13: grilo would be upgraded from 0.2.12 to 0.2.14
gnu/packages/gnome.scm:300:13: libgnome-keyring would be upgraded from 3.6.0 to 3.12.0
gnu/packages/gnome.scm:587:13: adwaita-icon-theme would be upgraded from 3.16.2 to 3.18.0
gnu/packages/gnome.scm:774:13: libcroco would be upgraded from 0.6.8 to 0.6.9
gnu/packages/gnome.scm:398:13: evince would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:3503:13: yelp would be upgraded from 3.16.1 to 3.19.1
gnu/packages/gnome.scm:2004:13: libsoup would be upgraded from 2.52.1 to 2.53.2
gnu/packages/gnome.scm:3373:13: epiphany would be upgraded from 3.16.3 to 3.18.1
gnu/packages/gnome.scm:2326:13: geocode-glib would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:2795:13: libchamplain would be upgraded from 0.12.10 to 0.12.12
gnu/packages/gnome.scm:3940:13: gnome-online-accounts would be upgraded from 3.18.1 to 3.19.2
gnu/packages/gnome.scm:2993:13: totem would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2859:13: gnome-klotski would be upgraded from 3.16.1 to 3.19.1
gnu/packages/gnome.scm:2736:13: clutter-gtk would be upgraded from 1.6.0 to 1.6.6
gnu/packages/gnome.scm:1612:13: seahorse would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:2074:13: libsecret would be upgraded from 0.18 to 0.18.3
gnu/packages/gnome.scm:155:13: gnome-common would be upgraded from 3.14.0 to 3.18.0
gnu/packages/gnome.scm:4196:13: network-manager-applet would be upgraded from 1.0.6 to 1.0.8
gnu/packages/gnome.scm:837:13: librsvg would be upgraded from 2.40.11 to 2.40.12
gnu/packages/gnome.scm:2941:13: grilo-plugins would be upgraded from 0.2.14 to 0.2.16
gnu/packages/glib.scm:141:12: glib would be upgraded from 2.46.1 to 2.47.3
gnu/packages/glib.scm:436:13: glibmm would be upgraded from 2.46.1 to 2.47.3.1
gnu/packages/glib.scm:409:13: libsigc++ would be upgraded from 2.6.1 to 2.6.2
gnu/packages/glib.scm:230:13: gobject-introspection would be upgraded from 1.46.0 to 1.47.1
--8<---------------cut here---------------end--------------->8---

Enjoy!  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-07 22:40 GNOME updater Ludovic Courtès
@ 2015-12-08 13:18 ` Efraim Flashner
  2015-12-08 15:11   ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2015-12-08 13:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 5927 bytes --]

On Mon, 07 Dec 2015 23:40:13 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> I was distracted from important stuff and found myself writing a GNOME
> updater, brought to you in commit e80c0f8.
> 
> Useful, and at the same time scary:
> 
> --8<---------------cut here---------------start------------->8---
> $ ./pre-inst-env guix refresh -t gnome 
> gnu/packages/mail.scm:211:13: gmime would be upgraded from 2.6.19 to 2.6.20
> gnu/packages/gtk.scm:388:12: gdk-pixbuf would be upgraded from 2.32.1 to 2.33.1
> gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.19.4
> gnu/packages/gtk.scm:482:12: at-spi2-atk would be upgraded from 2.18.1 to 2.19.2
> gnu/packages/gtk.scm:340:12: gtksourceview would be upgraded from 3.18.1 to 3.19.2
> gnu/packages/gtk.scm:826:13: pangomm would be upgraded from 2.38.1 to 2.39.1
> gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.19.2
> gnu/packages/gtk.scm:875:13: gtkmm would be upgraded from 3.18.0 to 3.19.3
> gnu/packages/gtk.scm:852:13: atkmm would be upgraded from 2.24.1 to 2.24.2
> gnu/packages/gnome.scm:3237:13: gvfs would be upgraded from 1.24.1 to 1.26.2
> gnu/packages/gnome.scm:1302:13: libgnomeprint would be upgraded from 2.8.2 to 2.18.8
> gnu/packages/gnome.scm:2553:13: aisleriot would be upgraded from 3.16.1 to 3.18.2
> gnu/packages/gnome.scm:3538:13: yelp-tools would be upgraded from 3.16.1 to 3.18.0
> gnu/packages/gnome.scm:1922:13: glib-networking would be upgraded from 2.46.1 to 2.47.1
> gnu/packages/gnome.scm:1762:13: dconf would be upgraded from 0.22.0 to 0.24.0
> gnu/packages/gnome.scm:1517:13: gnumeric would be upgraded from 1.12.17 to 1.12.24
> gnu/packages/gnome.scm:3978:13: evolution-data-server would be upgraded from 3.18.2 to 3.19.2
> gnu/packages/gnome.scm:1686:13: vte would be upgraded from 0.40.0 to 0.43.0
> gnu/packages/gnome.scm:1460:13: goffice would be upgraded from 0.10.14 to 0.10.24
> gnu/packages/gnome.scm:331:13: gnome-keyring would be upgraded from 3.16.0 to 3.18.3
> gnu/packages/gnome.scm:3890:13: mutter would be upgraded from 3.18.1 to 3.19.2
> gnu/packages/gnome.scm:748:13: glade would be upgraded from 3.8.4 to 3.19.0
> gnu/packages/gnome.scm:1340:13: libgnomeprintui would be upgraded from 2.8.2 to 2.18.6
> gnu/packages/gnome.scm:2589:13: devhelp would be upgraded from 3.16.1 to 3.18.1
> gnu/packages/gnome.scm:462:13: gsettings-desktop-schemas would be upgraded from 3.18.0 to 3.19.2
> gnu/packages/gnome.scm:2167:13: gnome-terminal would be upgraded from 3.16.0 to 3.19.1
> gnu/packages/gnome.scm:3806:13: gedit would be upgraded from 3.18.1 to 3.19.1
> gnu/packages/gnome.scm:3691:13: file-roller would be upgraded from 3.10.0 to 3.16.4
> gnu/packages/gnome.scm:2121:13: gnome-mines would be upgraded from 3.16.0 to 3.19.2
> gnu/packages/gnome.scm:2764:13: clutter-gst would be upgraded from 3.0.6 to 3.0.14
> gnu/packages/gnome.scm:177:13: gnome-desktop would be upgraded from 3.18.1 to 3.19.2
> gnu/packages/gnome.scm:2462:13: gnome-settings-daemon would be upgraded from 3.16.0 to 3.18.2
> gnu/packages/gnome.scm:3159:12: eog would be upgraded from 3.16.2 to 3.19.2
> gnu/packages/gnome.scm:3479:13: yelp-xsl would be upgraded from 3.16.1 to 3.18.1
> gnu/packages/gnome.scm:2890:13: grilo would be upgraded from 0.2.12 to 0.2.14
> gnu/packages/gnome.scm:300:13: libgnome-keyring would be upgraded from 3.6.0 to 3.12.0
> gnu/packages/gnome.scm:587:13: adwaita-icon-theme would be upgraded from 3.16.2 to 3.18.0
> gnu/packages/gnome.scm:774:13: libcroco would be upgraded from 0.6.8 to 0.6.9
> gnu/packages/gnome.scm:398:13: evince would be upgraded from 3.18.1 to 3.18.2
> gnu/packages/gnome.scm:3503:13: yelp would be upgraded from 3.16.1 to 3.19.1
> gnu/packages/gnome.scm:2004:13: libsoup would be upgraded from 2.52.1 to 2.53.2
> gnu/packages/gnome.scm:3373:13: epiphany would be upgraded from 3.16.3 to 3.18.1
> gnu/packages/gnome.scm:2326:13: geocode-glib would be upgraded from 3.16.0 to 3.18.0
> gnu/packages/gnome.scm:2795:13: libchamplain would be upgraded from 0.12.10 to 0.12.12
> gnu/packages/gnome.scm:3940:13: gnome-online-accounts would be upgraded from 3.18.1 to 3.19.2
> gnu/packages/gnome.scm:2993:13: totem would be upgraded from 3.16.1 to 3.18.1
> gnu/packages/gnome.scm:2859:13: gnome-klotski would be upgraded from 3.16.1 to 3.19.1
> gnu/packages/gnome.scm:2736:13: clutter-gtk would be upgraded from 1.6.0 to 1.6.6
> gnu/packages/gnome.scm:1612:13: seahorse would be upgraded from 3.16.0 to 3.18.0
> gnu/packages/gnome.scm:2074:13: libsecret would be upgraded from 0.18 to 0.18.3
> gnu/packages/gnome.scm:155:13: gnome-common would be upgraded from 3.14.0 to 3.18.0
> gnu/packages/gnome.scm:4196:13: network-manager-applet would be upgraded from 1.0.6 to 1.0.8
> gnu/packages/gnome.scm:837:13: librsvg would be upgraded from 2.40.11 to 2.40.12
> gnu/packages/gnome.scm:2941:13: grilo-plugins would be upgraded from 0.2.14 to 0.2.16
> gnu/packages/glib.scm:141:12: glib would be upgraded from 2.46.1 to 2.47.3
> gnu/packages/glib.scm:436:13: glibmm would be upgraded from 2.46.1 to 2.47.3.1
> gnu/packages/glib.scm:409:13: libsigc++ would be upgraded from 2.6.1 to 2.6.2
> gnu/packages/glib.scm:230:13: gobject-introspection would be upgraded from 1.46.0 to 1.47.1
> --8<---------------cut here---------------end--------------->8---
> 
> Enjoy!  :-)
> 
> Ludo’.
> 

A for gnome-3, the 3.19 series AFAIK is the beta/development releases for
3.20, so would we want to update to those numbers? Also, if we don't want to
use those releases, we should check if the other packages also use the odd
(version minor-version) numbers as a symbol for beta/rc releases.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-08 13:18 ` Efraim Flashner
@ 2015-12-08 15:11   ` Ludovic Courtès
  2015-12-09 10:12     ` Efraim Flashner
  2015-12-09 15:34     ` Eric Bavier
  0 siblings, 2 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-12-08 15:11 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix-devel

Efraim Flashner <efraim@flashner.co.il> skribis:

> A for gnome-3, the 3.19 series AFAIK is the beta/development releases for
> 3.20, so would we want to update to those numbers?

Good point, we probably don’t want those.

Fixed in c499125, which leads to a shorter list:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh -t gnome 
gnu/packages/mail.scm:211:13: gmime would be upgraded from 2.6.19 to 2.6.20
gnu/packages/gtk.scm:852:13: atkmm would be upgraded from 2.24.1 to 2.24.2
gnu/packages/gnome.scm:1612:13: seahorse would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:1340:13: libgnomeprintui would be upgraded from 2.8.2 to 2.18.6
gnu/packages/gnome.scm:3373:13: epiphany would be upgraded from 3.16.3 to 3.18.1
gnu/packages/gnome.scm:331:13: gnome-keyring would be upgraded from 3.16.0 to 3.18.3
gnu/packages/gnome.scm:4196:13: network-manager-applet would be upgraded from 1.0.6 to 1.0.8
gnu/packages/gnome.scm:837:13: librsvg would be upgraded from 2.40.11 to 2.40.12
gnu/packages/gnome.scm:3538:13: yelp-tools would be upgraded from 3.16.1 to 3.18.0
gnu/packages/gnome.scm:3691:13: file-roller would be upgraded from 3.10.0 to 3.16.4
gnu/packages/gnome.scm:1517:13: gnumeric would be upgraded from 1.12.17 to 1.12.24
gnu/packages/gnome.scm:2764:13: clutter-gst would be upgraded from 3.0.6 to 3.0.14
gnu/packages/gnome.scm:1762:13: dconf would be upgraded from 0.22.0 to 0.24.0
gnu/packages/gnome.scm:2941:13: grilo-plugins would be upgraded from 0.2.14 to 0.2.16
gnu/packages/gnome.scm:3237:13: gvfs would be upgraded from 1.24.1 to 1.26.2
gnu/packages/gnome.scm:2553:13: aisleriot would be upgraded from 3.16.1 to 3.18.2
gnu/packages/gnome.scm:2795:13: libchamplain would be upgraded from 0.12.10 to 0.12.12
gnu/packages/gnome.scm:3479:13: yelp-xsl would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2074:13: libsecret would be upgraded from 0.18 to 0.18.3
gnu/packages/gnome.scm:2736:13: clutter-gtk would be upgraded from 1.6.0 to 1.6.6
gnu/packages/gnome.scm:587:13: adwaita-icon-theme would be upgraded from 3.16.2 to 3.18.0
gnu/packages/gnome.scm:1460:13: goffice would be upgraded from 0.10.14 to 0.10.24
gnu/packages/gnome.scm:398:13: evince would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:300:13: libgnome-keyring would be upgraded from 3.6.0 to 3.12.0
gnu/packages/gnome.scm:2326:13: geocode-glib would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:2993:13: totem would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:1302:13: libgnomeprint would be upgraded from 2.8.2 to 2.18.8
gnu/packages/gnome.scm:2589:13: devhelp would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2890:13: grilo would be upgraded from 0.2.12 to 0.2.14
gnu/packages/gnome.scm:774:13: libcroco would be upgraded from 0.6.8 to 0.6.9
gnu/packages/gnome.scm:155:13: gnome-common would be upgraded from 3.14.0 to 3.18.0
gnu/packages/gnome.scm:2462:13: gnome-settings-daemon would be upgraded from 3.16.0 to 3.18.2
gnu/packages/glib.scm:409:13: libsigc++ would be upgraded from 2.6.1 to 2.6.2
--8<---------------cut here---------------end--------------->8---

> Also, if we don't want to use those releases, we should check if the
> other packages also use the odd (version minor-version) numbers as a
> symbol for beta/rc releases.

This is checked for GNU packages already, and I assume there’s no notion
of “unstable” releases on repos such as PyPI and CRAN?

Thanks for your feedback!

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-08 15:11   ` Ludovic Courtès
@ 2015-12-09 10:12     ` Efraim Flashner
  2015-12-09 17:33       ` Ludovic Courtès
  2015-12-09 15:34     ` Eric Bavier
  1 sibling, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2015-12-09 10:12 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

On Tue, 08 Dec 2015 16:11:55 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
> > A for gnome-3, the 3.19 series AFAIK is the beta/development releases for
> > 3.20, so would we want to update to those numbers?  
> 
> Good point, we probably don’t want those.
> 
> Fixed in c499125, which leads to a shorter list:
> 
>[snip]
 
it might need a bit more work. For example, vte is at 0.40.0 and current
upstream is 0.43.0, but presumably there is a 0.42.x release in there
somewhere. Or at least for gnome-mines and -terminal, I'm sure there's a 3.18
release between our 3.16.x and upstream 3.19.x.

I tried a bit at the logic but wasn't able to quickly figure something out.
As a test at-spi2-atk in gtk.scm can be upgraded to 2.18.3.

> > Also, if we don't want to use those releases, we should check if the
> > other packages also use the odd (version minor-version) numbers as a
> > symbol for beta/rc releases.  
> 
> This is checked for GNU packages already, and I assume there’s no notion
> of “unstable” releases on repos such as PyPI and CRAN?

Could this also be a problem for GNU packages? If we didn't update to the
latest release before they put out a new development version?

> 
> Thanks for your feedback!
> 
> Ludo’.

Always happy to help :)

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-08 15:11   ` Ludovic Courtès
  2015-12-09 10:12     ` Efraim Flashner
@ 2015-12-09 15:34     ` Eric Bavier
  1 sibling, 0 replies; 8+ messages in thread
From: Eric Bavier @ 2015-12-09 15:34 UTC (permalink / raw)
  To: ludo; +Cc: Guix-devel

On 2015-12-08 09:11, ludo@gnu.org wrote:
>> Also, if we don't want to use those releases, we should check if the
>> other packages also use the odd (version minor-version) numbers as a
>> symbol for beta/rc releases.
> 
> This is checked for GNU packages already, and I assume there’s no 
> notion
> of “unstable” releases on repos such as PyPI and CRAN?

"developer" releases are sometimes uploaded to CPAN.  I'll try to 
address that in the cpan updater I'm working on.

-- 
`~Eric

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-09 10:12     ` Efraim Flashner
@ 2015-12-09 17:33       ` Ludovic Courtès
  2015-12-09 17:58         ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-12-09 17:33 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]

Efraim Flashner <efraim@flashner.co.il> skribis:

> On Tue, 08 Dec 2015 16:11:55 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Efraim Flashner <efraim@flashner.co.il> skribis:
>> 
>> > A for gnome-3, the 3.19 series AFAIK is the beta/development releases for
>> > 3.20, so would we want to update to those numbers?  
>> 
>> Good point, we probably don’t want those.
>> 
>> Fixed in c499125, which leads to a shorter list:
>> 
>>[snip]
>  
> it might need a bit more work. For example, vte is at 0.40.0 and current
> upstream is 0.43.0, but presumably there is a 0.42.x release in there
> somewhere. Or at least for gnome-mines and -terminal, I'm sure there's a 3.18
> release between our 3.16.x and upstream 3.19.x.
>
> I tried a bit at the logic but wasn't able to quickly figure something out.
> As a test at-spi2-atk in gtk.scm can be upgraded to 2.18.3.

With the patch below, here’s what I get:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh at-spi2-core gtk+ gnome-mines vte gnome-terminal 
gnu/packages/gnome.scm:2168:13: gnome-terminal would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gnome.scm:1687:13: vte would be upgraded from 0.40.0 to 0.42.1
gnu/packages/gnome.scm:2122:13: gnome-mines would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.18.6
gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.18.3
--8<---------------cut here---------------end--------------->8---

That looks good now, no?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2566 bytes --]

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 910270f..fb54036 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -328,8 +328,8 @@ pairs.  Example: (\"mit-scheme-9.0.1\" . \"/gnu/mit-scheme/stable.pkg/9.0.1\").
 under DIRECTORY, or #f.  Use FTP-OPEN and FTP-CLOSE to open (resp. close) FTP
 connections; this can be useful to reuse connections.
 
-KEEP-FILE? is a predicate to decide whether to consider a given file (source
-tarball) as a valid candidate based on its name.
+KEEP-FILE? is a predicate to decide whether to enter a directory and to
+consider a given file (source tarball) as a valid candidate based on its name.
 
 FILE->SIGNATURE must be a procedure; it is passed a source file URL and must
 return the corresponding signature URL, or #f it signatures are unavailable."
@@ -376,7 +376,7 @@ return the corresponding signature URL, or #f it signatures are unavailable."
                                   (("w32" 'directory . _)
                                    #f)
                                   (((? contains-digit? dir) 'directory . _)
-                                   dir)
+                                   (and (keep-file? dir) dir))
                                   (_ #f))
                                 entries))
 
@@ -480,14 +480,13 @@ elpa.gnu.org, and all the GNOME packages."
     (match (string-tokenize (version-major+minor version)
                             %not-dot)
       (((= string->number major) (= string->number minor))
-       (even? minor))
+       (and minor (even? minor)))
       (_
        #t)))                                      ;cross fingers
 
-  (define (even-numbered-tarball? file)
-    (let-values (((name version) (gnu-package-name->name+version file)))
-      (and version
-           (even-minor-version? version))))
+  (define (even-numbered? file)
+    (let-values (((name version) (package-name->name+version file)))
+      (even-minor-version? (or version name))))
 
   (false-if-ftp-error
    (latest-ftp-release package
@@ -501,7 +500,7 @@ elpa.gnu.org, and all the GNOME packages."
                        ;; <https://www.gnome.org/gnome-3/source/> explains
                        ;; that odd minor version numbers represent development
                        ;; releases, which we are usually not interested in.
-                       #:keep-file? even-numbered-tarball?
+                       #:keep-file? even-numbered?
 
                        ;; ftp.gnome.org provides no signatures, only
                        ;; checksums.

[-- Attachment #3: Type: text/plain, Size: 643 bytes --]


>> > Also, if we don't want to use those releases, we should check if the
>> > other packages also use the odd (version minor-version) numbers as a
>> > symbol for beta/rc releases.  
>> 
>> This is checked for GNU packages already, and I assume there’s no notion
>> of “unstable” releases on repos such as PyPI and CRAN?
>
> Could this also be a problem for GNU packages? If we didn't update to the
> latest release before they put out a new development version?

There could be exception, but in general, GNU packages put development
releases on alpha.gnu.org, so we shouldn’t have this problem.

Thanks!

Ludo’.

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-09 17:33       ` Ludovic Courtès
@ 2015-12-09 17:58         ` Efraim Flashner
  2015-12-09 21:15           ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2015-12-09 17:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

On Wed, 09 Dec 2015 18:33:39 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
> 
> With the patch below, here’s what I get:
> 
> --8<---------------cut here---------------start------------->8---
> $ ./pre-inst-env guix refresh at-spi2-core gtk+ gnome-mines vte gnome-terminal 
> gnu/packages/gnome.scm:2168:13: gnome-terminal would be upgraded from 3.16.0 to 3.18.2
> gnu/packages/gnome.scm:1687:13: vte would be upgraded from 0.40.0 to 0.42.1
> gnu/packages/gnome.scm:2122:13: gnome-mines would be upgraded from 3.16.0 to 3.18.2
> gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.18.6
> gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.18.3
> --8<---------------cut here---------------end--------------->8---
> 
> That looks good now, no?
> 

looks good, as long as we're also getting all the other ones also :)
Thanks!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GNOME updater
  2015-12-09 17:58         ` Efraim Flashner
@ 2015-12-09 21:15           ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-12-09 21:15 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix-devel

Efraim Flashner <efraim@flashner.co.il> skribis:

> On Wed, 09 Dec 2015 18:33:39 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Efraim Flashner <efraim@flashner.co.il> skribis:
>> 
>>  [...]  
>>  [...]  
>>  [...]  
>>  [...]  
>>  [...]  
>> 
>> With the patch below, here’s what I get:
>> 
>> --8<---------------cut here---------------start------------->8---
>> $ ./pre-inst-env guix refresh at-spi2-core gtk+ gnome-mines vte gnome-terminal 
>> gnu/packages/gnome.scm:2168:13: gnome-terminal would be upgraded from 3.16.0 to 3.18.2
>> gnu/packages/gnome.scm:1687:13: vte would be upgraded from 0.40.0 to 0.42.1
>> gnu/packages/gnome.scm:2122:13: gnome-mines would be upgraded from 3.16.0 to 3.18.2
>> gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.18.6
>> gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.18.3
>> --8<---------------cut here---------------end--------------->8---
>> 
>> That looks good now, no?
>> 
>
> looks good, as long as we're also getting all the other ones also :)
> Thanks!

Great, committing.  And yes, we do have many others:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh -t gnome
gnu/packages/gtk.scm:852:13: atkmm would be upgraded from 2.24.1 to 2.24.2
gnu/packages/gtk.scm:573:12: gtk+ would be upgraded from 3.18.2 to 3.18.6
gnu/packages/gtk.scm:437:12: at-spi2-core would be upgraded from 2.18.1 to 2.18.3
gnu/packages/gtk.scm:388:12: gdk-pixbuf would be upgraded from 2.32.1 to 2.32.2
gnu/packages/gnome.scm:155:13: gnome-common would be upgraded from 3.14.0 to 3.18.0
gnu/packages/gnome.scm:2005:13: libsoup would be upgraded from 2.52.1 to 2.52.2
gnu/packages/gnome.scm:2327:13: geocode-glib would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:748:13: glade would be upgraded from 3.8.5 to 3.18.3
gnu/packages/gnome.scm:3539:13: yelp-tools would be upgraded from 3.16.1 to 3.18.0
gnu/packages/gnome.scm:1461:13: goffice would be upgraded from 0.10.14 to 0.10.24
gnu/packages/gnome.scm:2765:13: clutter-gst would be upgraded from 3.0.6 to 3.0.14
gnu/packages/gnome.scm:3374:13: epiphany would be upgraded from 3.16.3 to 3.18.1
gnu/packages/gnome.scm:1341:13: libgnomeprintui would be upgraded from 2.8.2 to 2.18.6
gnu/packages/gnome.scm:177:13: gnome-desktop would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:2463:13: gnome-settings-daemon would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gnome.scm:2994:13: totem would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:1687:13: vte would be upgraded from 0.40.0 to 0.42.1
gnu/packages/gnome.scm:300:13: libgnome-keyring would be upgraded from 3.6.0 to 3.12.0
gnu/packages/gnome.scm:3692:13: file-roller would be upgraded from 3.10.0 to 3.16.4
gnu/packages/gnome.scm:462:13: gsettings-desktop-schemas would be upgraded from 3.18.0 to 3.18.1
gnu/packages/gnome.scm:2891:13: grilo would be upgraded from 0.2.12 to 0.2.14
gnu/packages/gnome.scm:2075:13: libsecret would be upgraded from 0.18 to 0.18.3
gnu/packages/gnome.scm:1763:13: dconf would be upgraded from 0.22.0 to 0.24.0
gnu/packages/gnome.scm:4197:13: network-manager-applet would be upgraded from 1.0.6 to 1.0.8
gnu/packages/gnome.scm:1303:13: libgnomeprint would be upgraded from 2.8.2 to 2.18.8
gnu/packages/gnome.scm:3238:13: gvfs would be upgraded from 1.24.1 to 1.26.2
gnu/packages/gnome.scm:3160:12: eog would be upgraded from 3.16.2 to 3.18.1
gnu/packages/gnome.scm:3891:13: mutter would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:1613:13: seahorse would be upgraded from 3.16.0 to 3.18.0
gnu/packages/gnome.scm:838:13: librsvg would be upgraded from 2.40.11 to 2.40.12
gnu/packages/gnome.scm:3807:13: gedit would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:775:13: libcroco would be upgraded from 0.6.8 to 0.6.9
gnu/packages/gnome.scm:2796:13: libchamplain would be upgraded from 0.12.10 to 0.12.12
gnu/packages/gnome.scm:3504:13: yelp would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2860:13: gnome-klotski would be upgraded from 3.16.1 to 3.18.2
gnu/packages/gnome.scm:2737:13: clutter-gtk would be upgraded from 1.6.0 to 1.6.6
gnu/packages/gnome.scm:331:13: gnome-keyring would be upgraded from 3.16.0 to 3.18.3
gnu/packages/gnome.scm:2122:13: gnome-mines would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gnome.scm:1518:13: gnumeric would be upgraded from 1.12.17 to 1.12.24
gnu/packages/gnome.scm:587:13: adwaita-icon-theme would be upgraded from 3.16.2 to 3.18.0
gnu/packages/gnome.scm:2942:13: grilo-plugins would be upgraded from 0.2.14 to 0.2.16
gnu/packages/gnome.scm:3480:13: yelp-xsl would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:2554:13: aisleriot would be upgraded from 3.16.1 to 3.18.2
gnu/packages/gnome.scm:2590:13: devhelp would be upgraded from 3.16.1 to 3.18.1
gnu/packages/gnome.scm:398:13: evince would be upgraded from 3.18.1 to 3.18.2
gnu/packages/gnome.scm:2168:13: gnome-terminal would be upgraded from 3.16.0 to 3.18.2
gnu/packages/gnome.scm:3941:13: gnome-online-accounts would be upgraded from 3.18.1 to 3.18.2.1
gnu/packages/glib.scm:436:13: glibmm would be upgraded from 2.46.1 to 2.46.2
gnu/packages/glib.scm:141:12: glib would be upgraded from 2.46.1 to 2.46.2
gnu/packages/glib.scm:409:13: libsigc++ would be upgraded from 2.6.1 to 2.6.2
--8<---------------cut here---------------end--------------->8---

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-09 21:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 22:40 GNOME updater Ludovic Courtès
2015-12-08 13:18 ` Efraim Flashner
2015-12-08 15:11   ` Ludovic Courtès
2015-12-09 10:12     ` Efraim Flashner
2015-12-09 17:33       ` Ludovic Courtès
2015-12-09 17:58         ` Efraim Flashner
2015-12-09 21:15           ` Ludovic Courtès
2015-12-09 15:34     ` Eric Bavier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).