<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/scripts-build.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-03-17T21:55:01Z</updated>
<entry>
<title>guix build: '--with-commit' makes recursive checkouts.</title>
<updated>2019-03-17T21:55:01Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-03-13T09:26:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=845c44012c2a05436dc0a5316ff3c2a9e5bd725f'/>
<id>urn:sha1:845c44012c2a05436dc0a5316ff3c2a9e5bd725f</id>
<content type='text'>
This was an omission from commit
024a6bfba906742c136a47b4099f06880f1d3f15.

* guix/scripts/build.scm (transform-package-source-commit): Add
'recursive?' field to SOURCE.
* tests/scripts-build.scm ("options-&gt;transformation, with-branch")
("options-&gt;transformation, with-commit"): New tests.
</content>
</entry>
<entry>
<title>guix build: Transformation options match packages by spec.</title>
<updated>2019-03-17T21:55:01Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-03-13T09:11:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=14328b81a224b726f39dd030886ba8d332027427'/>
<id>urn:sha1:14328b81a224b726f39dd030886ba8d332027427</id>
<content type='text'>
This allows us to combine several transformations on a given package, in
particular '--with-git-url' and '--with-branch'.

Previously transformations would ignore each other since they would all
take (specification-&gt;package SOURCE) as their replacement source,
compare it by identity, which doesn't work if a previous transformation
has already changed SOURCE.

* guix/scripts/build.scm (evaluate-replacement-specs): Adjust to produce
an alist as expected by 'package-input-rewriting/spec', with a package
spec as the first element of each pair.
(evaluate-git-replacement-specs): Likewise.
(transform-package-inputs):  Adjust accordingly and use
'package-input-rewriting/spec'.
(transform-package-inputs/graft): Likewise.
(transform-package-source-branch, transform-package-source-commit): Use
'package-input-rewriting/spec'.
(transform-package-source-git-url): Likewise, and adjust the
REPLACEMENTS alist accordingly.
(options-&gt;transformation): Iterate over OPTS instead of over
%TRANSFORMATIONS.  Invoke transformations one by one.
* tests/scripts-build.scm ("options-&gt;transformation, with-input"):
Adjust test to compare packages by name rather than by identity.
("options-&gt;transformation, with-git-url + with-branch"): New test.
</content>
</entry>
<entry>
<title>guix build: Add '--with-git-url'.</title>
<updated>2019-03-17T21:55:01Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-03-12T14:50:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=880916ac5228b9cfd6e65ac243d17f6bd12edaf9'/>
<id>urn:sha1:880916ac5228b9cfd6e65ac243d17f6bd12edaf9</id>
<content type='text'>
* guix/scripts/build.scm (%not-equal): New variable.
(evaluate-git-replacement-specs): Use it instead of local variable
'not-equal'.
(transform-package-source-git-url): New procedure.
(%transformations): Add 'with-git-url'.
(%transformation-options, show-transformation-options-help): Add
'--with-git-url'.
* tests/scripts-build.scm ("options-&gt;transformation, with-git-url"):
New test.
</content>
</entry>
<entry>
<title>guix build: Support '--with-source=PACKAGE@VERSION=URI'.</title>
<updated>2017-12-22T23:05:05Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-12-22T22:40:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3e30cdf1c35ebeb52630ec19b3b43b9e6d5ffb81'/>
<id>urn:sha1:3e30cdf1c35ebeb52630ec19b3b43b9e6d5ffb81</id>
<content type='text'>
* guix/scripts/build.scm (numeric-extension?, tarball-base-name): New
procedures, formerly in 'package-with-source'.
(transform-package-source)[new-sources]: Look for '=' in URI.  Each
element of the list of now a (PKG VERSION SOURCE) tuple.
Pass VERSION to 'package-with-source'.
(package-with-source): Add 'version' parameter and honor it.
* tests/scripts-build.scm ("options-&gt;transformation, with-source, PKG=URI")
("options-&gt;transformation, with-source, PKG@VER=URI"): New tests.
* doc/guix.texi (Package Transformation Options): Document the new
forms.
</content>
</entry>
<entry>
<title>tests: Adjust to the addition of a new Coreutils version.</title>
<updated>2017-04-21T20:53:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-04-21T20:53:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=904c6c42eb8c3805edd293666eeb4b3837e2b7a6'/>
<id>urn:sha1:904c6c42eb8c3805edd293666eeb4b3837e2b7a6</id>
<content type='text'>
* tests/scripts-build.scm ("options-&gt;transformation, with-input"): Use
'specification-&gt;package' rather than refer to Coreutils by its
variable.  This is a followup to e162050dfc0dee708a7ac5bfcf37d2afd6081604.
</content>
</entry>
<entry>
<title>guix build: '--with-source' overrides the 'replacement' of a package.</title>
<updated>2016-12-21T22:48:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-21T22:46:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7c247809efe5d6a2a11617f41f45a2b6e8d6855f'/>
<id>urn:sha1:7c247809efe5d6a2a11617f41f45a2b6e8d6855f</id>
<content type='text'>
* guix/scripts/build.scm (package-with-source): Set 'replacement' to #f.
* tests/scripts-build.scm ("options-&gt;transformation, with-source,
replacement"): New test.
</content>
</entry>
<entry>
<title>tests: Fix typo in 'with-graft' transformation test.</title>
<updated>2016-10-19T13:54:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-10-19T13:17:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0d7034ca4fa287f792a934dd3ac17905db683f4f'/>
<id>urn:sha1:0d7034ca4fa287f792a934dd3ac17905db683f4f</id>
<content type='text'>
This is a followup to 645b9df858683dc05ffa04c9eb2fdc45ccef4a65.

* tests/scripts-build.scm ("options-&gt;transformation, with-graft"): Use
'with-graft', not 'with-input'.
</content>
</entry>
<entry>
<title>guix build: Add '--with-graft'.</title>
<updated>2016-10-17T21:59:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-10-17T21:40:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=645b9df858683dc05ffa04c9eb2fdc45ccef4a65'/>
<id>urn:sha1:645b9df858683dc05ffa04c9eb2fdc45ccef4a65</id>
<content type='text'>
* guix/scripts/build.scm (transform-package-inputs/graft): New procedure.
(%transformations): Add 'with-graft'.
(%transformation-options): Likewise.
(show-transformation-options-help): Document it.
* tests/scripts-build.scm ("options-&gt;transformation, with-graft"): New
test.
* doc/guix.texi (Package Transformation Options): Document it.
</content>
</entry>
<entry>
<title>build: Add a Guile custom test driver using SRFI-64.</title>
<updated>2016-04-03T12:19:09Z</updated>
<author>
<name>Mathieu Lirzin</name>
<email>mthl@gnu.org</email>
</author>
<published>2015-10-26T22:47:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a9edb211e733b8b34e67ec3b4450567e9376986f'/>
<id>urn:sha1:a9edb211e733b8b34e67ec3b4450567e9376986f</id>
<content type='text'>
Before that '.log' files for scheme tests were fragmented and not
included in test-suite.log.  This unifies the semantics of SRFI-64 API
with Automake test suite.

* build-aux/test-driver.scm: New file.
* Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables.
(SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables.
(AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0.
* test-env.in: Silence guix-daemon.
* doc/guix.texi (Running the Test Suite): Describe how to display the
detailed results.  Bug reports require only 'test-suite.log' file.
* tests/base32.scm, tests/build-utils.scm, tests/builders.scm,
tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm,
tests/cve.scm, tests/derivations.scm, tests/elpa.scm,
tests/file-systems.scm, tests/gem.scm, tests/gexp.scm,
tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm,
tests/gremlin.scm, tests/hackage.scm, tests/hash.scm,
tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm,
tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm,
tests/profiles.scm, tests/publish.scm, tests/pypi.scm,
tests/records.scm, tests/scripts-build.scm, tests/scripts.scm,
tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm,
tests/store.scm, tests/substitute.scm, tests/syscalls.scm,
tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm,
tests/utils.scm: Don't exit at the end of test groups.
* tests/containers.scm: Likewise.  Use 'test-skip' instead of exiting
with error code 77.
</content>
</entry>
<entry>
<title>guix build: '--with-source' correctly matches versioned file names.</title>
<updated>2016-03-23T22:43:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-03-23T21:32:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9a2a20052a1a9c384a1b877d7c71d2d239f9467e'/>
<id>urn:sha1:9a2a20052a1a9c384a1b877d7c71d2d239f9467e</id>
<content type='text'>
* guix/scripts/build.scm: Use the right 'package-name-&gt;name+version'
procedure.  Fixes a regression introduced in
1b846da8c372bee78851439fd9e72b2499115e5a.
* tests/scripts-build.scm ("options-&gt;transformation, with-source, with
version"): New test.
</content>
</entry>
</feed>
