[bug#55752,0/5] Add 'guix system edit' and 'guix home edit'

Message ID 20220601154140.16178-1-ludo@gnu.org
Headers
Series Add 'guix system edit' and 'guix home edit' |

Message

Ludovic Courtès June 1, 2022, 3:41 p.m. UTC
Hello Guix!

This is the long-overdue addition of ‘guix system edit’ and
‘guix home edit’ to edit service type definitions.

Thoughts?

Ludo’.

Ludovic Courtès (5):
  edit: Extract 'spawn-editor' procedure.
  guix system: Add 'edit' sub-command.
  home: services: Add 'lookup-home-service-types' procedure.
  guix home: Add 'edit' sub-command.
  DRAFT news: Add entry for 'guix system edit' and 'guix home edit'.

 Makefile.am                  |  5 ++-
 doc/guix.texi                | 26 ++++++++++++++
 etc/news.scm                 | 28 +++++++++++++++
 gnu/home/services.scm        | 12 +++++++
 guix/scripts/edit.scm        | 30 +++++++++-------
 guix/scripts/home.scm        |  7 +++-
 guix/scripts/home/edit.scm   | 66 ++++++++++++++++++++++++++++++++++++
 guix/scripts/system.scm      |  7 +++-
 guix/scripts/system/edit.scm | 64 ++++++++++++++++++++++++++++++++++
 po/guix/POTFILES.in          |  2 ++
 tests/home-services.scm      | 46 +++++++++++++++++++++++++
 11 files changed, 278 insertions(+), 15 deletions(-)
 create mode 100644 guix/scripts/home/edit.scm
 create mode 100644 guix/scripts/system/edit.scm
 create mode 100644 tests/home-services.scm


base-commit: fed51b26141548a5bae349a5e1d8d6f681320f4f