Skip to content
Snippets Groups Projects
  1. Mar 27, 2018
    • Ludovic Courtès's avatar
      guix gc: Add '--derivers'. · 8980eea5
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help, %options): Add '--derivers'.
      (guix-gc): Handle 'list-derivers'.
      * tests/guix-gc.sh: Add test.
      * doc/guix.texi (Invoking guix gc): Document it.
      8980eea5
  2. Dec 18, 2017
  3. Nov 13, 2017
  4. Nov 11, 2015
  5. May 26, 2015
  6. Feb 27, 2013
    • Ludovic Courtès's avatar
      guix gc: Add `--references' and `--referrers'. · ba8b732d
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help): Update.
        (%options): Add `--references' and `--referrers'.
        (guix-gc)[symlink-target, store-directory]: New procedures.
        Handle the `list-references' and `list-referrers' actions.
      * tests/guix-gc.sh: Add tests for `--references'.
      * doc/guix.texi (Invoking guix gc): Document `--references' and
        `--referrers'.
      ba8b732d
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · 868c923f
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      868c923f
  7. Feb 17, 2013
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · e49951eb
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      e49951eb
  8. 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
      Add `guix-gc'. · fe8ff028
      Ludovic Courtès authored
      * guix-gc.in, tests/guix-gc.sh: New files.
      * configure.ac: Output `guix-gc', and make it executable.
      * Makefile.am (bin_SCRIPTS): Add `guix-gc'.
        (TESTS): Add `tests/guix-gc.sh'.
      * doc/guix.texi (Features): Add xref to "Invoking guix-gc".
        (Invoking guix-gc): New node.
      * po/POTFILES.in: Add `guix-gc.in'.
      fe8ff028
  9. Nov 13, 2012
    • Ludovic Courtès's avatar
      guix-download: Use code from (guix build download). · ec4d308a
      Ludovic Courtès authored
      * guix-download.in (http-fetch, ftp-fetch): Remove.
        (fetch-and-store): Replace `uri' parameter with `name', for the output
        file name.  Redirect the output of `fetch' to the error port.
        (guix-download): Call `url-fetch' for all URI schemes except `file'.
        Handle PATH equal to #f.
      * guix/download.scm: Export `%mirrors'.
      * tests/guix-download.sh: Change erroneous URL, because URLs at
        example.com are all valid redirections.
      ec4d308a
    • Ludovic Courtès's avatar
      guix-download: Add support for file:// URIs. · 352ec143
      Ludovic Courtès authored
      * guix-download.in (fetch-and-store): New procedure.
        (guix-download): Use it to compute PATH.  Call `add-to-store' when
        a `file' URI scheme is used.
      * Makefile.am (AM_TESTS_ENVIRONMENT): New variable.
      * tests/guix-download.sh: Add test.
      352ec143
    • Ludovic Courtès's avatar
      guix-download: Gracefully handle invalid URIs. · ecdb81e1
      Ludovic Courtès authored
      * guix-download.in (guix-download): Error out when `string->uri'
        returns #f.  Use `leave' when the scheme is unknown.
      * tests/guix-download.sh: Add tests.
      ecdb81e1
  10. Nov 07, 2012
  11. Nov 01, 2012
  12. Oct 31, 2012
    • Ludovic Courtès's avatar
      build: Add unit test for the `guix-build' command. · 97298ffa
      Ludovic Courtès authored
      * tests/guix-build.sh: New file.
      * Makefile.am (TESTS): Add it.
        (LOG_COMPILER): Rename to...
        (SCM_LOG_COMPILER): ... this.  Move flags to...
        (AM_SCM_LOG_FLAGS): ... this.
        (TEST_EXTENSIONS, SH_LOG_COMPILER, AM_SH_LOG_FLAGS): New variables.
      97298ffa
Loading