~ruther/guix-local

ref: 5d80dd0823bab8483b31aea341d2ecabf54c3a23 guix-local/guix/scripts/pull.scm -rw-r--r-- 5.9 KiB
3dbeecd2 — Ludovic Courtès 12 years ago
pull: Move build code to (guix build pull).

* guix/build/pull.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/pull.scm (unpack): Use it.
52a79f1e — Ludovic Courtès 12 years ago
pull: Compile guix/ files before gnu/ files.

* guix/scripts/pull.scm (unpack)[builder]: Build files under guix/
  before files under gnu/.
ca6c4fa1 — Ludovic Courtès 12 years ago
pull: Compile files in parallel.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Remove.
  (call-with-process, p-for-each): New procedures.  Use them to compile
  files in parallel.
0c2e1dd4 — Ludovic Courtès 12 years ago
pull: Limit memory usage when compiling.

Reported by Arne Babenhauserheide <arne.babenhauserheide@kit.edu>.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Change to run
  'compile-file' in a child process.  This limits memory usage; before
  that memory usage was proportional to the number of files to compile.
dd1a5a15 — Ludovic Courtès 12 years ago
derivations: Use more keyword parameters for 'build-expression->derivation'.

* guix/derivations.scm (build-expression->derivation): Turn 'system' and
  'inputs' into keyword parameters.
  Adjust callers accordingly.
* gnu/system/linux.scm, gnu/system/vm.scm, guix/build-system/cmake.scm,
  guix/build-system/gnu.scm, guix/build-system/perl.scm,
  guix/build-system/python.scm, guix/build-system/trivial.scm,
  guix/download.scm, guix/packages.scm, guix/profiles.scm,
  guix/scripts/pull.scm, tests/derivations.scm, tests/guix-build.sh,
  tests/monads.scm, tests/store.scm, tests/union.scm: Adjust users of
  'build-expression->derivation' and 'derivation-expression'
  accordingly.
* doc/guix.texi (Derivations): Adjust 'build-expression->derivation'
  documentation accordingly.
  (The Store Monad): Likewise for 'derivation-expression'.
ff8061b5 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
178f77b2 — Ludovic Courtès 12 years ago
pull: Compile modules correctly regardless of the compilation order.

* guix/scripts/pull.scm (unpack)[builder]: Work around
  <http://bugs.gnu.org/15602>.
52af657a — Ludovic Courtès 12 years ago
pull: Simplify the builder.

* guix/scripts/pull.scm (unpack)[builder]: Use 'copy-recursively' and
  'copy-file' instead of 'file-system-fold'.
0ad7da1e — Ludovic Courtès 12 years ago
pull: Add '--url' option.

* guix/scripts/pull.scm (%default-options): Add 'tarball-url' pair.
  (%options, show-help): Add '--url'.
  (guix-pull): Honor it.
2442257f — Ludovic Courtès 12 years ago
Merge branch 'core-updates'
5608847c — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
3b627eac — Ludovic Courtès 12 years ago
pull: Adjust to 'derivation' API change.

Fixes <http://bugs.gnu.org/15428>.
Reported by Cyrill Schenkel <cyrill.schenkel@gmail.com>.

* guix/scripts/pull.scm (guix-pull): 'unpack' returns a single value.
66018f1c — Ludovic Courtès 12 years ago
utils: 'find-files' returns a sorted list.

* guix/build/utils.scm (find-files): Sort the result lexicographically.
* guix/scripts/pull.scm (unpack): Don't sort the result of 'find-files'.
8ce3104e — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
bda44eed — Ludovic Courtès 12 years ago
pull: Compile files in the lexicographic order.

* guix/scripts/pull.scm (unpack): Print the name of the file being
  compiled.  Sort the names of files to compile.
a5975ced — Ludovic Courtès 13 years ago
ui: Add `args-fold*' and use it.

* guix/ui.scm (args-fold*): New procedure.
* guix/scripts/build.scm, guix/scripts/download.scm,
  guix/scripts/gc.scm, guix/scripts/hash.scm, guix/scripts/import.scm,
  guix/scripts/package.scm, guix/scripts/pull.scm,
  guix/scripts/refresh.scm: Use `args-fold*' instead of `args-fold'.
78694457 — Ludovic Courtès 13 years ago
pull: Use `download-to-store'.

* guix/scripts/pull.scm (download-and-store): Remove.
  (unpack): Use `download-to-store' instead.
bdf06d89 — Ludovic Courtès 13 years ago
pull: Switch to the cgit URL.

* guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given
  that the Hydra one is not currently available.
fdfd3d5d — Ludovic Courtès 13 years ago
pull: Switch to the cgit URL.

* guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given
  that the Hydra one is not currently available.
4928e500 — Ludovic Courtès 13 years ago
Merge branch 'master' into core-updates

Conflicts:
	Makefile.am
	gnu/packages/base.scm
Next