[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test.
From: |
Jakob L. Kreuze |
Subject: |
[bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test. |
Date: |
Tue, 23 Jul 2019 20:01:19 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Ludovic Courtès <address@hidden> writes:
> I think you didn’t answer this specific question; thoughts?
I had a peek at your more recent email, and think you dug up (and
commented on) my handling of it, but I'll link [1] just in case.
> The number of ‘build-derivations’ calls is the same whether it’s local
> or distant.
>
> What would make a difference is having a single script instead of
> three—i.e., one program that does:
>
> #~(begin
> (activate-system …)
> (upgrade-services …)
> (switch-system …))
>
> I think this program could even be added to the ‘system’
> derivation—i.e., as a file next to those in /run/current-system.
>
> That way, switching to a system generation would be a matter of running
> it’s ‘switch’ program.
>
> Perhaps this should be our horizon. WDYT?
I'm a fan of that idea. Having it as a file means we would be able to
run activation services on a roll-back. I've added this to my to-do list
of patches :)
Regards,
Jakob
[1]: https://lists.gnu.org/archive/html/guix-patches/2019-07/msg00656.html
signature.asc
Description: PGP signature
- [bug#36555] [PATCH v5 2/3] guix system: Reimplement 'reconfigure'., (continued)
- [bug#36555] [PATCH v5 2/3] guix system: Reimplement 'reconfigure'., Jakob L. Kreuze, 2019/07/23
- [bug#36555] [PATCH v5 2/3] guix system: Reimplement 'reconfigure'., Jakob L. Kreuze, 2019/07/23
- [bug#36555] [PATCH v6 0/3] Refactor out common behavior for system reconfiguration., Jakob L. Kreuze, 2019/07/24
- [bug#36555] [PATCH v6 1/3] guix system: Add 'reconfigure' module., Jakob L. Kreuze, 2019/07/24
- [bug#36555] [PATCH v6 2/3] guix system: Reimplement 'reconfigure'., Jakob L. Kreuze, 2019/07/24
- [bug#36555] [PATCH v6 3/3] tests: Add reconfigure system test., Jakob L. Kreuze, 2019/07/24
- bug#36555: [PATCH v6 3/3] tests: Add reconfigure system test., Ludovic Courtès, 2019/07/26
- [bug#36555] [PATCH v6 3/3] tests: Add reconfigure system test., Jakob L. Kreuze, 2019/07/26
- [bug#36555] [PATCH v5 2/3] guix system: Reimplement 'reconfigure'., Ludovic Courtès, 2019/07/24
- [bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test., Ludovic Courtès, 2019/07/23
- [bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test.,
Jakob L. Kreuze <=
- [bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test., Ludovic Courtès, 2019/07/24
- [bug#36555] [PATCH v4 2/3] guix system: Reimplement 'reconfigure'., Ludovic Courtès, 2019/07/20
- [bug#36555] [PATCH v4 1/3] guix system: Add 'reconfigure' module., Ludovic Courtès, 2019/07/20
- [bug#36555] [PATCH v4 1/3] guix system: Add 'reconfigure' module., Jakob L. Kreuze, 2019/07/30
- [bug#36555] [PATCH v4 1/3] guix system: Add 'reconfigure' module., Jakob L. Kreuze, 2019/07/19
- [bug#36555] [PATCH v3 0/3] Refactor out common behavior for system reconfiguration., Christopher Lemmer Webber, 2019/07/19
- [bug#36555] [PATCH v3 0/3] Refactor out common behavior for system reconfiguration., Jakob L. Kreuze, 2019/07/22
- [bug#36555] [PATCH v3 0/3] Refactor out common behavior for system reconfiguration., Christopher Lemmer Webber, 2019/07/22
[bug#36555] [PATCH 0/2] Refactor out common behavior for system reconfiguration., Christopher Lemmer Webber, 2019/07/09