<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/guix-register.sh, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2018-06-14T09:17:00Z</updated>
<entry>
<title>Remove 'guix-register' and its traces.</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-08T09:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ea0a06cee2ba05451f94714a4f913db02efbe92c'/>
<id>urn:sha1:ea0a06cee2ba05451f94714a4f913db02efbe92c</id>
<content type='text'>
* Makefile.am (SH_TESTS): Remove tests/guix-register.sh.
* build-aux/pre-inst-env.in (GUIX_REGISTER): Remove.
* gnu/build/install.scm (directives): Remove outdated comment.
* gnu/build/vm.scm (root-partition-initializer): Update comment.
* gnu/packages/package-management.scm (guix-register): Remove.
* guix/config.scm.in (%sbindir, %guix-register-program): Remove.
* guix/scripts/system.scm (install): Adjust docstring.
* guix/self.scm (make-config.scm): Remove #:guix.  Do not generate
%sbindir and %guix-register-program.
(specification-&gt;package): Remove "guix".
* nix/guix-register/guix-register.cc: Remove.
* nix/libstore/store-api.cc (decodeValidPathInfo): Remove.
* nix/libstore/store-api.hh (decodeValidPathInfo): Remove declaration.
* nix/local.mk (sbin_PROGRAMS, guix_register_SOURCES)
(guix_register_CPPFLAGS, guix_register_LDFLAGS): Remove.
* tests/guix-register.sh: Remove.
</content>
</entry>
<entry>
<title>tests: Improve synchronization in 'tests/guix-register.sh'.</title>
<updated>2016-07-29T09:39:30Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-07-29T09:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=57c7e46d391bea11cacf44f9743c721c070bd3a8'/>
<id>urn:sha1:57c7e46d391bea11cacf44f9743c721c070bd3a8</id>
<content type='text'>
* tests/guix-register.sh: When launching guix-daemon, add retry loop
around 'open-connection'.  This fixes test failures that could occur
under heavy load where the daemon's socket file wouldn't be ready yet
when the client connects.
</content>
</entry>
<entry>
<title>guix-register: Perform deduplication even when --prefix is passed.</title>
<updated>2015-06-10T11:47:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-10T11:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=369755847b942806efe710b88146311849046017'/>
<id>urn:sha1:369755847b942806efe710b88146311849046017</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/19044&gt;.

* nix/guix-register/guix-register.cc (register_validity): Change the (optimize
  &amp;&amp; prefix.empty ()) condition to just (optimize).  Change settings.nixStore
  around the loop.  Prepend PREFIX to the argument passed to 'optimisePath'.
* tests/guix-register.sh: Use 'guix-register -p' with duplicate files, and
  make sure they are deduplicated on the target.  Adjust existing tests.
</content>
</entry>
<entry>
<title>tests: Make the daemon socket explicit in guix-register test.</title>
<updated>2015-06-10T09:11:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-10T09:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=4ae1fe14b90dba3b3394852079783ca43272a675'/>
<id>urn:sha1:4ae1fe14b90dba3b3394852079783ca43272a675</id>
<content type='text'>
* tests/guix-register.sh: Define GUIX_DAEMON_SOCKET.  Pass it explicitly to
  'open-connection'.
</content>
</entry>
<entry>
<title>tests: Skip 'guix-register' when the socket name length is exceeded.</title>
<updated>2015-02-02T11:46:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-02-02T11:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=bd98ad1fbcc572a292bb98b2c667dcb48bf7cc49'/>
<id>urn:sha1:bd98ad1fbcc572a292bb98b2c667dcb48bf7cc49</id>
<content type='text'>
* tests/guix-register.sh: Before running 'guix-daemon', check whether
  the socket name length exceeds the system limitation.
</content>
</entry>
<entry>
<title>guix-register: By default, attempt to deduplicate registered items.</title>
<updated>2014-08-24T22:16:49Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-08-24T22:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c6df09941b9fb225788e9efa276b7aa92e19d3c0'/>
<id>urn:sha1:c6df09941b9fb225788e9efa276b7aa92e19d3c0</id>
<content type='text'>
* nix/guix-register/guix-register.cc (GUIX_OPT_DEDUPLICATE): New macro.
  (options): Add --no-deduplication.
  (deduplication): New variable.
  (parse_opt): Handle GUIX_OPT_DEDUPLICATE.
  (register_validity): Add 'optimize' parameter and honor it.
  (main): Move 'store' instanatiation after 'settings.nixStore'
  assignment.
* tests/guix-register.sh: Add test for deduplication.
* guix/nar.scm (finalize-store-file): Update comment above
  'register-path' call.
</content>
</entry>
<entry>
<title>build: Fix typo that would lead to hitting the socket name length limit.</title>
<updated>2014-07-20T20:39:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-07-20T20:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=58f485cc803b978a048cdb4d9c472e48a662744c'/>
<id>urn:sha1:58f485cc803b978a048cdb4d9c472e48a662744c</id>
<content type='text'>
* tests/guix-register.sh: Remove redundant $new_store in $NIX_STATE_DIR,
  introduced in 689142cd ("guix-register: Add '--state-directory'
  parameter.")  Reported by Eric Bavier &lt;ericbavier@gmail.com&gt; and
  Alen Skondro &lt;askondro@gmail.com&gt;.
</content>
</entry>
<entry>
<title>guix-register: Add '--state-directory' parameter.</title>
<updated>2014-07-18T18:40:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-07-18T09:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=689142cd759457f375230a00dc719ddc00dc2fe4'/>
<id>urn:sha1:689142cd759457f375230a00dc719ddc00dc2fe4</id>
<content type='text'>
* nix/guix-register/guix-register.cc (GUIX_OPT_STATE_DIRECTORY): New
  macro.
  (parse_opt): Honor it.
* tests/guix-register.sh: Add test with '--state-directory'.
* guix/store.scm (register-path): Add #:state-directory parameter.
</content>
</entry>
<entry>
<title>build: Support running the test suite from a directory with symlinks.</title>
<updated>2014-07-05T17:15:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-07-05T17:07:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8ad49499b98b53ac105acd6fe58225b37e60e40b'/>
<id>urn:sha1:8ad49499b98b53ac105acd6fe58225b37e60e40b</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/17935&gt;.
Reported by Alex Kost &lt;alezost@gmail.com&gt;.

* test-env.in: Canonicalize $NIX_STORE_DIR, and remove
  $NIX_IGNORE_SYMLINK_STORE setting.
* tests/guix-register.sh: Likewise, canonicalize $new_store_dir and
  $new_store and leave $NIX_IGNORE_SYMLINK_STORE unchanged.
</content>
</entry>
<entry>
<title>build: Fix test failures due to the nix -&gt; guix directory name change.</title>
<updated>2014-03-17T22:30:42Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-03-17T22:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=aa2480e50d713b90805336ab48477ba596aef531'/>
<id>urn:sha1:aa2480e50d713b90805336ab48477ba596aef531</id>
<content type='text'>
Reported by Nikita Karetnikov &lt;nikita@karetnikov.org&gt;
and Pierre-Antoine Rault &lt;par@rigelk.eu&gt;.

* test-env.in: Change 'NIX_LOG_DIR' in accordance with f5768af.
* tests/guix-register.sh: Likewise for 'NIX_LOG_DIR' and 'NIX_DB_DIR'.
</content>
</entry>
</feed>
