emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#31523: closed ([PATCH 0/2] Getting rid of 'title'


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31523: closed ([PATCH 0/2] Getting rid of 'title' in 'file-system' declarations)
Date: Mon, 28 May 2018 12:54:02 +0000

Your message dated Mon, 28 May 2018 14:53:41 +0200
with message-id <address@hidden>
and subject line Re: [bug#31523] [PATCH 0/2] Getting rid of 'title' in 
'file-system' declarations
has caused the debbugs.gnu.org bug report #31523,
regarding [PATCH 0/2] Getting rid of 'title' in 'file-system' declarations
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31523: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31523
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 0/2] Getting rid of 'title' in 'file-system' declarations Date: Sat, 19 May 2018 00:12:05 +0200
Hello Guix!

These patches allow us to get rid of the infamous ‘title’ field in
‘file-system’ declarations, which has always been problematic.  It does
so by introducing a new <file-system-label> data type, such that one can
write:

               (file-system
                 (mount-point "/home")
                 (type "ext4")
                 (device (file-system-label "my-home")))

which probably looks clearer and is definitely less error prone.

The ‘title’ field is removed but some macrology takes care of
implementing backward compatibility by detecting ‘title’ fields, issuing
a deprecation warning, and adjusting the ‘device’ value according to the
‘title’.

The “installed-os” test passes.

Feedback welcome!

Ludo’.

Ludovic Courtès (2):
  file-systems: Remove 'title' field and add <file-system-label>.
  system: Remove uses of the 'title' field of <file-system>.

 doc/guix.texi                                |  68 ++++++------
 gnu/bootloader/grub.scm                      |  10 +-
 gnu/build/file-systems.scm                   |  54 +++-------
 gnu/build/linux-boot.scm                     |  12 ++-
 gnu/build/shepherd.scm                       |   3 +-
 gnu/services/base.scm                        |  17 ++-
 gnu/system.scm                               |  36 ++++---
 gnu/system/examples/bare-bones.tmpl          |   3 +-
 gnu/system/examples/beaglebone-black.tmpl    |   3 +-
 gnu/system/examples/lightweight-desktop.tmpl |   4 +-
 gnu/system/examples/vm-image.tmpl            |   3 +-
 gnu/system/file-systems.scm                  | 108 ++++++++++++++++---
 gnu/system/install.scm                       |   4 +-
 gnu/system/vm.scm                            |   7 +-
 gnu/tests.scm                                |   3 +-
 gnu/tests/install.scm                        |  26 ++---
 guix/scripts/system.scm                      |  31 +++---
 tests/guix-system.sh                         |   9 +-
 tests/system.scm                             |   6 +-
 19 files changed, 227 insertions(+), 180 deletions(-)

-- 
2.17.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#31523] [PATCH 0/2] Getting rid of 'title' in 'file-system' declarations Date: Mon, 28 May 2018 14:53:41 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Hello,

I’ve pushed it now.  Thanks for your support Nils & Tobias!  :-)

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]