> Oh. I’d prefer if it would delete all generations but the current one.
> That’s a fairly useful pattern: suppose you want to make space on your
> disk (and you know you won’t need to roll back), it’d be handy to run:
> guix package --delete-generations && guix gc
> Whereas if you have to us
> I’m suggesting to have a procedure like this:
> (define (current-generation-number profile)
> ;; Return the current generation number of PROFILE.
> ...)
We already have such a procedure. It’s called ‘generation-number’.
What do you think about this patch? Can I push it to ‘master’?
What about these patches? Should the first patch also test the
following case?
+(let ((numbers (generation-numbers profile)))
+ (if (equal? numbers '(0))
+ (exit 1)
+ (for-each list-generation numbers
From f42056aa768
l...@gnu.org (Ludovic Courtès) skribis:
> First, I’d like to release 0.4 by (or on) GNU’s 30th birthday, which is
> on Sep. 28th [0]. On the 28th, I’d also like to have a bootable QEMU
> image built with Guix, featuring at least the init system (dmd), a
> console login, and bare utilities.
>
> Wh
l...@gnu.org (Ludovic Courtès) skribis:
> We need to at least make a proper profile, put it in $PATH via
> /etc/bashrc; we need to have Guix installed in the image, and the
> packages already there recognized. There are many details to fix
> (setting a host name, etc.)
With commit 30f25b0, the i
On Tue, Sep 24, 2013 at 9:05 AM, Ludovic Courtès wrote:
> Hello,
>
> GNU Guix [0] joins other projects in celebrating GNU’s 30th birthday
> this week-end [1]. Join us for an on-line hackathon on #guix on the
> Freenode IRC network on Saturday and Sunday, Sept. 28-29!
>
> Tasks will include packag
Nikita Karetnikov skribis:
> HEAD (caf96debc257dee9ad8b0ea74cc6a8241c30dad4) fails. ‘guix-register.log’:
>
> + type -P sqlite3
> /usr/local/bin/sqlite3
> + echo 'select * from ValidPaths where
> path="/nix/store/z4pyj3rbgpqpd3mj0rxpbbpg45hlfcbh-guile-bootstrap-2.0";'
> + sqlite3 /home/tester/gu
> I will be physically present at the hackathon in Cambridge.
Most Guix developers are not in the US, but it would be great if you
could find interested people in Cambridge.
> I have experience with Guile, but I haven't done much work with package
> management systems before.
That’s not a proble
Nikita Karetnikov skribis:
>> Could we instead of a global (current-generation-number profile)
>> procedure? We’d store the number in a local variable here, to avoid
>> repeated ‘readlink’ calls.
>
> I don’t see how the former implies the latter. Could you expand on
> this?
I’m suggesting to h
> Nothing has to be changed; it’s just that I’d prefer to put the bits
> that introduce ‘link-to-empty-environment’ in a separate patch, for
> clarity.
> I could do it, but it may be easier for you to do it, no?
Ah, I simply misunderstood. I’ll do it.
pgpBmYpaLw3VH.pgp
Description: PGP signatu
> Could we instead of a global (current-generation-number profile)
> procedure? We’d store the number in a local variable here, to avoid
> repeated ‘readlink’ calls.
I don’t see how the former implies the latter. Could you expand on
this?
pgpo0JF9ism4T.pgp
Description: PGP signature
Hello,
GNU Guix [0] joins other projects in celebrating GNU’s 30th birthday
this week-end [1]. Join us for an on-line hackathon on #guix on the
Freenode IRC network on Saturday and Sunday, Sept. 28-29!
Tasks will include packaging your favorite software, hunting bugs, and
improving stand-alone b
Nikita Karetnikov skribis:
> I had noticed that ‘--roll-back’ doesn’t output anything with
> ‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe
> it would be better to print something. WDYT?
>
Agreed (in a separate patch.)
>
> I don’t think that I’ll have tim
Nikita Karetnikov skribis:
> Will these lines be i18n’d? I fail to configure the locales properly,
> so I can’t check.
>
> + (format #t "~a\t(current)~%" header)
> + (format #t "~a~%" header)))
Change the first one to:
(format #t (_ "~a\t(current)~
Nikita Karetnikov skribis:
>>> I think we should change ‘--list-generations’ to not output the zeroth
>>> generation. Even though it could be present in the profile, users
>>> shouldn’t be concerned about it.
>
>> Agreed.
>
> Can I push these patches to ‘master’? Should I document that the zero
I had noticed that ‘--roll-back’ doesn’t output anything with
‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe
it would be better to print something. WDYT?
>>> Agreed (in a separate patch.)
I don’t think that I’ll have time for this before the release. I’d
l
16 matches
Mail list logo