<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/nix/guix-register, 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>guix-register: Use C++11 range 'for' loop instead of 'foreach' macro.</title>
<updated>2015-06-10T11:55:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-10T11:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8ac0368e5b141f098edb67f228158cd6bad142f2'/>
<id>urn:sha1:8ac0368e5b141f098edb67f228158cd6bad142f2</id>
<content type='text'>
* nix/guix-register/guix-register.cc (register_validity): Use C++11 range
  'for' loop instead of 'foreach'.
</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>guix-register: Do not attempt to create NIX_STORE_DIR.</title>
<updated>2014-11-02T20:38:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-11-02T20:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=47e643db107d4c4569fe2195c5369d748169ae47'/>
<id>urn:sha1:47e643db107d4c4569fe2195c5369d748169ae47</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/18689&gt;.
Reported by Philip Woods &lt;elzairthesorcerer@gmail.com&gt;.

* nix/guix-register/guix-register.cc (main): Move 'store' instantiation
  above 'settings.nixStore' assignment.
</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>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>guix-register: Add explicit libgcrypt initialization.</title>
<updated>2014-06-29T21:53:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-06-29T21:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1ddbd9fd71502c9332ca84a74734121c407a5708'/>
<id>urn:sha1:1ddbd9fd71502c9332ca84a74734121c407a5708</id>
<content type='text'>
* nix/guix-register/guix-register.cc (main): Add calls to
  'gcry_check_version' and 'gcry_control', to appease libgcrypt.
</content>
</entry>
<entry>
<title>guix-register: Support registration in the current store, without '--prefix'.</title>
<updated>2014-01-23T23:01:49Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-01-11T15:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=349fd3b11f320453ad8eeb3031621d0ffcaf078d'/>
<id>urn:sha1:349fd3b11f320453ad8eeb3031621d0ffcaf078d</id>
<content type='text'>
* nix/guix-register/guix-register.cc (register_validity): Leave
  'info.path' unmodified when PREFIX is empty.
  (main): Call 'settings.processEnvironment' early on.
  Leave 'settings.nixStore' unmodified when PREFIX is empty.
</content>
</entry>
<entry>
<title>guix-register: Allow the initial directory creation to proceed.</title>
<updated>2013-09-24T21:40:49Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2013-09-24T20:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=923206f79b2e3e1b7c4afbf03aae9c6b4f715d3e'/>
<id>urn:sha1:923206f79b2e3e1b7c4afbf03aae9c6b4f715d3e</id>
<content type='text'>
This fixes a bug whereby 'guix-register' would bail out when trying to
create NIX_STORE_DIR/.links when NIX_STORE_DIR is read-only.

* nix/guix-register/guix-register.cc (parse_opt): Initialize
  'settings.nixStore' to PREFIX + NIX_STORE_DIR.
  (main): Change 'settings.nixStore' once the 'LocalStore' has been
  instantiated.
</content>
</entry>
<entry>
<title>guix-register: Expect closures to refer to the original store.</title>
<updated>2013-09-23T21:56:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2013-09-23T19:24:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=caf96debc257dee9ad8b0ea74cc6a8241c30dad4'/>
<id>urn:sha1:caf96debc257dee9ad8b0ea74cc6a8241c30dad4</id>
<content type='text'>
* nix/guix-register/guix-register.cc (prefix): New variable.
  (parse_opt): Use it.
  (register_validity): Change 'info.path' to the final store name.
  Hash the final under its real path.
* tests/guix-register.sh: Adjust the contents of $closure accordingly.
  Rename 'NIX_LOCALSTATE_DIR' to 'NIX_STATE_DIR'.  Don't try to call
  'valid-path?'.  Add test using 'sqlite3'.
</content>
</entry>
</feed>
