<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix-download.in, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2013-02-17T03:17:37Z</updated>
<entry>
<title>Replace individual scripts with master 'guix' script.</title>
<updated>2013-02-17T03:17:37Z</updated>
<author>
<name>Mark H Weaver</name>
</author>
<published>2013-02-14T09:15:25Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=e49951eb3e1e1a8e7bad6d7471483e70b0865352'/>
<id>urn:sha1:e49951eb3e1e1a8e7bad6d7471483e70b0865352</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>store: Remove the `fixed?' parameter from `add-to-store'.</title>
<updated>2013-01-30T15:30:49Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2013-01-30T15:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a9ebd9efd0d97159acbec848ad5fe06f022c8235'/>
<id>urn:sha1:a9ebd9efd0d97159acbec848ad5fe06f022c8235</id>
<content type='text'>
* guix/store.scm (add-to-store): Remove the `fixed?' parameter from the
  public interface.
* gnu/packages/bootstrap.scm, guix-download.in, guix/derivations.scm,
  guix/packages.scm, tests/derivations.scm: Update all callers
  accordingly.
</content>
</entry>
<entry>
<title>Gracefully handle failure to install the current locale.</title>
<updated>2013-01-29T23:09:32Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2013-01-29T22:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=473b03b3c6fbca909e18dbb5888ac5a98992207a'/>
<id>urn:sha1:473b03b3c6fbca909e18dbb5888ac5a98992207a</id>
<content type='text'>
* guix/ui.scm (install-locale): New procedure.
* guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
  guix-package.in: Use it instead of (setlocale LC_ALL "").
</content>
</entry>
<entry>
<title>Update license headers.</title>
<updated>2013-01-05T23:47:50Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2013-01-05T23:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=233e76769ae3a438bff7117c68f2c88739a28db0'/>
<id>urn:sha1:233e76769ae3a438bff7117c68f2c88739a28db0</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>ui: Factorize bug-report information in `--help'.</title>
<updated>2013-01-05T14:55:47Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2013-01-05T14:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3441e164976c14ef8bf9a95ab4130ca25ac85e70'/>
<id>urn:sha1:3441e164976c14ef8bf9a95ab4130ca25ac85e70</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>guix-download: Use code from (guix build download).</title>
<updated>2012-11-13T22:04:21Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-11-13T21:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ec4d308a9e306e8784c324a2f8511e27c50f9dff'/>
<id>urn:sha1:ec4d308a9e306e8784c324a2f8511e27c50f9dff</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>guix-download: Add support for file:// URIs.</title>
<updated>2012-11-13T21:58:43Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-11-13T21:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=352ec143de32e751286590ff51c40f5a32c7fa87'/>
<id>urn:sha1:352ec143de32e751286590ff51c40f5a32c7fa87</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>guix-download: Gracefully handle invalid URIs.</title>
<updated>2012-11-13T21:15:59Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-11-13T21:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ecdb81e159a29c92351bc51c3556a760074f7473'/>
<id>urn:sha1:ecdb81e159a29c92351bc51c3556a760074f7473</id>
<content type='text'>
* guix-download.in (guix-download): Error out when `string-&gt;uri'
  returns #f.  Use `leave' when the scheme is unknown.
* tests/guix-download.sh: Add tests.
</content>
</entry>
<entry>
<title>Move base32 code to (guix base32).</title>
<updated>2012-11-11T21:33:28Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-11-11T21:33:28Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ddc29a782eac30fcf4ff1f07677aa2896dc140e4'/>
<id>urn:sha1:ddc29a782eac30fcf4ff1f07677aa2896dc140e4</id>
<content type='text'>
* guix/utils.scm (bytevector-quintet-ref, bytevector-quintet-ref-right,
  bytevector-quintet-length, bytevector-quintet-fold,
  bytevector-quintet-fold-right, make-bytevector-&gt;base32-string,
  %nix-base32-chars, %rfc4648-base32-chars, bytevector-&gt;base32-string,
  bytevector-&gt;nix-base32-string, bytevector-quintet-set!,
  bytevector-quintet-set-right!, base32-string-unfold,
  base32-string-unfold-right, make-base32-string-&gt;bytevector,
  base32-string-&gt;bytevector, nix-base32-string-&gt;bytevector): Move to...
* guix/base32.scm: ... here.  New file.

* tests/utils.scm (%nix-hash, "bytevector-&gt;base32-string",
  "base32-string-&gt;bytevector", "nix-base32-string-&gt;bytevector", "sha256
  &amp; bytevector-&gt;base32-string"): Move to...
* tests/base32.scm: ... here.  New file

* guix-download.in, guix/derivations.scm, guix/packages.scm,
  guix/snix.scm, tests/builders.scm, tests/derivations.scm: Adjust
  accordingly.
* guix.scm (%public-modules): Add `base32'.
</content>
</entry>
<entry>
<title>guix-download: Print the hash of the file's contents, no that of the path.</title>
<updated>2012-11-07T23:25:26Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2012-11-07T23:25:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a3aa25f83dedc39966821eb14c8c3847c242af6c'/>
<id>urn:sha1:a3aa25f83dedc39966821eb14c8c3847c242af6c</id>
<content type='text'>
* guix-download.in (guix-download): Display the hash of the contents of
  PATH, not the path hash.  Also, call `add-to-store' with FIXED? = #t.
</content>
</entry>
</feed>
