all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A pleasant low-hanging fruit
@ 2013-03-05 19:47 Ludovic Courtès
  2013-03-07 19:25 ` Alex Sassmannshausen
  2013-03-10 17:06 ` Cyril Roelandt
  0 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2013-03-05 19:47 UTC (permalink / raw)
  To: bug-guix

Hi!

I just had a brain wave and couldn’t resist: commit ef010c0 changes
‘guix package --install’ such that, when installing a GNU package, it
automatically reports the availability of a new upstream version.

So, for instance, if you run it today:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix package -i idutils -n
[nothing special here]

$ ./pre-inst-env guix package -i gettext -n
gnu/packages/gettext.scm:27:3: note: using gettext-0.18.1.1 but gettext-0.18.2.1 is available upstream
--8<---------------cut here---------------end--------------->8---

Isn’t it cool?  :-)

This is fast (~1 sec.), except for packages like GCC with many versions
and a deep FTP tree structure (~1 m!).  It’s a rare operation, so it
doesn’t have to be blazingly fast, but definitely faster than for GCC.
Room for improvement.

The next step is to offer the option to automatically install from the
upstream tarball, by downloading it and substituting it in the ‘package’
record.  The only bit that is missing for this is a GPG keyring of GNU
maintainer keys so that we can automatically authenticate tarballs (I’ve
asked Karl about this.)

The next next step is some fancy stuff that, upon successful
installation of the new upstream version, offers to automatically submit
a patch for inclusion in Guix.  This way, every user would end up
participating in the maintenance of the distro in a simple yet effective
fashion.  :-)

Ludo’.

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

end of thread, other threads:[~2013-03-20  0:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 19:47 A pleasant low-hanging fruit Ludovic Courtès
2013-03-07 19:25 ` Alex Sassmannshausen
2013-03-10 17:06 ` Cyril Roelandt
2013-03-12 20:18   ` Andreas Enge
2013-03-14 13:44   ` Ludovic Courtès
2013-03-15  2:06     ` Cyril Roelandt
2013-03-16  0:01       ` Ludovic Courtès
2013-03-16  0:01   ` Ludovic Courtès
2013-03-19 23:55     ` Cyril Roelandt

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.