<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/etc/git/pre-push, branch master</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>etc: pre-push: Skip checks when pushing to the keyring branch.</title>
<updated>2025-07-20T03:00:53+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim@guixotic.coop</email>
</author>
<published>2025-07-20T02:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8a82b6b9c1c90885a069cf9422e9ea0468344b08'/>
<id>8a82b6b9c1c90885a069cf9422e9ea0468344b08</id>
<content type='text'>
Attempting to push new commits to the branch would previously fail like:

  error: commit X is not a descendant of introductory commit
  1m9edb3f66fd807b096b48283debdcddccfea34bad

* etc/git/pre-push (main): Skip checks when pushing to refs/heads/keyring.

Change-Id: I3ea20a10b6c8cc6b6c6f948f80bed902850214c5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attempting to push new commits to the branch would previously fail like:

  error: commit X is not a descendant of introductory commit
  1m9edb3f66fd807b096b48283debdcddccfea34bad

* etc/git/pre-push (main): Skip checks when pushing to refs/heads/keyring.

Change-Id: I3ea20a10b6c8cc6b6c6f948f80bed902850214c5
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: Git pre-push hook: Don't allow pushes to Savannah.</title>
<updated>2025-06-08T21:46:34+00:00</updated>
<author>
<name>Leo Famulari</name>
<email>leo@famulari.name</email>
</author>
<published>2025-06-05T21:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=69a77ffab2407c2150d59bffc0ae2ab04161c9da'/>
<id>69a77ffab2407c2150d59bffc0ae2ab04161c9da</id>
<content type='text'>
* etc/git/pre-push: Throw an error when pushing to savannah.gnu.org.

Change-Id: I1fefa4d93daf0f2887168c54a244b9be5d220665
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push: Throw an error when pushing to savannah.gnu.org.

Change-Id: I1fefa4d93daf0f2887168c54a244b9be5d220665
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push Git hook: Update the commentary.</title>
<updated>2025-06-05T02:55:22+00:00</updated>
<author>
<name>Leo Famulari</name>
<email>leo@famulari.name</email>
</author>
<published>2025-06-05T02:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=027a47787f8dcf6651a1c20c5b475376defe6d6b'/>
<id>027a47787f8dcf6651a1c20c5b475376defe6d6b</id>
<content type='text'>
* etc/git/pre-push: Improve comments.

Change-Id: Id8c97841c3fa362de7adbd8942f796d044ce50b1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push: Improve comments.

Change-Id: Id8c97841c3fa362de7adbd8942f796d044ce50b1
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push git hook: Also check Codeberg SSH remote.</title>
<updated>2025-06-05T02:29:03+00:00</updated>
<author>
<name>Hilton Chain</name>
<email>hako@ultrarare.space</email>
</author>
<published>2025-06-04T15:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=50b69ecb4017841c7663d1c1e663d8ad02a3cfa3'/>
<id>50b69ecb4017841c7663d1c1e663d8ad02a3cfa3</id>
<content type='text'>
* etc/git/pre-push (main): Check Codeberg SSH remote.

Fixes: #421
Change-Id: Id669259f510cf3e33cadf77a5c9eeada52a5d0dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push (main): Check Codeberg SSH remote.

Fixes: #421
Change-Id: Id669259f510cf3e33cadf77a5c9eeada52a5d0dd
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push Git hook: Reduce code duplication.</title>
<updated>2025-05-30T21:14:34+00:00</updated>
<author>
<name>Leo Famulari</name>
<email>leo@famulari.name</email>
</author>
<published>2025-05-28T16:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=68deb8e3bda83a84acfe192392a66ecba19cece6'/>
<id>68deb8e3bda83a84acfe192392a66ecba19cece6</id>
<content type='text'>
* etc/git/pre-push (perform_checks): New function.

Change-Id: Ieff1e2c225e3720c96c75ca55abfb883dd386f5c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push (perform_checks): New function.

Change-Id: Ieff1e2c225e3720c96c75ca55abfb883dd386f5c
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push Git hook: Make portable to current Debian.</title>
<updated>2025-05-27T14:11:03+00:00</updated>
<author>
<name>Leo Famulari</name>
<email>leo@famulari.name</email>
</author>
<published>2025-05-27T01:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=96da4def781a1b01536fd4335be0446984dc6705'/>
<id>96da4def781a1b01536fd4335be0446984dc6705</id>
<content type='text'>
Closes #64

The ;&amp; operator was introduced in POSIX.1-2024 "Issue 8", from 2024, but
is not yet available in Debian's dash shell.

* etc/git/pre-push: Duplicate the handling of our two canonical Git repo
URLs.

Change-Id: I1125810c9f2d6fb9a99f7220d971cc38387989d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #64

The ;&amp; operator was introduced in POSIX.1-2024 "Issue 8", from 2024, but
is not yet available in Debian's dash shell.

* etc/git/pre-push: Duplicate the handling of our two canonical Git repo
URLs.

Change-Id: I1125810c9f2d6fb9a99f7220d971cc38387989d3
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push: Do not use recent ;&amp; case statement terminator.</title>
<updated>2025-05-27T02:07:03+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2025-05-27T02:01:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=cedb79a57b51b5e82bfb696b5801f6ee72407da2'/>
<id>cedb79a57b51b5e82bfb696b5801f6ee72407da2</id>
<content type='text'>
Some systems are still using a shell that predates its inclusion in the POSIX
specification, such as Debian Bookworm.

* etc/git/pre-push (z40): Remove usage of ';&amp;'.  Fail when attempting to push
to Savannah instead.

Reported-by: Leo Famulari &lt;leo@famulari.name&gt;
Closes: #64
Change-Id: I2dd224b7a3236f7027fc702b96e3ee1ff594d4fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some systems are still using a shell that predates its inclusion in the POSIX
specification, such as Debian Bookworm.

* etc/git/pre-push (z40): Remove usage of ';&amp;'.  Fail when attempting to push
to Savannah instead.

Reported-by: Leo Famulari &lt;leo@famulari.name&gt;
Closes: #64
Change-Id: I2dd224b7a3236f7027fc702b96e3ee1ff594d4fa
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: Untabify pre-push hook.</title>
<updated>2025-05-27T02:05:49+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2025-05-27T01:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c24b8fadad74c1a54f0454aad82ac3149c897716'/>
<id>c24b8fadad74c1a54f0454aad82ac3149c897716</id>
<content type='text'>
There was a mix of spaces and tabs in the file, even confusing Emacs's
dtrt-indent-mode.

* etc/git/pre-push: Untabify.

Change-Id: I2548a3901c5064c649a8f6bb786d606b6155fcfb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a mix of spaces and tabs in the file, even confusing Emacs's
dtrt-indent-mode.

* etc/git/pre-push: Untabify.

Change-Id: I2548a3901c5064c649a8f6bb786d606b6155fcfb
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push: Skip checks on AGit pull requests.</title>
<updated>2025-05-26T02:41:05+00:00</updated>
<author>
<name>Liliana Marie Prikler</name>
<email>liliana.prikler@gmail.com</email>
</author>
<published>2025-05-25T15:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=be0dbd3e4aaf3f4127ee7ee92de20a52f5fd499a'/>
<id>be0dbd3e4aaf3f4127ee7ee92de20a52f5fd499a</id>
<content type='text'>
* etc/git/pre-push (case "$remote_refs" in refs/for/*): Skip checks.

Signed-off-by: Liliana Marie Prikler &lt;liliana.prikler@gmail.com&gt;
Fixes: AGit push fails &lt;https://codeberg.org/guix/guix/issues/5&gt;
Tested-by: Hilton Chain &lt;hako@ultrarare.space&gt;
Signed-off-by: Hilton Chain &lt;hako@ultrarare.space&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push (case "$remote_refs" in refs/for/*): Skip checks.

Signed-off-by: Liliana Marie Prikler &lt;liliana.prikler@gmail.com&gt;
Fixes: AGit push fails &lt;https://codeberg.org/guix/guix/issues/5&gt;
Tested-by: Hilton Chain &lt;hako@ultrarare.space&gt;
Signed-off-by: Hilton Chain &lt;hako@ultrarare.space&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: pre-push: Enforce checks on Codeberg.</title>
<updated>2025-05-26T02:41:05+00:00</updated>
<author>
<name>lilyp</name>
<email>liliana.prikler@gmail.com</email>
</author>
<published>2025-05-25T13:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=85891910603a9369f47ac0e127f8f03c46160cc1'/>
<id>85891910603a9369f47ac0e127f8f03c46160cc1</id>
<content type='text'>
* etc/git/pre-push (case *gnu.org*): Fall-through to…
(case *codeberg.org/guix/*): … this.

Signed-off-by: Liliana Marie Prikler &lt;liliana.prikler@gmail.com&gt;
Tested-by: Hilton Chain &lt;hako@ultrarare.space&gt;
Signed-off-by: Hilton Chain &lt;hako@ultrarare.space&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/git/pre-push (case *gnu.org*): Fall-through to…
(case *codeberg.org/guix/*): … this.

Signed-off-by: Liliana Marie Prikler &lt;liliana.prikler@gmail.com&gt;
Tested-by: Hilton Chain &lt;hako@ultrarare.space&gt;
Signed-off-by: Hilton Chain &lt;hako@ultrarare.space&gt;
</pre>
</div>
</content>
</entry>
</feed>
