<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/.dir-locals.el, 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-06-05T21:10:36Z</updated>
<entry>
<title>syscalls: Add 'with-file-lock' macro.</title>
<updated>2019-06-05T21:10:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-03T14:23:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b7178c22bf642919345095aff9e34e02c00d5762'/>
<id>urn:sha1:b7178c22bf642919345095aff9e34e02c00d5762</id>
<content type='text'>
* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock):
Move to...
* guix/build/syscalls.scm: ... here.
</content>
</entry>
<entry>
<title>publish: Add support for lzip.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-24T06:26:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=66229b04ae0ee05779b93d77900a062b8e0e8770'/>
<id>urn:sha1:66229b04ae0ee05779b93d77900a062b8e0e8770</id>
<content type='text'>
* guix/scripts/publish.scm (show-help, %options): Support '-C METHOD'
and '-C METHOD:LEVEL'.
(default-compression): New procedure.
(bake-narinfo+nar): Add lzip.
(nar-response-port): Likewise.
(string-&gt;compression-type): New procedure.
(make-request-handler): Generalize /nar/gzip handler to handle /nar/lzip
as well.
* tests/publish.scm ("/nar/lzip/*"): New test.
("/*.narinfo with lzip compression"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
(Requirements): Mention lzlib.
</content>
</entry>
<entry>
<title>database: Make 'register-items' transactional.</title>
<updated>2019-03-06T23:00:18Z</updated>
<author>
<name>Caleb Ristvedt</name>
<email>caleb.ristvedt@cune.org</email>
</author>
<published>2019-01-30T23:03:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a4678c6ba18d8dbd79d931f80426eebf61be7ebe'/>
<id>urn:sha1:a4678c6ba18d8dbd79d931f80426eebf61be7ebe</id>
<content type='text'>
* guix/store/database.scm (SQLITE_BUSY, register-output-sql): New variables.
(add-references): Don't try finalizing after each use, only after all the
uses (otherwise a finalized statement would be used if #:cache? was #f).
(call-with-transaction): New procedure.
(register-items): Use call-with-transaction to prevent broken intermediate
states from being visible.

* .dir-locals.el (call-with-transaction): indent it.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>status: Add 'with-status-verbosity'.</title>
<updated>2019-01-11T11:14:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-09T10:25:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7804c45b9ce5a8edd06452d828249e588ae26263'/>
<id>urn:sha1:7804c45b9ce5a8edd06452d828249e588ae26263</id>
<content type='text'>
* guix/status.scm (logger-for-level, call-with-status-verbosity): New
procedures.
(with-status-verbosity): New macro.
* guix/scripts/environment.scm (guix-environment): Use
'with-status-verbosity' instead of 'with-status-report'.
* guix/scripts/pack.scm (guix-pack): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* build-aux/run-system-tests.scm (run-system-tests): Likewise.
</content>
</entry>
<entry>
<title>tests: Run 'guix pack' tests using the external store.</title>
<updated>2018-10-19T16:28:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-19T15:58:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=19c924af4f3726688ca155a905ebf1cb9acdfca2'/>
<id>urn:sha1:19c924af4f3726688ca155a905ebf1cb9acdfca2</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/32184&gt;.

* guix/tests.scm (call-with-external-store): New procedure.
(with-external-store): New macro.
* tests/pack.scm (%store): Remove.
(test-assertm): Add 'store' parameter.
("self-contained-tarball"): Wrap in 'with-external-store'.
* tests/guix-pack.sh: Connect to the external store, if possible, by
setting NIX_STORE_DIR and GUIX_DAEMON_SOCKET.  Remove most uses of
'--bootstrap'.
</content>
</entry>
<entry>
<title>Add (guix status) and use it for pretty colored output.</title>
<updated>2018-09-27T21:21:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-01-18T22:21:29Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=dc0f74e5fc26977a3ee6c4f2aa74a141f4359982'/>
<id>urn:sha1:dc0f74e5fc26977a3ee6c4f2aa74a141f4359982</id>
<content type='text'>
* guix/progress.scm (progress-reporter/trace): New procedure.
(%progress-interval): New variable.
(progress-reporter/file): Use it.
* guix/scripts/build.scm (set-build-options-from-command-line): Pass
 #:print-extended-build-trace?.
(%default-options): Add 'print-extended-build-trace?'.
(guix-build): Parameterize CURRENT-TERMINAL-COLUMNS.  Use
'build-status-updater'.
* guix/scripts/environment.scm (%default-options): Add
'print-extended-build-trace?'.
(guix-environment): Wrap body in 'with-status-report'.
* guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and
'print-extended-build-trace?'.
(guix-pack): Wrap body in 'with-status-report'.
* guix/scripts/package.scm (%default-options, guix-package): Likewise.
* guix/scripts/system.scm (%default-options, guix-system): Likewise.
* guix/scripts/pull.scm (%default-options, guix-pull): Likewise.
* guix/scripts/substitute.scm (progress-report-port): Don't call STOP
when TOTAL is zero.
(process-substitution): Add #:print-build-trace? and honor it.
(guix-substitute)[print-build-trace?]: New variable.
Pass #:print-build-trace? to 'process-substitution'.
* guix/status.scm: New file.
* guix/store.scm (set-build-options): Add #:print-extended-build-trace?;
pass it into PAIRS.
(%protocol-version): Bump.
(protocol-version, nix-server-version): New procedures.
(current-store-protocol-version): New variable.
(with-store, build-things): Parameterize it.
* guix/ui.scm (build-output-port): Remove.
(colorize-string): Export.
* po/guix/POTFILES.in: Add guix/status.scm.
* tests/status.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162.
* nix/libstore/build.cc (DerivationGoal::registerOutputs)
(SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before
throwing.
</content>
</entry>
<entry>
<title>Add (gnu store database).</title>
<updated>2018-06-01T13:35:32Z</updated>
<author>
<name>Caleb Ristvedt</name>
<email>caleb.ristvedt@cune.org</email>
</author>
<published>2018-05-27T17:19:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7f9d184d9b688d13ce76eefabaddcfa76bdde2b5'/>
<id>urn:sha1:7f9d184d9b688d13ce76eefabaddcfa76bdde2b5</id>
<content type='text'>
* guix/config.scm.in (%store-database-directory): New variable.
* guix/store/database.scm: New file.
* tests/store-database.scm: New file.
* Makefile.am (STORE_MODULES): New variable.
(MODULES, MODULES_NOT_COMPILED): Adjust accordingly.
(SCM_TESTS) [HAVE_GUILE_SQLITE3]: Add tests/store-database.scm.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>gexp: Add 'with-extensions'.</title>
<updated>2018-06-01T13:20:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-28T16:14:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=838e17d8050236a6d3ffde991fb0035412eb3046'/>
<id>urn:sha1:838e17d8050236a6d3ffde991fb0035412eb3046</id>
<content type='text'>
* guix/gexp.scm (&lt;gexp&gt;)[extensions]: New field.
(gexp-attribute): New procedure.
(gexp-modules): Write in terms of 'gexp-attribute'.
(gexp-extensions): New procedure.
(gexp-&gt;derivation): Add #:effective-version.
[extension-flags]: New procedure.
Honor extensions of EXP.
(current-imported-extensions): New syntax parameter.
(with-extensions): New macro.
(gexp): Honor CURRENT-IMPORTED-EXTENSIONS.
(compiled-modules): Add #:extensions and honor it.
(load-path-expression): Likewise.
(gexp-&gt;script, gexp-&gt;file): Honor extensions.
* tests/gexp.scm (%extension-package): New variable.
("gexp-extensions &amp; ungexp")
("gexp-extensions &amp; ungexp-splicing")
("gexp-extensions and literal Scheme object")
("gexp-&gt;derivation &amp; with-extensions")
("program-file &amp; with-extensions"): New tests.
* doc/guix.texi (G-Expressions): Document 'with-extensions'.
</content>
</entry>
<entry>
<title>services: guix: Add 'log-compression' option.</title>
<updated>2018-01-08T09:40:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-01-08T09:38:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=f4596f7630ba8d281b972ebd40fd9947ef79e957'/>
<id>urn:sha1:f4596f7630ba8d281b972ebd40fd9947ef79e957</id>
<content type='text'>
* gnu/services/base.scm (&lt;guix-configuration&gt;)[log-compression]: New
field.
(guix-shepherd-service): Use 'match-record' instead of 'match'.  Honor
'log-compression'.
* doc/guix.texi (Base Services): Document 'log-compression'.
</content>
</entry>
<entry>
<title>weather: Use (guix progress) for progress report.</title>
<updated>2017-12-01T15:00:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-22T13:39:26Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=1fafa2f58732a3fb75258be342c92a2772af2860'/>
<id>urn:sha1:1fafa2f58732a3fb75258be342c92a2772af2860</id>
<content type='text'>
* guix/progress.scm (start-progress-reporter!, stop-progress-reporter!)
(progress-reporter-report!): New procedures.
* guix/scripts/weather.scm (call-with-progress-reporter): New procedure.
(package-outputs)[update-progress!]: Remove.
Use 'call-with-progress-reporter' instead.
(guix-weather): Parameterize 'current-terminal-columns'.
</content>
</entry>
</feed>
