~ruther/guix-local

ref: b7610f23bdf8ff51fc657e7e2cf45f282ce263f2 guix-local/guix d---------
3f208ad7 — Ludovic Courtès 10 years ago
guix build: '--log-file' can return URLs.

* guix/scripts/build.scm (%default-log-urls): New variable.
  (log-url): New procedure.
  (guix-build): Use it.
* doc/guix.texi (Invoking guix build): Document it.
6b02a448 — Ludovic Courtès 10 years ago
http-client: Backport delimited input port fix from Guile.

* guix/http-client.scm (make-delimited-input-port): Backport Guile
  commit 5a10e41.
  Monkey-patch 'make-delimited-input-port' for any Guile <= 2.0.11.
1c01a30d — Ludovic Courtès 10 years ago
http-client: Remove redundant import clause.

* guix/http-client.scm: Remove redundant #:use-module (guix utils).
a6d0b306 — Eric Bavier 10 years ago
guix: packages: Add transitive-input-references.

* guix/packages.scm (transitive-input-references): New procedure.
* gnu/packages/version-control.scm (package-transitive-propagated-labels*)
  (package-propagated-input-refs): Delete.
  (git)[arguments]: Adjust to transitive-input-references.
ef30b974 — Ludovic Courtès 10 years ago
pull: Update to the new cgit snapshot URL.

* guix/scripts/pull.scm (%snapshot-url): Update to the new URL.
0c0a1f22 — Steve Sprang 10 years ago
build: Improve information density and appearance of download progress output.

* guix/build/download.scm (seconds->string): New function.
  (byte-count->string): New function.
  (progress-bar): New function.
  (throughput->string): Remove function.
  (progress-proc): Display base file name, elapsed time, and progress bar.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1cd4027c — Mathieu Lirzin 10 years ago
ui: Add package-description-string.

Provide support for Texinfo's markup in package description.

* guix/ui.scm (%text-width): New parameter.
  (texi->plain-text): New variable.
  (package->recutils): Use them.
  (package-description-string): New variable.
* emacs/guix-main.scm (%package-param-alist): Use it.
* gnu/packages/perl.scm (perl-devel-globaldestruction)
  (perl-devel-lexalias, perl-exporter-lite): Adapt to Texinfo's markup.
* gnu/packages/python.scm (python2-empy): Likewise.
ee78d024 — David Thompson 10 years ago
build: container: Use the same clone flags as fork(3).

The intent is to make 'clone' behave a lot more like 'primitive-fork', which
calls clone(2) with SIGCHLD, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
flags.  Notably, running 'clone' at the REPL without these flags would break
the REPL beyond repair.

* guix/build/syscalls.scm (CLONE_CHILD_CLEARTID, CLONE_CHILD_SETTID): New
  variables.
* gnu/build/linux-container.scm (namespaces->bit-mask): Add
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID to bit mask.
b500e718 — David Thompson 10 years ago
build: ruby: Avoid long build directory names.

Having the hash of the source gem in the source directory file name proved to
be problematic when running the test suite for the 'pg' gem that creates
UNIX-domain sockets in the source directory and exceeded the 108 character
limit on GNU/Linux systems.

* guix/build/ruby-build-system.scm (unpack): Rename unpacked gem directory to
  "gem".
a5c0d8bc — Ludovic Courtès 10 years ago
ui: Change 'P_' to return the empty string when passed the empty string.

Reported by Mathieu Lirzin <mathieu.lirzin@etu.u-bordeaux.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-09/msg00111.html>.

* guix/ui.scm (P_): Check whether MSGID is empty, and return it if it is.
12abc6e3 — Ludovic Courtès 10 years ago
licenses: Add CC-BY-SA and CC-BY.

* guix/licenses.scm (cc-by-sa4.0, cc-by3.0): New variables.
52b9efe3 — Ludovic Courtès 10 years ago
lint: Add 'license' checker.

* guix/scripts/lint.scm (check-license): New procedure.
  (%checkers): Add 'license' checker.
* tests/lint.scm ("license: invalid license"): New test.
6480fcae — Alex Kost 10 years ago
emacs-build-system: Fix a file name of info directory.

* guix/build/emacs-build-system.scm (move-doc): Adjust to use
  "/share/info" instead of its sub-directory.
6b44a097 — Ludovic Courtès 10 years ago
download: Disable offloading for downloads.

* guix/download.scm (url-fetch): Use #:local-build? #t.
* guix/git-download.scm (git-fetch): Likewise.
cf897cba — David Thompson 10 years ago
build: syscalls: Properly handle clone errors.

* guix/build/syscalls.scm (clone): Catch -1 return value and throw error.
dbbc248a — Ludovic Courtès 10 years ago
monads: Fix 'liftN' fallback case.

Reported by Andy Wingo <wingo@igalia.com>.

* guix/monads.scm (define-lift) <fallback case>: Add missing #'.  Remove
  extra formal parameter.
* tests/monads.scm ("lift"): Add test with 'lift1' as a procedure.
9d2f48df — Ludovic Courtès 10 years ago
publish: Gracefully handle the lack of a deriver.

* guix/scripts/publish.scm (narinfo-string): Catch 'system-error' around
  'load-derivation' call; return BASE-INFO upon ENOENT.  This allows us
  to return the narinfo even if DERIVER is missing.  Before that, the
  exception would be uncaught, leading to 500 Internal Error on the
  client side.
4c8f997a — Ludovic Courtès 10 years ago
graph: Add '--expression'.

* guix/scripts/graph.scm (%options, show-help): Add '--expression'.
  (guix-graph): Call 'read/eval-package-expression' for 'expression'
  pairs in OPTS.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
dee38b7b — Ricardo Wurmus 10 years ago
guix: Add GUST font license 1.0.

* guix/licenses.scm (gfl1.0): New variable.
a96524cc — David Thompson 10 years ago
import: gem: Fix minor bug and add unit test.

* guix/import/gem.scm (make-gem-sexp): Properly handle an empty list of
  licenses.  When rendering a list of licenses, cons 'list onto the front of
  the expression.
* tests/gem.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
Next