<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests, branch base-for-issue-62196</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>Revert "tests: pack: Fix indentation."</title>
<updated>2023-03-17T16:14:14+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2023-03-17T16:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=933051281fbed0ae71bd40c24a701faf2a02791c'/>
<id>933051281fbed0ae71bd40c24a701faf2a02791c</id>
<content type='text'>
This reverts commit ac1d530d56c1a259630c8873b2281033878a4acb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ac1d530d56c1a259630c8873b2281033878a4acb.
</pre>
</div>
</content>
</entry>
<entry>
<title>read-print: 'read-with-comments' reads comments within gexps.</title>
<updated>2023-03-16T22:03:18+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-03-16T21:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=83128f00e9149f3c1bcd4450eb0ed3620a37149c'/>
<id>83128f00e9149f3c1bcd4450eb0ed3620a37149c</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/62059&gt;.
Reported by Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;.

* guix/read-print.scm (read-with-comments): Special-case #~, #$, and #+.
* tests/read-print.scm: Add two tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://issues.guix.gnu.org/62059&gt;.
Reported by Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;.

* guix/read-print.scm (read-with-comments): Special-case #~, #$, and #+.
* tests/read-print.scm: Add two tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>packages: 'package-input-rewriting/spec' ignores hidden packages.</title>
<updated>2023-03-13T14:08:33+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-03-08T11:53:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=eee95b5a879b7096dffd533f24107cf8926b621e'/>
<id>eee95b5a879b7096dffd533f24107cf8926b621e</id>
<content type='text'>
The primary motivation is to support things like:

  guix build guix --with-input=guile=guile-next

without triggering a rebuild of (@@ (gnu packages commencement)
guile-final) and similar things.

It is also consistent with package name resolution on the command line:
a package that cannot be named cannot be replaced.

* guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is
hidden, return it as-is.
* tests/packages.scm ("package-input-rewriting/spec, hidden package"):
New test.
* doc/guix.texi (Defining Package Variants): Update.
(Package Transformation Options): Update '--with-input' example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The primary motivation is to support things like:

  guix build guix --with-input=guile=guile-next

without triggering a rebuild of (@@ (gnu packages commencement)
guile-final) and similar things.

It is also consistent with package name resolution on the command line:
a package that cannot be named cannot be replaced.

* guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is
hidden, return it as-is.
* tests/packages.scm ("package-input-rewriting/spec, hidden package"):
New test.
* doc/guix.texi (Defining Package Variants): Update.
(Package Transformation Options): Update '--with-input' example.
</pre>
</div>
</content>
</entry>
<entry>
<title>packages: Consider 'patches' by 'package-direct-sources'.</title>
<updated>2023-03-13T14:08:32+00:00</updated>
<author>
<name>Simon Tournier</name>
<email>zimon.toutoune@gmail.com</email>
</author>
<published>2023-03-11T16:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=9fb8a480d5aec9186908e92ad18b31455f4aab6b'/>
<id>9fb8a480d5aec9186908e92ad18b31455f4aab6b</id>
<content type='text'>
* guix/packages.scm (package-direct-sources): Return 'origin' from 'patches'.
* tests/packages.scm: Test it.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/packages.scm (package-direct-sources): Return 'origin' from 'patches'.
* tests/packages.scm: Test it.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>read-print: Correctly handle comments that follow a list head.</title>
<updated>2023-03-07T10:39:50+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-03-07T10:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=0a37921d851b94aef6900214098dc5bd62b46e26'/>
<id>0a37921d851b94aef6900214098dc5bd62b46e26</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/61013&gt;.
Reported by Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;.

* guix/read-print.scm (pretty-print-with-comments)[starts-with-line-comment?]:
New procedure.
Use it when printing a list.
* tests/read-print.scm: Add two tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://issues.guix.gnu.org/61013&gt;.
Reported by Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;.

* guix/read-print.scm (pretty-print-with-comments)[starts-with-line-comment?]:
New procedure.
Use it when printing a list.
* tests/read-print.scm: Add two tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>pack: Adjust shell tests to read-only tarball root.</title>
<updated>2023-02-27T22:40:43+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-02-27T22:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=92a0e60a963a54230e400c5c2ae585205489bf35'/>
<id>92a0e60a963a54230e400c5c2ae585205489bf35</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/61853&gt;.

Fixes a regression introduced in
68380db4c40a2ee1156349a87254fd7b1f1a52d5, whereby the tarball's root
entry is now read-only, due to the creation of "profile-directory" in
the store.

* tests/guix-pack.sh: Remove and recreate $test_directory before
transformation option test.
* tests/guix-pack-relocatable.sh: Add "chmod +w $test_directory" lines
before attempts to write to it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://issues.guix.gnu.org/61853&gt;.

Fixes a regression introduced in
68380db4c40a2ee1156349a87254fd7b1f1a52d5, whereby the tarball's root
entry is now read-only, due to the creation of "profile-directory" in
the store.

* tests/guix-pack.sh: Remove and recreate $test_directory before
transformation option test.
* tests/guix-pack-relocatable.sh: Add "chmod +w $test_directory" lines
before attempts to write to it.
</pre>
</div>
</content>
</entry>
<entry>
<title>pack: Make sure tests can run without a world rebuild.</title>
<updated>2023-02-27T14:54:09+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-02-27T14:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=fee1d08f0dd183ef78bcb9f1534d7b9e7f1df7ac'/>
<id>fee1d08f0dd183ef78bcb9f1534d7b9e7f1df7ac</id>
<content type='text'>
Commit 68380db4c40a2ee1156349a87254fd7b1f1a52d5 moved from
'gexp-&gt;derivation', which as a side effect, would lead tests to require
a "world rebuild"--specifically, they'd have to build (default-guile).

This was mitigated by 68775338a510f84e63657ab09242d79e726fa457, but that
change introduced another regression.

* guix/scripts/pack.scm (populate-profile-root): Define 'bootstrap?'.
Pass #:guile to 'computed-file', with a value depending on 'bootstrap?'.
* tests/pack.scm ("self-contained-tarball + localstatedir")
("docker-image + localstatedir", "squashfs-image + localstatedir")
("deb archive with symlinks and control files")
("rpm archive can be installed/uninstalled"): Use a &lt;profile&gt; record
instead of a derivation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 68380db4c40a2ee1156349a87254fd7b1f1a52d5 moved from
'gexp-&gt;derivation', which as a side effect, would lead tests to require
a "world rebuild"--specifically, they'd have to build (default-guile).

This was mitigated by 68775338a510f84e63657ab09242d79e726fa457, but that
change introduced another regression.

* guix/scripts/pack.scm (populate-profile-root): Define 'bootstrap?'.
Pass #:guile to 'computed-file', with a value depending on 'bootstrap?'.
* tests/pack.scm ("self-contained-tarball + localstatedir")
("docker-image + localstatedir", "squashfs-image + localstatedir")
("deb archive with symlinks and control files")
("rpm archive can be installed/uninstalled"): Use a &lt;profile&gt; record
instead of a derivation.
</pre>
</div>
</content>
</entry>
<entry>
<title>import: hackage: Add upstream-name property.</title>
<updated>2023-02-26T09:19:36+00:00</updated>
<author>
<name>Lars-Dominik Braun</name>
<email>lars@6xq.net</email>
</author>
<published>2023-01-04T08:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=84549dcf380b1ed7712816a1ff1bfe9688c1d9a7'/>
<id>84549dcf380b1ed7712816a1ff1bfe9688c1d9a7</id>
<content type='text'>
* guix/import/hackage.scm (hackage-module-&gt;sexp): Add property
upstream-name to imported package.
* tests/hackage.scm (match-ghc-foo): Add upstream-name property.
(match-ghc-foo-6): Ditto.
(match-ghc-elif): Ditto.
(match-ghc-foo-revision): Ditto.
(match-ghc-foo-import): Ditto.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/import/hackage.scm (hackage-module-&gt;sexp): Add property
upstream-name to imported package.
* tests/hackage.scm (match-ghc-foo): Add upstream-name property.
(match-ghc-foo-6): Ditto.
(match-ghc-elif): Ditto.
(match-ghc-foo-revision): Ditto.
(match-ghc-foo-import): Ditto.
</pre>
</div>
</content>
</entry>
<entry>
<title>pack: Add RPM format.</title>
<updated>2023-02-20T02:13:23+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2023-01-21T20:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=598f4c509bbfec2b983a8ee246cce0a0fe45ec7f'/>
<id>598f4c509bbfec2b983a8ee246cce0a0fe45ec7f</id>
<content type='text'>
* guix/rpm.scm: New file.
* guix/scripts/pack.scm (rpm-archive): New procedure.
(%formats): Register it.
(show-formats): Add it.
(guix-pack): Register supported extra-options for the rpm format.
* tests/pack.scm (rpm-for-tests): New variable.
("rpm archive can be installed/uninstalled"): New test.
* tests/rpm.scm: New test.
* doc/guix.texi (Invoking guix pack): Document it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/rpm.scm: New file.
* guix/scripts/pack.scm (rpm-archive): New procedure.
(%formats): Register it.
(show-formats): Add it.
(guix-pack): Register supported extra-options for the rpm format.
* tests/pack.scm (rpm-for-tests): New variable.
("rpm archive can be installed/uninstalled"): New test.
* tests/rpm.scm: New test.
* doc/guix.texi (Invoking guix pack): Document it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: pack: Fix indentation.</title>
<updated>2023-02-20T02:13:23+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2023-02-02T19:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ac1d530d56c1a259630c8873b2281033878a4acb'/>
<id>ac1d530d56c1a259630c8873b2281033878a4acb</id>
<content type='text'>
* tests/pack.scm: Fix indentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/pack.scm: Fix indentation.
</pre>
</div>
</content>
</entry>
</feed>
