<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests, branch v1.1.0rc1</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>tests: Adjust '--with-commit' test for tags.</title>
<updated>2020-04-04T16:52:36+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-04T16:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=3cea55078857ecd8ca67fd7cf4eaebb13fb6d9d3'/>
<id>3cea55078857ecd8ca67fd7cf4eaebb13fb6d9d3</id>
<content type='text'>
This is a followup to efa578ecaece67366b4b0e2266de7c2faaa4ae54.

* tests/guix-build-branch.sh: Adjust '--with-commit=guile-gcrypt=v0.1.0'
test to expect the tag ID rather than the commit ID.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to efa578ecaece67366b4b0e2266de7c2faaa4ae54.

* tests/guix-build-branch.sh: Adjust '--with-commit=guile-gcrypt=v0.1.0'
test to expect the tag ID rather than the commit ID.
</pre>
</div>
</content>
</entry>
<entry>
<title>store: 'with-store' doesn't close the store upon abort.</title>
<updated>2020-04-04T16:52:35+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-04T15:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8ed597f4a261fe188de82cd1f5daed83dba948eb'/>
<id>8ed597f4a261fe188de82cd1f5daed83dba948eb</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/40428&gt;.
Reported by Marius Bakke &lt;mbakke@fastmail.com&gt; and 白い熊.

Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8fd6846117c5d7698842748300d13e31 and subsequent.

* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'.  This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/40428&gt;.
Reported by Marius Bakke &lt;mbakke@fastmail.com&gt; and 白い熊.

Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8fd6846117c5d7698842748300d13e31 and subsequent.

* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'.  This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>pack: Adjust test to '--dry-run' changes.</title>
<updated>2020-03-30T22:06:36+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-30T22:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b771e0176a9cafaaf5fc279a7f3e5e3033b5fb4f'/>
<id>b771e0176a9cafaaf5fc279a7f3e5e3033b5fb4f</id>
<content type='text'>
This is a followup to 131f50cdc9dbb7183023f4dae759876a9e700bef.

* tests/guix-pack.sh: Use '--no-grafts' in conjunction with '-n' and '-d'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to 131f50cdc9dbb7183023f4dae759876a9e700bef.

* tests/guix-pack.sh: Use '--no-grafts' in conjunction with '-n' and '-d'.
</pre>
</div>
</content>
</entry>
<entry>
<title>guix package: Do not misdiagnose upgrades when there are propagated inputs.</title>
<updated>2020-03-30T22:06:36+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-30T21:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=a357849f5b1314c2a35efeee237645b9b08c39f5'/>
<id>a357849f5b1314c2a35efeee237645b9b08c39f5</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35872&gt;.
Reported by Andy Tai &lt;atai@atai.org&gt;.

* guix/profiles.scm (list=?, manifest-entry=?): New procedures.
* guix/scripts/package.scm (transaction-upgrade-entry): In the '=' case,
use 'manifest-entry=?' to determine whether it's an upgrade.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades,
propagated inputs"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/35872&gt;.
Reported by Andy Tai &lt;atai@atai.org&gt;.

* guix/profiles.scm (list=?, manifest-entry=?): New procedures.
* guix/scripts/package.scm (transaction-upgrade-entry): In the '=' case,
use 'manifest-entry=?' to determine whether it's an upgrade.
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades,
propagated inputs"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>guix package: Add 'transaction-upgrade-entry' test.</title>
<updated>2020-03-30T22:06:36+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-30T21:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b9c79cae53f5f828e078ac5aafc2d80fa3204aae'/>
<id>b9c79cae53f5f828e078ac5aafc2d80fa3204aae</id>
<content type='text'>
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades, equivalent package"):
New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/packages.scm ("transaction-upgrade-entry, zero upgrades, equivalent package"):
New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>guix package: 'transaction-upgrade-entry' swallows build requests.</title>
<updated>2020-03-30T22:06:36+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-30T20:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=a187cc562890895ad41dfad00eb1d5c4a4b00936'/>
<id>a187cc562890895ad41dfad00eb1d5c4a4b00936</id>
<content type='text'>
Fixes a regression introduced in
131f50cdc9dbb7183023f4dae759876a9e700bef whereby the install/upgrade
message would not be displayed:

  $ guix upgrade -n
  2.1 MB would be downloaded:
     /gnu/store/…-something-1.2
     /gnu/store/…-its-dependency-2.3

This is because we'd directly abort from 'transaction-upgrade-entry' to
the build handler of 'build-notifier'.

* guix/scripts/package.scm (transaction-upgrade-entry): Call 'string=?'
expression in 'with-build-handler'.
* tests/packages.scm ("transaction-upgrade-entry, grafts"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a regression introduced in
131f50cdc9dbb7183023f4dae759876a9e700bef whereby the install/upgrade
message would not be displayed:

  $ guix upgrade -n
  2.1 MB would be downloaded:
     /gnu/store/…-something-1.2
     /gnu/store/…-its-dependency-2.3

This is because we'd directly abort from 'transaction-upgrade-entry' to
the build handler of 'build-notifier'.

* guix/scripts/package.scm (transaction-upgrade-entry): Call 'string=?'
expression in 'with-build-handler'.
* tests/packages.scm ("transaction-upgrade-entry, grafts"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>store: Add 'map/accumulate-builds'.</title>
<updated>2020-03-29T13:32:17+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-25T11:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c40bf5816cb3ffb59920a61f71bd34b53cac3637'/>
<id>c40bf5816cb3ffb59920a61f71bd34b53cac3637</id>
<content type='text'>
* guix/store.scm (&lt;unresolved&gt;): New record type.
(build-accumulator, map/accumulate-builds, mapm/accumulate-builds): New
procedures.
* tests/store.scm ("map/accumulate-builds", "mapm/accumulate-builds"):
New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/store.scm (&lt;unresolved&gt;): New record type.
(build-accumulator, map/accumulate-builds, mapm/accumulate-builds): New
procedures.
* tests/store.scm ("map/accumulate-builds", "mapm/accumulate-builds"):
New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Adjust to 'show-manifest-transaction' changes.</title>
<updated>2020-03-25T15:02:53+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-25T14:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c136da3fbd92a5db1f889d37f0a7c938ccd63648'/>
<id>c136da3fbd92a5db1f889d37f0a7c938ccd63648</id>
<content type='text'>
This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab.

* tests/ui.scm ("show-manifest-transaction"): Update regexp.
* tests/guix-package.sh: Adjust Emacs regexp in --with-source test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab.

* tests/ui.scm ("show-manifest-transaction"): Update regexp.
* tests/guix-package.sh: Adjust Emacs regexp in --with-source test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove workaround for 'time-monotonic' in Guile 2.2.2.</title>
<updated>2020-03-22T15:49:47+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-22T14:58:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=9acacb71c958218fd69cf0fb9df0b439a980a0f2'/>
<id>9acacb71c958218fd69cf0fb9df0b439a980a0f2</id>
<content type='text'>
This is a followup to e688c2df3924423b67892cc9939ca099c729d1cb.

* build-aux/hydra/evaluate.scm &lt;top level&gt;: Remove 'time-monotonic'
definition.
* guix/cache.scm: Likewise.
* guix/progress.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
* guix/scripts/weather.scm: Likewise.
* tests/cache.scm: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to e688c2df3924423b67892cc9939ca099c729d1cb.

* build-aux/hydra/evaluate.scm &lt;top level&gt;: Remove 'time-monotonic'
definition.
* guix/cache.scm: Likewise.
* guix/progress.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
* guix/scripts/weather.scm: Likewise.
* tests/cache.scm: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>store: Add 'with-build-handler'.</title>
<updated>2020-03-22T11:42:51+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-03-18T21:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=041b340da409078951267b6a8c43b27716e6b7ec'/>
<id>041b340da409078951267b6a8c43b27716e6b7ec</id>
<content type='text'>
* guix/store.scm (current-build-prompt): New variable.
(call-with-build-handler, invoke-build-handler): New procedures.
(with-build-handler): New macro.
* tests/store.scm ("with-build-handler"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/store.scm (current-build-prompt): New variable.
(call-with-build-handler, invoke-build-handler): New procedures.
(with-build-handler): New macro.
* tests/store.scm ("with-build-handler"): New test.
</pre>
</div>
</content>
</entry>
</feed>
