| Commit message (Expand) | Author | Age | Files | Lines |
* | gexp: Lowering a <computed-file> honors SYSTEM and TARGET.•••* guix/gexp.scm (computed-file-compiler): Pass #:system and #:target to
'gexp->derivation'.
* tests/gexp.scm ("lower-object, computed-file, #:system"): New test.
| Ludovic Courtès | 2019-01-05 | 1 | -1/+19 |
* | lint: Check for unstable tarballs.•••* guix/scripts/lint.scm (check-source-unstable-tarball): New procedure.
(%checkers): Add it.
* tests/lint.scm ("source-unstable-tarball", "source-unstable-tarball:
source #f", "source-unstable-tarball: valid", "source-unstable-tarball:
package named archive", "source-unstable-tarball: not-github",
"source-unstable-tarball: git-fetch"): New tests.
* doc/guix.texi (Invoking guix lint): Document it.
| Efraim Flashner | 2018-12-27 | 1 | -0/+80 |
* | guix: lint: Check for source URIs redirecting to GitHub.•••* guix/scripts/lint.scm (check-github-uri): New procedure.
(%checkers): Add it.
* doc/guix.texi (Invoking guix lint): Document it.
* tests/lint.scm ("github-url", "github-url: one suggestion"): New tests.
| Arun Isaac | 2018-12-24 | 1 | -0/+28 |
* | publish: Add a 'Cache-Control' header on /nar responses.•••Fixes <https://bugs.gnu.org/33721>.
Reported by Chris Marusich <cmmarusich@gmail.com>.
* guix/scripts/publish.scm (render-nar/cached): Add #:ttl and honor it.
(make-request-handler): Pass #:ttl to 'render-nar/cached'.
* tests/publish.scm ("with cache, uncompressed"): Pass "--ttl=42h" to
'guix publish'. Check 'Cache-Control' on narinfo response and on nar
response.
| Ludovic Courtès | 2018-12-17 | 1 | -2/+15 |
* | environment: Support package transformation options.•••Fixes <https://bugs.gnu.org/33776>.
Reported by Adrien Guilbaud <adrien.guilbaud@inria.fr>.
* guix/scripts/environment.scm (show-help): Add call to
'show-transformation-options-help'.
(%options): Add %TRANSFORMATION-OPTIONS.
(options/resolve-packages): Add 'store' parameter.
[transform, package->manifest-entry*]: New procedures.
Use 'package->manifest-entry*' instead of 'package->manifest-entry'.
(guix-environment): Move definition of 'manifest' within 'with-store'.
* tests/guix-environment.sh: Add test.
| Ludovic Courtès | 2018-12-17 | 1 | -1/+13 |
* | import: Update opam importer.•••* guix/import/opam.scm: Update importer for opam 2.
* tests/opam.scm: Update tests for the opam 2 importer.
| Julien Lepiller | 2018-12-17 | 1 | -73/+152 |
* | deduplication: Gracefully handle ENOSPC raised by 'link' calls.•••Reported by Andreas Enge <andreas@enge.fr>
in <https://bugs.gnu.org/33676>.
* guix/store/deduplication.scm (replace-with-link): Catch ENOSPC around
'get-temp-link'. Do nothing when 'get-temp-link' throws ENOSPC. Move
code to restore PARENT's permissions outside of 'catch'.
* tests/store-deduplication.scm ("deduplicate, ENOSPC"): New test.
| Ludovic Courtès | 2018-12-14 | 1 | -1/+43 |
* | substitute: Ignore irrelevant narinfo signatures.•••Fixes <https://bugs.gnu.org/33733>.
Fixes a bug whereby 'guix substitute' would accept narinfos whose
signature does not cover the StorePath/NarHash/References tuple.
* guix/scripts/substitute.scm (narinfo-sha256)[%mandatory-fields]: New
variable.
Compute SIGNED-FIELDS; return #f unless each of the %MANDATORY-FIELDS
is among SIGNED-FIELDS.
* tests/substitute.scm ("query narinfo with signature over nothing")
("query narinfo with signature over irrelevant bits"): New tests.
| Ludovic Courtès | 2018-12-14 | 1 | -1/+41 |
* | guix: Add support for channel dependencies.•••* guix/channels.scm (<channel-metadata>): New record.
(read-channel-metadata, channel-instance-dependencies): New procedures.
(latest-channel-instances): Include channel dependencies; add optional
argument PREVIOUS-CHANNELS.
(channel-instance-derivations): Build derivation for additional channels and
add it as dependency to the channel instance derivation.
* doc/guix.texi (Channels): Add subsection "Declaring Channel Dependencies".
* tests/channels.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
| Ricardo Wurmus | 2018-12-09 | 1 | -0/+139 |
* | Merge branch 'core-updates' | Ludovic Courtès | 2018-12-03 | 2 | -3/+36 |
|\ |
|
| * | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-29 | 4 | -6/+36 |
| |\ |
|
| * \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-24 | 1 | -0/+69 |
| |\ \ |
|
| * \ \ | Merge remote-tracking branch 'origin/master' into core-updates | Efraim Flashner | 2018-11-21 | 1 | -2/+2 |
| |\ \ \ |
|
| * \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-14 | 7 | -48/+43 |
| |\ \ \ \ |
|
| * \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-07 | 3 | -34/+211 |
| |\ \ \ \ \ |
|
| * \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-05 | 3 | -1/+103 |
| |\ \ \ \ \ \ |
|
| * \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-21 | 4 | -50/+61 |
| |\ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-17 | 3 | -1/+136 |
| |\ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-05 | 3 | -14/+135 |
| |\ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-26 | 2 | -1/+137 |
| |\ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-20 | 1 | -1/+6 |
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Leo Famulari | 2018-09-13 | 1 | -0/+36 |
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-09 | 23 | -449/+139 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-03 | 1 | -2/+3 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'staging' into core-updates | Marius Bakke | 2018-08-25 | 3 | -3/+161 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * | | | | | | | | | | | | | | | | gexp: Remove backward compatibility hack for 'imported-files'.•••* guix/gexp.scm (gexp->derivation): Remove #:import-creates-derivation?.
(imported-files): Remove #:derivation? and adjust callers.
(imported-modules), compiled-modules): Likewise.
* guix/packages.scm (patch-and-repack): Adjust 'gexp->derivation' call.
| Ludovic Courtès | 2018-07-26 | 1 | -3/+3 |
| * | | | | | | | | | | | | | | | | Merge branch 'master' into core-updates | Marius Bakke | 2018-07-24 | 14 | -54/+558 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Ricardo Wurmus | 2018-06-29 | 7 | -224/+98 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'origin/core-updates-next' into core-updates | Ricardo Wurmus | 2018-06-06 | 1 | -1/+34 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| | * | | | | | | | | | | | | | | | | | | gremlin: Add 'strip-runpath'.•••* guix/build/gremlin.scm (strip-runpath): New procedure.
* tests/gremlin.scm (c-compiler): New variable.
("strip-runpath"): New test.
| Ludovic Courtès | 2018-05-07 | 1 | -1/+34 |
* | | | | | | | | | | | | | | | | | | | | git: Nicely report '--with-commit' errors.•••* guix/git.scm (latest-repository-commit*): Rewrite to catch
'git-error'.
* po/guix/POTFILES.in: Add guix/git.scm.
* tests/guix-build-branch.sh: Test --with-commit errors.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+3 |
* | | | | | | | | | | | | | | | | | | | | guix build: Add '--with-commit'.•••* guix/git.scm (<git-checkout>)[commit]: New field.
(git-checkout-compiler): Honor it.
* guix/scripts/build.scm (evaluate-git-replacement-specs): Add 'proc'
parameter and honor it.
(transform-package-source-branch)[replace]: New procedure.
Adjust 'evaluate-git-replacement-specs' accordingly.
(transform-package-source-commit): New procedure.
(%transformations, %transformation-options)
(show-transformation-options-help): Add 'with-commit'.
* tests/guix-build-branch.sh: Add test.
* doc/guix.texi (Package Transformation Options): Document it.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+5 |
* | | | | | | | | | | | | | | | | | | | | guix build: Add '--with-branch' transformation option.•••* guix/scripts/build.scm (evaluate-git-replacement-specs)
(transform-package-source-branch): New procedures.
(%transformations, %transformation-options): Add 'with-branch'.
(show-transformation-options-help): Likewise.
* tests/guix-build-branch.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Package Transformation Options): Document it.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+48 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | | | inferior: Add 'inferior-eval-with-store'.•••* guix/inferior.scm (inferior-eval-with-store): New procedure, with code
formerly in 'inferior-package-derivation'.
(inferior-package-derivation): Rewrite in terms of
'inferior-eval-with-store'.
* tests/inferior.scm ("inferior-eval-with-store"): New test.
| Ludovic Courtès | 2018-11-28 | 1 | -0/+9 |
* | | | | | | | | | | | | | | | | | | | grafts: Record metadata as derivation properties.•••* guix/grafts.scm (graft-derivation/shallow): Pass #:properties to
'build-expression->derivation'.
* tests/grafts.scm ("graft-derivation, grafted item is a direct
dependency"): Check the value returned by 'derivation-properties'.
| Ludovic Courtès | 2018-11-28 | 1 | -5/+8 |
* | | | | | | | | | | | | | | | | | | | derivations: Add properties.•••* guix/derivations.scm (derivation): Add #:properties parameter.
[user+system-env-vars]: Honor it.
(derivation-properties): New procedure.
(build-expression->derivation): Add #:properties and pass it to
'derivation'.
* guix/gexp.scm (gexp->derivation): Likewise.
* tests/derivations.scm ("derivation-properties"): New test.
* tests/gexp.scm ("gexp->derivation properties"): New test.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
| Ludovic Courtès | 2018-11-28 | 2 | -1/+19 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | | pack: Add '--profile-name'.•••* guix/scripts/pack.scm (self-contained-tarball): Add #:profile-name and
honor it.
(squashfs-image, docker-image): Add #:profile-name.
(%default-options): Add 'profile-name'.
(%options, show-help): Add "--profile-name".
(guix-pack): Honor it.
* tests/guix-pack-localstatedir.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix pack): Document "--profile-name".
| Ludovic Courtès | 2018-11-23 | 1 | -0/+69 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | lint: 'check-derivation' tries all the package's supported systems.•••This allows us to catch architecture-specific evaluation failures.
* guix/scripts/lint.scm (check-derivation): Move body into...
[try]: ... this. New procedure.
Call 'try' for each supported system of PACKAGE.
| Ludovic Courtès | 2018-11-20 | 1 | -2/+2 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | deduplication: Restore directory mtime and permissions after deduplication.•••Fixes <https://bugs.gnu.org/33361>.
* guix/store/deduplication.scm (replace-with-link): Call 'set-file-time'
and 'chmod' after 'rename-file'.
* tests/nar.scm ("restore-file-set with directories (signed, valid)"):
New test.
| Ludovic Courtès | 2018-11-13 | 1 | -0/+35 |
* | | | | | | | | | | | | | | | | tests: Check file canonicalization for 'restore-file-set'.•••* guix/tests.scm (canonical-file?): New procedure.
* tests/nar.scm ("restore-file-set (signed, valid)"): Check that every
item of FILES matches 'canonical-file?'.
| Ludovic Courtès | 2018-11-13 | 1 | -1/+4 |
* | | | | | | | | | | | | | | | | tests: Remove check for a feature that appeared in Guile 2.0.10.•••* tests/nar.scm: Remove test for 'open-sha256-input-port'.
| Ludovic Courtès | 2018-11-13 | 1 | -7/+0 |
* | | | | | | | | | | | | | | | | tests: Add 'test-assertm' to (guix tests).•••* guix/tests.scm (test-assertm): New macro.
* tests/gexp.scm (test-assertm): Remove.
* tests/profiles.scm (test-assertm): Remove.
* tests/challenge.scm (%store, test-assertm): Remove.
* tests/debug-link.scm (%store, test-assertm): Remove.
* tests/size.scm (%store, test-assertm): Remove.
| Ludovic Courtès | 2018-11-12 | 5 | -40/+0 |
* | | | | | | | | | | | | | | | | guix package: '--show' errors when asked for a non-existent package.•••Fixes <https://bugs.gnu.org/33323>.
Reported by swedebugia <swedebugia@riseup.net>.
* guix/scripts/package.scm (process-query): Call 'leave' when
'find-packages-by-name' returns the empty list.
* tests/guix-package.sh: Test it.
| Ludovic Courtès | 2018-11-11 | 1 | -0/+4 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | pack: Add test for '--relocatable'.•••* tests/guix-pack-relocatable.sh: New file.
* Makefile.am (SH_TESTS): Add it.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+61 |
* | | | | | | | | | | | | | | | store-copy: Canonicalize the mtime and permissions of the store copy.•••Fixes a bug whereby directories in the output of 'guix pack -f tarball'
would not be read-only.
* guix/build/store-copy.scm (reset-permissions): New procedure.
(populate-store): Pass #:keep-mtime? #t to 'copy-recursively'. Call
'reset-permissions'.
* tests/pack.scm ("self-contained-tarball"): In CHECK, define
'canonical?' and use it to check that every file has an mtime of 1 and
is read-only.
* tests/guix-pack.sh: Invoke "chmod -Rf +w" before "rm -rf" in trap.
| Ludovic Courtès | 2018-11-06 | 2 | -13/+37 |
* | | | | | | | | | | | | | | | pack: Add test for 'self-contained-tarball' with localstatedir.•••* tests/pack.scm ("self-contained-tarball + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+23 |
* | | | | | | | | | | | | | | | pack: Squashfs backend now honors '--localstatedir'.•••* guix/scripts/pack.scm (squashfs-image)[database]: New variable.
[build]: Add (gnu build install) to the closure. Call
'install-database-and-gc-roots' when DATABASE is true, and invoke
mksquashfs once more.
* tests/pack.scm ("squashfs-image + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+36 |
* | | | | | | | | | | | | | | | pack: Docker backend now honors '--localstatedir'.•••* guix/docker.scm (build-docker-image): Add #:database parameter.
Create /var/guix/db, /var/guix/profiles, etc. when DATABASE is true.
* guix/scripts/pack.scm (docker-image): Export. Remove #:deduplicate?
parameter. Define 'database' and pass it to 'docker-image'.
* tests/pack.scm (test-assertm): Recompile the derivation of
%BOOTSTRAP-GUILE.
("docker-image + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -2/+51 |
* | | | | | | | | | | | | | | | pack: Import (guix store database) only when '--localstatedir' is passed.•••This is another way to address <https://bugs.gnu.org/32184>, which was
previously addressed in commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* gnu/build/install.scm (register-closure): Move to...
* gnu/build/vm.scm (register-closure): ... here. New procedure.
* guix/scripts/pack.scm (self-contained-tarball)[build]: Remove
now unneeded 'with-extensions' form and custom (guix config) module.
* tests/guix-pack.sh: Revert the strategy from
commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* tests/pack.scm ("self-contained-tarball"): Likewise.
| Ludovic Courtès | 2018-11-06 | 2 | -53/+37 |
| |_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | Add 'guix processes'.•••* guix/scripts/processes.scm, tests/processes.scm: New files.
* Makefile.am (MODULES): Add the former.
(SCM_TESTS): Add the latter.
* po/guix/POTFILES.in: Add guix/scripts/processes.scm.
* doc/guix.texi (Invoking guix processes): New node.
(Invoking guix-daemon): Reference it.
| Ludovic Courtès | 2018-10-29 | 1 | -0/+86 |