Skip to content
Snippets Groups Projects
  1. Jan 22, 2013
  2. Jan 18, 2013
    • Ludovic Courtès's avatar
      distro: Rename (distro) to (gnu packages). · 59a43334
      Ludovic Courtès authored
      * distro.scm: Rename to...
      * gnu/packages.scm: ... this.  Update all users accordingly.
      * Makefile.am (MODULES): Adjust accordingly.
      * po/POTFILES.in: Likewise.
      59a43334
    • Ludovic Courtès's avatar
      distro: Change the module name space to (gnu ...). · 1ffa7090
      Ludovic Courtès authored
      * distro: Rename to...
      * gnu: ... this.  Update module names accordingly.
      * Makefile.am: Adjust accordingly.
      * po/POTFILES.in: Likewise.
      * distro.scm: Search for files under /gnu/packages instead of
        /distro/packages.
      * gnu/packages/base.scm (ld-wrapper-boot3): Likewise.
      1ffa7090
  3. Jan 17, 2013
    • Ludovic Courtès's avatar
      guix-package: Allow `--roll-back' to skip missing generations. · 9241172c
      Ludovic Courtès authored
      * guix-package.in (profile-numbers): New procedure.
        (latest-profile-number): Use it.
        (previous-profile-number): New procedure.
        (roll-back): Use it lieu of `1-'.  Check whether PREVIOUS-NUMBER is
        zero, and raise an error when it is.
      * tests/guix-package.sh: Test whether we can roll back over a "hole".
      9241172c
    • Ludovic Courtès's avatar
      guix-package: Add `--roll-back'. · 24e262f0
      Ludovic Courtès authored
      Based on a patch by Nikita Karetnikov <nikita@karetnikov.org>.
      
      * guix-package.in (profile-regexp): New procedure.
        (latest-profile-number): Remove `%profile-rx', and use
        `profile-regexp' instead.
        (profile-number, roll-back): New procedure.
        (show-help): Add `--roll-back'.
        (%options): Likewise.
        (guix-package)[process-actions]: First check whether `roll-back?' is
        among OPTS, and call `roll-back' if it is, followed by a recursive
        call to `process-actions'.  Emit the "nothing to be done" message only
        when INSTALL or REMOVE is non-empty.
      * tests/guix-package.sh (readlink_base): New function.
        Add tests for `--roll-back'.
      * doc/guix.texi (Invoking guix-package): Document `--roll-back'.
      24e262f0
  4. Jan 15, 2013
  5. Jan 14, 2013
    • Ludovic Courtès's avatar
      guix-package: Create or diagnose missing profile directory. · 0ec1af59
      Ludovic Courtès authored
      Reported by Andreas Enge.
      
      * guix-package.in (%profile-directory): Honor $NIX_STATE_DIR.
        (guix-package)[ensure-default-profile]: Use it.
        [process-actions]: Call it when the `profile' option is
        %CURRENT-PROFILE.
      * tests/guix-package.sh: Add installation test with $HOME set, using the
        default profile.
      0ec1af59
  6. Jan 13, 2013
  7. Jan 09, 2013
  8. Jan 07, 2013
  9. Jan 05, 2013
    • Ludovic Courtès's avatar
      Update license headers. · 233e7676
      Ludovic Courtès authored
      Change all license headers, except guix/build/* and ld-wrapper.scm, with
      this code:
      
        (use-modules (guix build utils)
      	       (srfi srfi-1))
      
        (fluid-set! %default-port-encoding "UTF-8")
      
        (substitute* (remove (lambda (f)
      			 (or (string-contains f ".tar.")
      			     (string-contains f ".git/")
      			     (string-contains f ".so")
      			     (string-suffix? ".o" f)
      			     (string-suffix? ".a" f)
      			     (string-suffix? ".go" f)
      			     (string-suffix? ".pdf" f)
      			     (string-suffix? ".png" f)
      			     (string-suffix? ".info" f)
      			     (equal? (basename f) "guix-daemon")
      			     (equal? (basename f) "nix-setuid-helper")
      			     (string-contains f "nix-upstream/")
      			     (string-contains f "distro/packages/bootstrap/")))
      		       (find-files "." "\\.[a-z]+$"))
          (("^([[:graph:]]+) This file is part of Guix." _ comment-start)
           (string-append comment-start " This file is part of GNU Guix."))
          (("^([[:graph:]]+) Guix --- Nix package management.*" _ comment-start)
           (string-append comment-start
      		    " GNU Guix --- Functional package management for GNU\n"))
          (("^([[:graph:]]+) Guix is " _ comment-start)
           (string-append comment-start " GNU Guix is "))
          (("^([[:graph:]]+) along with Guix." _ comment-start)
           (string-append comment-start " along with GNU Guix."))
          (("^([[:graph:]]+) Copyright \\(C\\)" _ comment-start)
           (string-append comment-start " Copyright ©")))
      
      Change headers using C-style comments manually.
      233e7676
    • Ludovic Courtès's avatar
      ui: Factorize bug-report information in `--help'. · 3441e164
      Ludovic Courtès authored
      * guix/config.scm.in (%guix-home-page-url): New variable.
      * guix/ui.scm (show-bug-report-information): New procedure.
      * guix-build.in (show-help): Use it.
      * guix-download.in (show-help): Likewise.
      * guix-import.in (show-help): Likewise.
      * guix-package.in (show-help): Likewise.
      3441e164
  10. Dec 13, 2012
  11. Dec 12, 2012
  12. Dec 11, 2012
    • Ludovic Courtès's avatar
      guix-package: Gracefully handle multiple installs of the same path. · 1c67d639
      Ludovic Courtès authored
      * guix-package.in (guix-package)[process-actions]: Compute PACKAGES such
        that packages listed in INSTALL* are first removed from the remainder
        of the list.  When PROF is equal to the previous profile's store path,
        do nothing.  Reported by Andreas Enge <andreas@enge.fr>.
      * tests/guix-package.sh: Test the behavior of installing the same store
        path twice.  When removing a package, omit its version number.
      1c67d639
  13. Nov 19, 2012
  14. Nov 07, 2012
  15. Nov 04, 2012
  16. Nov 03, 2012
  17. Nov 01, 2012
Loading