unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33405] [PATCH 00/10] De-monadify and clean up system code
@ 2018-11-16  9:21 Ludovic Courtès
  2018-11-16  9:36 ` [bug#33405] [PATCH 01/10] bootloader: De-monadify configuration file generators Ludovic Courtès
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Ludovic Courtès @ 2018-11-16  9:21 UTC (permalink / raw)
  To: 33405

Hello Guix!

Here’s a South-hemisphere spring cleanup of the system code.  Mostly it
removes monadic forms here and there, which in turn simplifies the code
and reduces the number of lines (yay!).

There’s one user-visible change: ‘base-initrd’ and ‘raw-initrd’ are no
longer monadic, so people who were using them in their ‘initrd’ field
can be bitten by this incompatible.  I think it’s OK though, because
in practice people either no longer use the ‘initrd’ field now that
there’s ‘initrd-modules’, or if they use ‘initrd’, they simply tail-call
to ‘raw-initrd’ or ‘base-initrd’, in which case the type of its return
value doesn’t matter much.

Thoughts?

Thanks,
Ludo’.

Ludovic Courtès (10):
  bootloader: De-monadify configuration file generators.
  system: Simplify kernel argument handling.
  linux-initrd: Return file-like objects instead of monadic values.
  system: De-monadify 'operating-system-boot-parameters'.
  system: Please Emacs.
  system: De-monadify 'operating-system-bootcfg'.
  vm: Remove explicit calls to 'operating-system-derivation'.
  guix system: Simplify bootloader package handling.
  guix system: De-monadify bootloader installation script.
  guix system: Clarify 'perform-action'.

 doc/guix.texi               |  14 +--
 gnu/bootloader/extlinux.scm |   6 +-
 gnu/bootloader/grub.scm     | 104 +++++++++----------
 gnu/bootloader/u-boot.scm   |   5 -
 gnu/system.scm              | 162 ++++++++++++++---------------
 gnu/system/linux-initrd.scm |  13 ++-
 gnu/system/vm.scm           | 202 +++++++++++++++++-------------------
 guix/scripts/system.scm     |  89 ++++++++--------
 8 files changed, 285 insertions(+), 310 deletions(-)

-- 
2.19.1

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

end of thread, other threads:[~2018-11-18 22:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16  9:21 [bug#33405] [PATCH 00/10] De-monadify and clean up system code Ludovic Courtès
2018-11-16  9:36 ` [bug#33405] [PATCH 01/10] bootloader: De-monadify configuration file generators Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 02/10] system: Simplify kernel argument handling Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 03/10] linux-initrd: Return file-like objects instead of monadic values Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 04/10] system: De-monadify 'operating-system-boot-parameters' Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 05/10] system: Please Emacs Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 06/10] system: De-monadify 'operating-system-bootcfg' Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 07/10] vm: Remove explicit calls to 'operating-system-derivation' Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 08/10] guix system: Simplify bootloader package handling Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 09/10] guix system: De-monadify bootloader installation script Ludovic Courtès
2018-11-16  9:36   ` [bug#33405] [PATCH 10/10] guix system: Clarify 'perform-action' Ludovic Courtès
2018-11-16 13:39 ` [bug#33405] [PATCH 00/10] De-monadify and clean up system code Mathieu Othacehe
2018-11-16 16:50   ` Ludovic Courtès
2018-11-17  1:14     ` Mathieu Othacehe
2018-11-18 22:42   ` bug#33405: " Ludovic Courtès
2018-11-16 23:32 ` [bug#33405] " Danny Milosavljevic

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).