<feed xmlns='http://www.w3.org/2005/Atom'>
<title>srcnode/gitolite/dotfiles, branch v0.2.0</title>
<subtitle>Custom git repository service</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/'/>
<entry>
<title>gitolite: Prevent repo auto-creation on clone/fetch</title>
<updated>2023-09-16T18:56:41+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2023-09-16T18:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/commit/?id=5f5cab13b85c6ca5948581692c7be4c994908703'/>
<id>5f5cab13b85c6ca5948581692c7be4c994908703</id>
<content type='text'>
I'm considering this default behavior as a bug for normalmode.  The
creation of a repository via a read activity seems far too accidental
for my taste.  Repositories are created by pushing to them.

This does mean that:

    git clone &lt;new-url&gt;
    ...
    git push

is no longer a shorthand for:

    git init
    git remote add origin &lt;new-url&gt;
    ...
    git push

I'm ok with that.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm considering this default behavior as a bug for normalmode.  The
creation of a repository via a read activity seems far too accidental
for my taste.  Repositories are created by pushing to them.

This does mean that:

    git clone &lt;new-url&gt;
    ...
    git push

is no longer a shorthand for:

    git init
    git remote add origin &lt;new-url&gt;
    ...
    git push

I'm ok with that.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gitolite: Fix bug in default branch push trigger</title>
<updated>2023-09-16T18:49:21+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2023-09-16T18:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/commit/?id=fcf7dc53547554507ed0fe76acd78d1ac0456d9e'/>
<id>fcf7dc53547554507ed0fe76acd78d1ac0456d9e</id>
<content type='text'>
Since it is now allowed to remove the remote default branch, this script
needs to handle cases where there are no branches following a push.

In this case, the `git symbolic-ref` command will fail, and we return
our standard warning for when HEAD is dangling.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since it is now allowed to remove the remote default branch, this script
needs to handle cases where there are no branches following a push.

In this case, the `git symbolic-ref` command will fail, and we return
our standard warning for when HEAD is dangling.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gitolite: Allow users to delete remote HEAD branches</title>
<updated>2023-09-15T14:53:24+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2023-09-15T09:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/commit/?id=5756572b09a78541d9d0d9fc6b21a6c006a99894'/>
<id>5756572b09a78541d9d0d9fc6b21a6c006a99894</id>
<content type='text'>
This allows the branch considered the repo default to be deleted via
push.  I'm not totally opposed to allowing this, even though it's not
entirely necessary.  However, the ability to do this is now required by
the docker image entrypoint script.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the branch considered the repo default to be deleted via
push.  I'm not totally opposed to allowing this, even though it's not
entirely necessary.  However, the ability to do this is now required by
the docker image entrypoint script.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gitolite: Correct site-local code location</title>
<updated>2023-09-15T14:53:24+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2023-09-13T08:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/commit/?id=9543016ffb3a507829d980f0abc37725a211540b'/>
<id>9543016ffb3a507829d980f0abc37725a211540b</id>
<content type='text'>
Per the previous commit, site-local code is now to be located directly
in the git user's home directory, as static content in the docker image.
Correct this setting in the RC file.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per the previous commit, site-local code is now to be located directly
in the git user's home directory, as static content in the docker image.
Correct this setting in the RC file.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gitolite: Consolidate config files into a single directory</title>
<updated>2023-09-15T14:53:24+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2023-09-13T08:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/infra/srcnode/commit/?id=c3e4b42c98dd433bbc2f90beeae102a4993c17e5'/>
<id>c3e4b42c98dd433bbc2f90beeae102a4993c17e5</id>
<content type='text'>
The repository is being reworked to decouple its roles as normalmode
source and gitolite-admin config.  The gitolite-admin repository will be
entirely separate.  So there is no need to keep the conf or local
directories around where they are at.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The repository is being reworked to decouple its roles as normalmode
source and gitolite-admin config.  The gitolite-admin repository will be
entirely separate.  So there is no need to keep the conf or local
directories around where they are at.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
</feed>
