<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chuix.git/guix/scripts/git, branch python-team-django-6</title>
<subtitle>guix
</subtitle>
<id>http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6</id>
<link rel='self' href='http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/'/>
<updated>2026-04-10T05:46:59Z</updated>
<entry>
<title>guix: openpgp: Refactor openpgp-fingerprint-&gt;bytevector.</title>
<updated>2026-04-10T05:46:59Z</updated>
<author>
<name>Nicolas Graves</name>
<email>ngraves@ngraves.fr</email>
</author>
<published>2026-03-01T10:46:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=4cbd5f883d1b05fd518f88e9256261b4229a6896'/>
<id>urn:sha1:4cbd5f883d1b05fd518f88e9256261b4229a6896</id>
<content type='text'>
Both (guix channel) and (guix git-authenticate) use similar procedures.
To refactor the one in (guix git-authenticate), move the procedure
to (guix openpgp).

* guix/channels.scm: Replace autoloaded import
  openpgp-public-key-fingerprint with openpgp-fingerprint-&gt;bytevector.
  (openpgp-fingerprint-&gt;bytevector):
  Move function definition from here...
* guix/openpgp.scm (openpgp-fingerprint-&gt;bytevector): ...to here.
* guix/git-authenticate.scm (read-authorizations):
  Use openpgp-fingerprint-&gt;bytevector.
* guix/scripts/git/authenticate.scm:
  Avoid using the (guix channels) module.
* tests/git-authenticate.scm : Likewise.

Change-Id: Ifd20588fcfaab601990098bd8575ee985e87394a
Reviewed-by: Danny Milosavljevic &lt;dannym@friendly-machines.com&gt;
Signed-off-by: Nguyễn Gia Phong &lt;cnx@loang.net&gt;
</content>
</entry>
<entry>
<title>git authenticate: Create Git hooks directory.</title>
<updated>2025-06-30T12:30:40Z</updated>
<author>
<name>Brice Waegeneire</name>
<email>brice@waegenei.re</email>
</author>
<published>2025-06-22T12:19:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=715b38815f036cd7e0013dc59c386e3378041bfa'/>
<id>urn:sha1:715b38815f036cd7e0013dc59c386e3378041bfa</id>
<content type='text'>
* guix/scripts/git/authenticate.scm (install-hooks): Create Git hooks
directory if necessary.

Change-Id: Icb9b0674d42af78fe03a3c820369f8324db960b4
Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>git authenticate: Do nothing when invoked from the keyring branch.</title>
<updated>2025-06-22T21:45:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2025-06-08T18:02:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=99f85246e199bb9c98a3a0deebe3a257c7ce5ae1'/>
<id>urn:sha1:99f85246e199bb9c98a3a0deebe3a257c7ce5ae1</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/78283&gt;.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Call
‘current-branch’ and do nothing if it returns the keyring branch.

Reported-by: Vagrant Cascadian &lt;vagrant@debian.org&gt;
Change-Id: I66c2a3f4babf68ac1df0913db6bc708ac0c7968e
</content>
</entry>
<entry>
<title>git authenticate: Gracefully handle passing an annotated tag to ‘--end’.</title>
<updated>2025-06-22T21:45:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2025-06-08T15:41:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=0ec5cab132599cf644f0697c5f189366c1ebc773'/>
<id>urn:sha1:0ec5cab132599cf644f0697c5f189366c1ebc773</id>
<content type='text'>
Partly fixes &lt;https://issues.guix.gnu.org/74583&gt;.

Previously, passing an annotated tag to ‘--end’, as can happen when
‘guix git authenticate’ is invoked by the pre-push hook when pushing
tags, would lead to an error:

  guix git: error: Git error: the requested type does not match the type in the ODB

* guix/scripts/git/authenticate.scm (ensure-commit-id): New procedure.
(guix-git-authenticate): Use it.
* tests/guix-git-authenticate.sh: Test with $v1_2_0_annotated_tag.

Change-Id: I22e8eb665609522c80c1f0dcb9e77a46c23c0c3c
</content>
</entry>
<entry>
<title>git authenticate: Upgrade pre-push hook with a fixed version.</title>
<updated>2025-06-22T21:45:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2025-06-08T14:50:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=56eb949f3b4d10c1d8738eae96ac247b74bf20b9'/>
<id>urn:sha1:56eb949f3b4d10c1d8738eae96ac247b74bf20b9</id>
<content type='text'>
Partly fixes &lt;https://issues.guix.gnu.org/74583&gt;.

* guix/scripts/git/authenticate.scm (%pre-push-hook): New variable.
(install-hooks): Use it.
(broken-pre-push-hook?, maybe-upgrade-hooks): New procedures.
(guix-git-authenticate): Call ‘maybe-upgrade-hooks’ when ‘configured?’
returns true.

Change-Id: I39d34ab66ffe0f34170c0f562e9f97f2f69c9fdc
</content>
</entry>
<entry>
<title>git authenticate: Remove support for Guile-Git &lt; 0.7.0.</title>
<updated>2025-06-22T21:45:32Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2025-06-08T14:27:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=55b38ddefca038da1178832734c2c2591d788221'/>
<id>urn:sha1:55b38ddefca038da1178832734c2c2591d788221</id>
<content type='text'>
Guile-Git 0.7.0 was released in May 2024.

* guix/scripts/git/authenticate.scm (record-configuration): Remove
‘module-defined?’ condition for Guile-Git &lt; 0.7.0.
(install-hooks): Likewise.

Change-Id: I27af82068b989d6a18ff1a66453e0a8d397ed380
</content>
</entry>
<entry>
<title>git authenticate: Install pre-push and post-checkout hooks.</title>
<updated>2024-05-01T15:26:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-03-13T16:51:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=8d1d98a3aa3448b9d983e4bd64243a938b96e8ab'/>
<id>urn:sha1:8d1d98a3aa3448b9d983e4bd64243a938b96e8ab</id>
<content type='text'>
* guix/scripts/git/authenticate.scm (install-hooks): New procedure.
(guix-git-authenticate): Use it.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I4464a33193186e85b476a12740e54412bd58429c
</content>
</entry>
<entry>
<title>git authenticate: Print something upon success.</title>
<updated>2024-05-01T15:26:19Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-04-07T20:25:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=1a5041a502ee26c04d264983232b2aaa6a5e27d8'/>
<id>urn:sha1:1a5041a502ee26c04d264983232b2aaa6a5e27d8</id>
<content type='text'>
Until now the command would be silent and exit with 0.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Print
something upon success.

Change-Id: I08d086c35df6ac74ee847df0479660293c68987d
</content>
</entry>
<entry>
<title>git authenticate: Discover the repository.</title>
<updated>2024-05-01T15:26:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-03-13T12:08:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=88573dd928a854139c63508c5454056e42482c90'/>
<id>urn:sha1:88573dd928a854139c63508c5454056e42482c90</id>
<content type='text'>
This allows one to run ‘guix git authenticate’ from a sub-directory of
the checkout.

* guix/scripts/git/authenticate.scm (%default-options): Remove
‘directory’ key.
(guix-git-authenticate): Use ‘repository-discover’ when ‘directory’
option is missing.

Change-Id: Ifada00d559254971ed7eeb8c0a8d4ae74ff3defc
</content>
</entry>
<entry>
<title>git authenticate: Record introduction and keyring in ‘.git/config’.</title>
<updated>2024-05-01T15:26:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2024-03-13T11:55:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=7b4bf4ee888af10406da37934341a7a56186b258'/>
<id>urn:sha1:7b4bf4ee888af10406da37934341a7a56186b258</id>
<content type='text'>
* guix/scripts/git/authenticate.scm (%default-options): Remove
‘keyring-reference’.
(config-value, configured-introduction, configured-keyring-reference)
(configured?, record-configuration, current-branch): New procedures.
(guix-git-authenticate)[missing-arguments]: New procedure.
Use ‘configured-introduction’ when zero arguments are given.
Use ‘configured-keyring-reference’ when ‘-k’ is not passed.  Add call to
‘record-configuration’.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I66e111a83f50407b52da71662629947f83a78bbc
</content>
</entry>
</feed>
