Skip to content
Snippets Groups Projects
  1. Oct 19, 2015
    • Ludovic Courtès's avatar
      Add 'guix challenge'. · d23c20f1
      Ludovic Courtès authored
      * guix/scripts/challenge.scm, tests/challenge.scm: New files.
      * Makefile.am (MODULES): Add the former.
        (SCM_TESTS): Add the latter.
      * doc.am (SUBCOMMANDS): Add 'challenge'.
      * doc/guix.texi (Substitutes): Add xref to 'guix challenge'.
        (Invoking guix challenge): New node.
      * doc/contributing.texi (Submitting Patches): Add note about using 'guix
        challenge'.
      * po/guix/POTFILES.in: Add guix/scripts/challenge.scm.
      d23c20f1
  2. Oct 14, 2015
    • Ludovic Courtès's avatar
      guix system: Add 'dmd-graph' command. · 6f305ea5
      Ludovic Courtès authored
      * guix/scripts/system.scm (dmd-service-node-label,
        dmd-service-node-type, export-dmd-graph): New procedures.
        (show-help): Add 'dmd-graph'.
        (guix-system)[parse-sub-command]: Likewise.
        Honor it.
      * doc/guix.texi (Invoking guix system): Document it.
        (dmd Services): Add an illustration and explanation.
      * doc/images/dmd-graph.dot: New file.
      * doc.am (DOT_FILES): Add it.
      6f305ea5
  3. Oct 10, 2015
    • Ludovic Courtès's avatar
      services: Introduce extensible services. · 0adfe95a
      Ludovic Courtès authored
      This patch rewrites GuixSD services to make them extensible.
      
      * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/dbus.scm.
      * gnu/services.scm (<service>): Replace with new record type.
        (<service-extension>, <service-type>): New record types.
        (write-service-type, compute-boot-script, second-argument): New
        procedures.
        (%boot-service, boot-service-type): New variables.
        (file-union, directory-union, modprobe-wrapper,
        activation-service->script, activation-script,
        gexps->activation-gexp): New procedures.
        (activation-service-type, %activation-service): New variables.
        (etc-directory, files->etc-directory, etc-service): New procedures.
        (etc-service-type, setuid-program-service, firmware-service-type): New
        variables.
        (firmware->activation-gexp): New procedure.
        (&service-error, &missing-target-service-error,
        &ambiguous-target-service-error): New condition types.
        (service-back-edges, fold-services): New procedures.
      * gnu/services/avahi.scm (<avahi-configuration>): New record type.
        (configuration-file): Replace keyword parameters with a single
        'config' parameter.
        (%avahi-accounts, %avahi-activation, avahi-service-type): New
        variables.
        (avahi-dmd-service): New procedure.
        (avahi-service): Rewrite using 'service' and 'avahi-configuration'.
      * gnu/services/base.scm (%root-file-system-dmd-service,
        root-file-system-service-type): New variables.
        (root-file-system-service): Use them.
        (file-system->dmd-service-name): New procedure.
        (file-system-service-type): New variable.
        (file-system-service): Use it.  Replace keyword parameters with a
        single 'file-system' object.
        (user-unmount-service-type): New variable.
        (user-unmount-service): Use it.
        (user-processes-service-type): New variable.
        (user-processes-service): Use it.
        (host-name-service-type): New variable.
        (host-name-service): Use it.
        (console-keymap-service-type): New variable.
        (console-keymap-service): Use it.
        (console-font-service-type): New variable.
        (console-font-service): Use it.
        (mingetty-pam-service, mingetty-dmd-service): New procedures.
        (mingetty-service-type): New variable.
        (mingetty-service): Use it.
        (nscd-dmd-service): New procedure.
        (nscd-activation, nscd-service-type): New variables.
        (nscd-service): Use the latter.
        (syslog-service-type): New variable.
        (syslog-service): Use it.
        (<guix-configuration>): New record type.
        (%default-guix-configuration): New variable.
        (guix-dmd-service, guix-accounts, guix-activation): New procedures.
        (guix-service-type): New variable.
        (guix-service): Replace list of keyword parameters with a single
        'config' parameter.  Rewrite using 'service'.
        (<udev-configuration>): New record type.
        (udev-dmd-service): New procedure.
        (udev-service-type): New variable.
        (udev-service): Use it.
        (device-mapping-service-type): New variable.
        (device-mapping-service): Use it.
        (swap-service-type): New variable.
        (swap-service): Use it.
      * gnu/services/databases.scm (<postgresql-configuration>): New record
        type.
        (%postgresql-accounts, postgresql-activation): New variables.
        (postgresql-dmd-service): New procedure.
        (postgresql-service): Rewrite using 'service' and
        'postgresql-configuration'.
      * gnu/services/dbus.scm: New file.
      * gnu/services/desktop.scm (dbus-configuration-directory, dbus-service):
        Remove.
        (wrapped-dbus-service): New procedure.
        (<upower-configuration>): New record type.
        (upower-configuration-file): Replace keyword parameters with single
        <upower-configuration> parameter.
        (%upower-accounts, %upower-activation): New variables.
        (upower-dbus-service, upower-dmd-service): New procedures.
        (upower-service-type): New variable.
        (upower-service): Rewrite using 'service' and 'upower-configuration'.
        (%colord-activation, %colord-accounts): New variables.
        (colord-dmd-service): New procedure.
        (colord-service-type): New variable.
        (colord-service): Rewrite using 'service'.
        (<geoclue-configuration>): New record type.
        (geoclue-configuration-file): Replace keyword parameters with a single
        'config' parameter.
        (geoclue-dbus-service, geoclue-dmd-service): New procedures.
        (%geoclue-accounts, geoclue-service-type): New variables.
        (geoclue-service): Rewrite using 'service' and
        'geoclue-configuration'.
        (%polkit-accounts, %polkit-pam-services, polkit-service-type): New
        variables.
        (polkit-dmd-service): New procedure.
        (polkit-service): Rewrite using 'service'.
        (<elogind-configuration>)[elogind]: New field.
        (elogind-dmd-service): New procedure.
        (elogind-service-type): New variable.
        (elogind-service): Rewrite using 'service'.
        (%desktop-services): Remove argument to 'dbus-service'.  Remove 'map'
        over %BASE-SERVICES.
      * gnu/services/dmd.scm (dmd-boot-gexp): New procedure.
        (dmd-root-service-type, %dmd-root-service): New variables.
        (dmd-service-type): New macro.
        (<dmd-service>): New record type.
      * gnu/services/lirc.scm (<lirc-configuration>): New record type.
        (%lirc-activation): New variable.
        (lirc-dmd-service): New procedure.
        (lirc-service-type): New variable.
        (lirc-service): Rewrite using 'service' and 'lirc-configuration'.
      * gnu/services/networking.scm (<static-networking>): New record type.
        (static-networking-service-type): New variable.
        (static-networking-service): Rewrite using 'service' and
        'static-networking'.
        (dhcp-client-service-type): New variable.
        (dhcp-client-service): Rewrite using 'service'.
        (<ntp-configuration>): New record type.
        (ntp-dmd-service): New procedure.
        (ntp-service-type): New variable.
        (ntp-service): New procedure.
        (%tor-accounts, tor-service-type): New variable.
        (tor-dmd-service): New procedure.
        (tor-service): Rewrite using 'service'.
        (<bitlbee-configuration>): New record type.
        (bitlbee-dmd-service): New procedure.
        (%bitlbee-accounts, %bitlbee-activation, bitlbee-service-type): New
        variables.
        (bitlbee-service): Rewrite using 'service'.
        (%wicd-activation): New variable.
        (wicd-dmd-service): New procedure.
        (wicd-service-type): New variable.
        (wicd-service): Rewrite using 'service'.
      * gnu/services/ssh.scm (<lsh-configuration>): New record type.
        (activation): Rename to...
        (lsh-initialization): ... this.
        (lsh-activation, lsh-dmd-service, lsh-pam-services): New procedures.
        (lsh-service-type): New variable.
        (lsh-service): Rewrite using 'service' and 'lsh-configuration'.
      * gnu/services/web.scm (<nginx-configuration>): New record type.
        (%nginx-accounts): New variable.
        (nginx-activation, nginx-dmd-service): New procedures.
        (nginx-service-type): New variable.
        (nginx-service): Rewrite using 'service' and 'nginx-configuration'.
      * gnu/services/xorg.scm (<slim-configuration>): New record type.
        (slim-pam-service, slim-dmd-service): New procedures.
        (slim-service-type): New variable.
        (slim-service): Rewrite using 'service' and 'slim-configuration'.
      * gnu/system.scm (file-union): Remove.
        (other-file-system-services): Adjust to new 'file-system-service'
        signature.
        (essential-services): Add #:container? parameter.  Add
        %DMD-ROOT-SERVICE, %ACTIVATION-SERVICE, and calls to
        'pam-root-service', 'account-service', 'operating-system-etc-service',
        and a SETUID-PROGRAM-SERVICE instance.
        (operating-system-services): Pass #:container? to 'essential-services.
        (etc-directory): Remove.
        (operating-system-etc-service): New procedure.  Rewrite as a call to
        'etc-service'.
        (operating-system-accounts): Change to not return accounts required by
        services.
        (operating-system-etc-directory): Rewrite as a call to 'fold-services'
        and 'etc-directory'.
        (user-group->gexp, user-account->gexp, modprobe-wrapper): Remove.
        (operating-system-activation-script): Rewrite as a call to
        'fold-services' and 'activation-service->script'.
        (operating-system-boot-script): Likewise.
        (operating-system-derivation): Add call to 'lower-object'.
        (emacs-site-file, emacs-site-directory, shells-file): Change to use
        'computed-file' and 'scheme-file' instead of the monadic procedures.
      * gnu/system/install.scm (cow-store-service-type): New variable.
        (cow-store-service): Rewrite using 'service'.
        (/etc/configuration-files): New procedure.
        (configuration-template-service-type,
        %configuration-template-service): New variables.
        (configuration-template-service): Remove.
        (installation-services): Adjust accordingly.  Adjust argument to
        'guix-service'.
      * gnu/system/linux.scm (/etc-entry, pam-root-service): New procedures.
        (pam-root-service-type): New variable.
      * gnu/system/shadow.scm (user-group->gexp, user-account->gexp,
        account-activation, etc-skel, account-service): New procedures.
        (account-service-type): New variable.
      * tests/services.scm: New file.
      * doc/guix.texi (Base Services, Desktop Services): Adjust accordingly.
        (Defining Services): Rewrite.
      * doc/images/service-graph.dot: New file.
      * doc.am (DOT_FILES): Add it.
      * po/guix/POTFILES.in: Add gnu/services.scm.
      0adfe95a
  4. Aug 26, 2015
    • Ludovic Courtès's avatar
      Add 'guix graph'. · 88856916
      Ludovic Courtès authored
      * guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
        doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
        files.
      * Makefile.am (MODULES): Add guix/scripts/graph.scm.
        (SH_TESTS): Add tests/guix-graph.sh.
        (SCM_TESTS): Add tests/graph.scm.
      * doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
        (EXTRA_DIST): Use them.
        (dist_infoimage_DATA): Use $(DOT_FILES).
        (pdf-local, info-local, ps-local): Likewise.
      * doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
        graph'.
        (Invoking guix gc): Likewise.
        (Invoking guix graph): New section.
      88856916
  5. Aug 20, 2015
    • David Thompson's avatar
      scripts: package: Add --install-from-file option. · 0d279400
      David Thompson authored
      * guix/scripts/package.scm (show-help): Add help text for --install-from-file
        option.
        (%options): Add --install-from-file option.
      * tests/guix-package.sh: Test it.
      * doc/guix.texi ("invoking guix package"): Document it.
      * doc/package-hello.scm: New file.
      * doc.am (EXTRA_DIST): Add it.
      0d279400
  6. Jul 19, 2015
  7. Jun 29, 2015
    • Ludovic Courtès's avatar
      doc: Add 'guix environment' examples. · fe36d84e
      Ludovic Courtès authored
      * doc/environment-gdb.scm: New file.
      * doc.am (EXTRA_DIST): Add it.
      * doc/guix.texi (Invoking guix environment): Clarify wording of the first
        example.  Add a --ad-hoc example upfront.  Add an example for '-e', and one
        for '-l'.
      fe36d84e
  8. Jun 21, 2015
    • Ludovic Courtès's avatar
      size: Add '--map-file' option. · a8f996c6
      Ludovic Courtès authored
      * guix/scripts/size.scm (profile->page-map): New procedures.
        (show-help, %options):  Add --map-file.
        (guix-size): Honor it.
      * doc/guix.texi (Invoking guix size): Document it.
      * doc/images/coreutils-size-map.png: New file.
      * doc.am (dist_infoimage_DATA): Add it.
      a8f996c6
  9. Jun 17, 2015
    • Ludovic Courtès's avatar
      Add 'guix size'. · fcc58db6
      Ludovic Courtès authored
      * guix/scripts/size.scm: New file.
      * Makefile.am (MODULES): Add it.
        (SCM_TESTS): Add tests/size.scm.
      * doc.am (SUBCOMMANDS): Add 'size'.
      * po/guix/POTFILES.in: Add guix/scripts/size.scm.
      * tests/size.scm: New file.
      * doc/guix.texi (Packages with Multiple Outputs): Add xref to "Invoking guix
        size".
        (Invoking guix size): New node.
        (Invoking guix gc): Add index for "closure" and xref to the above.
      * doc/contributing.texi (Submitting Patches): Use @enumerate for the check
        list.  Add item about 'guix size'.
      fcc58db6
    • Ludovic Courtès's avatar
      Add 'guix edit'. · 39bee8a2
      Ludovic Courtès authored
      * guix/scripts/edit.scm: New file.
      * Makefile.am (MODULES): Add it.
      * doc.am (SUBCOMMANDS): Add 'edit'.
      * doc/guix.texi (Defining Packages): Add xref to "Invoking guix edit".
        (Invoking guix edit): New node.
      * po/guix/POTFILES.in: Add it.
      39bee8a2
  10. Jun 16, 2015
  11. Jun 13, 2015
    • Mathieu Lirzin's avatar
      doc: Move most 'HACKING' informations into the manual. · 8c01b9d0
      Mathieu Lirzin authored
      * HACKING (Contributing): New section.
        (Building from Git, The Perfect Setup, Coding Style, Submitting Patches):
        Move to ...
      * doc/guix.texi (Running Guix Before It Is Installed): Likewise.
      * doc/contributing.texi: ... here. New file.
      * doc.am (EXTRA_DIST): Use it.
      * README (Installation): Adapt to it.
      * configure.ac (DOT): Likewise.
      8c01b9d0
  12. Jun 10, 2015
    • Ludovic Courtès's avatar
      build: Build man pages after the corresponding code. · 57cd353d
      Ludovic Courtès authored
      * doc.am (doc/guix.1): Remove extraneous $(top_builddir)/.
        (doc/guix-daemon.1): Fix dependency.
        (doc/guix-$(1).1): Remove extraneous $(top_builddir)/.  Depend on the .go
        files instead of the .scm file.  Add dependency on scripts/guix.
      57cd353d
  13. Jun 03, 2015
  14. Jun 01, 2015
    • Ludovic Courtès's avatar
      build: Build and install manual pages. · 52eca736
      Ludovic Courtès authored
      * configure.ac: Use 'AM_MISSING_PROG' for 'help2man'.
      * doc.am (subcommand-manual-target, SUBCOMMANDS, dist_man1_MANS): New
        variables.
        (doc/guix-$(1).1, doc/guix.1): New targets.
      52eca736
  15. May 09, 2015
    • Ludovic Courtès's avatar
      doc: Show both the "bare-bones" and the "desktop" configurations. · dd51caac
      Ludovic Courtès authored
      * doc/guix.texi (System Installation): Add xref to "Using the
        Configuration System" instead of including one here.
        (Using the Configuration System): Remove first example, and include
        os-config-bare-bones.texi instead.  Include os-config-desktop.texi as
        a second example.
      * doc.am (OS_CONFIG_EXAMPLES_TEXI): New variable.
        (BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Use it.
        (doc/os-config.texi): Remove.
        (doc/os-config-%.texi): New target.
      dd51caac
    • Ludovic Courtès's avatar
      doc: Rename OS config example. · 54d6223d
      Ludovic Courtès authored
      * gnu/system/os-config.tmpl: Rename to...
      * gnu/system/examples/bare-bones.tmpl: ... this.
      * Makefile.am (EXAMPLES): Adjust accordingly.
      * doc.am (doc/os-config.texi): Likewise.
      * gnu/system/install.scm (configuration-template-service)[template]:
        Likewise.
      54d6223d
  16. Nov 17, 2014
  17. Jul 24, 2014
  18. Oct 18, 2013
  19. Aug 29, 2013
  20. Aug 28, 2013
Loading