<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/etc/completion, branch koszko</title>
<subtitle>Wojtek's customized Guix</subtitle>
<id>https://git.koszko.org/guix/atom?h=koszko</id>
<link rel='self' href='https://git.koszko.org/guix/atom?h=koszko'/>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/'/>
<updated>2025-02-28T04:36:44Z</updated>
<entry>
<title>gnupg: Automatically fallback to 'always policy when non-interactive.</title>
<updated>2025-02-28T04:36:44Z</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2025-02-07T06:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=79a46d65370418dde29b303bebcb487355564f98'/>
<id>urn:sha1:79a46d65370418dde29b303bebcb487355564f98</id>
<content type='text'>
Previously to this change, the 'guix refresh' download
policy (--key-download)would default to 'interactive', which would throw a
backtrace when guix was invoked with its stdin not connected to a peusdo
terminal (tty).  This change makes the new default value 'auto' use
interactive only in an interactive environment, with 'always' used as
fallback.

* doc/guix.texi (Invoking guix refresh): Adjust doc.
* etc/completion/fish/guix.fish: Adjust accordingly.
* etc/completion/zsh/_guix (_guix_list_installed_packages): Likewise.
* guix/gnupg.scm (gnupg-verify*): Change default #:key-download argument value
to 'auto.  Update doc.  Validate argument.  Raise an error in case read-line
returns #&lt;eof&gt;.
* guix/import/gnu.scm (gnu-package-&gt;sexp): &lt;#:key-download&gt;: Change default
value to 'auto.
* guix/import/gnu.scm (gnu-&gt;guix-package): &lt;#:key-download&gt;: Likewise.
* guix/scripts/import/gnu.scm (%options): Add "auto" to accepted
--key-download values.
(%default-options): Set default key-download option to the 'auto value.
(show-help): Update doc.
* guix/scripts/refresh.scm (show-help): Update doc.
(update-package) &lt;#:key-download&gt;: Change default value to 'auto.  Update doc.
* guix/upstream.scm (download-tarball): &lt;#:key-download&gt;: Likewise.
(package-update): Likewise.

Change-Id: Id1ca8fd6d453ca4bc5b372534445e3beab9133a8
Fixes: https://issues.guix.gnu.org/76112
Reviewed-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>bash completion: Complete ‘guix style -f’ with files.</title>
<updated>2023-12-10T00:00:00Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2023-12-10T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=fa0563e7fa4effbeb86ad0fb377d1bfe5a4c8bdc'/>
<id>urn:sha1:fa0563e7fa4effbeb86ad0fb377d1bfe5a4c8bdc</id>
<content type='text'>
* etc/completion/bash/guix (_guix_is_dash_f):
Recognise ‘--whole-file’ as a member of the ‘-f’ family.
(_guix_complete): Add a new clause for ‘guix style’.

Reported by cmiller in #guix.

Change-Id: I3f55f7fd7fb8610dc13770ebfe70d9f65c1497af
</content>
</entry>
<entry>
<title>fish completion: Fix typos.</title>
<updated>2023-11-07T16:07:08Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2023-11-07T14:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=e0f28301f07e55b7acc48fca2e13b588471d0ede'/>
<id>urn:sha1:e0f28301f07e55b7acc48fca2e13b588471d0ede</id>
<content type='text'>
* etc/completion/fish/guix.fish (__fish_guix_needs_command): Fix
spelling of specified.
(__fish_guix_using_command): Fix spelling of specified.

Change-Id: Ieac612da8cd2a7a1c44c5a54c57574ce2b8d8bd4
</content>
</entry>
<entry>
<title>bash completion: Fix &amp; unify option parsing.</title>
<updated>2022-05-29T00:00:20Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2022-05-22T00:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=dc6d92ac93cedd65f6c99daa530b69f43f6039ec'/>
<id>urn:sha1:dc6d92ac93cedd65f6c99daa530b69f43f6039ec</id>
<content type='text'>
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.

* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
</content>
</entry>
<entry>
<title>bash completion: Complete "guix home" sub-commands.</title>
<updated>2022-01-17T18:05:48Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-01-17T16:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d'/>
<id>urn:sha1:93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
</content>
</entry>
<entry>
<title>bash completion: Fix options completion.</title>
<updated>2022-01-16T22:56:56Z</updated>
<author>
<name>Fulbert</name>
<email>fulbert@bluewin.ch</email>
</author>
<published>2022-01-14T19:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=e35deac9e7379605c0e3918e74a6d153861a4aa2'/>
<id>urn:sha1:e35deac9e7379605c0e3918e74a6d153861a4aa2</id>
<content type='text'>
Fixes, for example, "guix import pypi --&lt;TAB&gt;", which would previously
fail to show '--recursive'.

* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>bash completion: Complete ‘guix shell -f’.</title>
<updated>2021-12-08T20:09:55Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-12-08T20:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=f3af1fb0bcbcbe18ab773374efe606e90107cfb6'/>
<id>urn:sha1:f3af1fb0bcbcbe18ab773374efe606e90107cfb6</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Suggest a file name
following ‘guix shell […] -f’.
</content>
</entry>
<entry>
<title>bash completion: Complete top-level options.</title>
<updated>2021-10-30T22:57:07Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-30T14:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=8e6989fcaf4a6de00e799777e2a0ccb90fc05e59'/>
<id>urn:sha1:8e6989fcaf4a6de00e799777e2a0ccb90fc05e59</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
</content>
</entry>
<entry>
<title>bash completion: Don't hard-code "guix" binary name.</title>
<updated>2021-10-30T22:57:07Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-30T14:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=0987a0eba4e8220e98e93686a4ad3ef87433fb2f'/>
<id>urn:sha1:0987a0eba4e8220e98e93686a4ad3ef87433fb2f</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
</content>
</entry>
<entry>
<title>Add 'guix shell'.</title>
<updated>2021-10-25T16:58:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2021-10-01T13:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.koszko.org/guix/commit/?id=80edb7df6586464aa40e84e103f0045452de95db'/>
<id>urn:sha1:80edb7df6586464aa40e84e103f0045452de95db</id>
<content type='text'>
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
</content>
</entry>
</feed>
