<feed xmlns='http://www.w3.org/2005/Atom'>
<title>reflectub, branch v0.0.2</title>
<subtitle>Mirror a user’s GitHub repositories</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/'/>
<entry>
<title>Increase version v0.0.1 -&gt; v0.0.2</title>
<updated>2021-06-25T22:39:16+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-25T22:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=627d6c7e2b0e218213fa2a9c19036489c66c3141'/>
<id>627d6c7e2b0e218213fa2a9c19036489c66c3141</id>
<content type='text'>
And add a change log.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And add a change log.
</pre>
</div>
</content>
</entry>
<entry>
<title>set_agefile_time(): Don't add `agefile=info/web/last-modified` to cgitrc</title>
<updated>2021-06-25T17:55:50+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-25T17:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=82966ee8d37f64b4d0b148507a775e8d25116548'/>
<id>82966ee8d37f64b4d0b148507a775e8d25116548</id>
<content type='text'>
We don't need to set the `agefile` config value because
"info/web/last-modified" is already CGit's default value for the
setting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't need to set the `agefile` config value because
"info/web/last-modified" is already CGit's default value for the
setting.
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Reword description about CGit</title>
<updated>2021-06-25T17:48:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-25T17:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=3a595fddc90837a51f866cf3d2c7d60d543b2399'/>
<id>3a595fddc90837a51f866cf3d2c7d60d543b2399</id>
<content type='text'>
Reflectub is designed to work specifically with CGit, but could work
with other Git web frontends. Make this more explicit in the
description.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reflectub is designed to work specifically with CGit, but could work
with other Git web frontends. Make this more explicit in the
description.
</pre>
</div>
</content>
</entry>
<entry>
<title>main: If the default branch is not "master", set cgitrc defbranch</title>
<updated>2021-06-24T22:58:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-24T22:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=bf189958d498255e486455e803d93b5e8de7539e'/>
<id>bf189958d498255e486455e803d93b5e8de7539e</id>
<content type='text'>
In order for CGit to know that the repository uses a default branch that
isn't "master", we need to set the `defbranch` setting in 'cgitrc'.

The mtime is read from either the "master" ref or the ref specified with
`defbranch`:
https://git.zx2c4.com/cgit/tree/ui-repolist.c?id=5258c297ba6fb604ae1415fbc19a3fe42457e49e#n56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order for CGit to know that the repository uses a default branch that
isn't "master", we need to set the `defbranch` setting in 'cgitrc'.

The mtime is read from either the "master" ref or the ref specified with
`defbranch`:
https://git.zx2c4.com/cgit/tree/ui-repolist.c?id=5258c297ba6fb604ae1415fbc19a3fe42457e49e#n56
</pre>
</div>
</content>
</entry>
<entry>
<title>set_agefile_time: Move repo cgitrc file append to a function</title>
<updated>2021-06-24T22:55:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-24T22:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=f3d2cee56389bb41fd539137358eb9dbc884c49f'/>
<id>f3d2cee56389bb41fd539137358eb9dbc884c49f</id>
<content type='text'>
I need to add another line to the repo-local cgitrc file to set the
default branch. Move this code to a function so we can reuse it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I need to add another line to the repo-local cgitrc file to set the
default branch. Move this code to a function so we can reuse it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update TODO</title>
<updated>2021-06-24T19:23:41+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-24T19:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=eb35a636b5324d42d4077a0af0dd5944a94b9158'/>
<id>eb35a636b5324d42d4077a0af0dd5944a94b9158</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main::update(): Change HEAD branch if default branch changed</title>
<updated>2021-06-24T19:18:07+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-24T19:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=85df39e199fa146e22d9cf8ccd635277fe066d12'/>
<id>85df39e199fa146e22d9cf8ccd635277fe066d12</id>
<content type='text'>
If the default branch on GitHub changed, change the local mirror's HEAD
to match the new default.

Need to store the default branch in the database now so we can find out
whether it changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the default branch on GitHub changed, change the local mirror's HEAD
to match the new default.

Need to store the default branch in the database now so we can find out
whether it changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>git::mirror(): Change HEAD to GitHub default branch</title>
<updated>2021-06-24T18:53:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-24T18:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=98ec0eb9370bd12225fde1d8c2ff8b8ace693609'/>
<id>98ec0eb9370bd12225fde1d8c2ff8b8ace693609</id>
<content type='text'>
The default branch after mirroring was typically 'master'. On GitHub,
the default branch may not necessarily be 'master'. Change the default
branch by changing the HEAD to GitHub's default branch so that the
mirrored repository better matches GitHub.

We'll also need to make a change to the update function in case the
default branch changes after mirroring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default branch after mirroring was typically 'master'. On GitHub,
the default branch may not necessarily be 'master'. Change the default
branch by changing the HEAD to GitHub's default branch so that the
mirrored repository better matches GitHub.

We'll also need to make a change to the update function in case the
default branch changes after mirroring.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update TODO</title>
<updated>2021-06-23T22:33:44+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-23T22:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=b3d87f44a9801ea84347dee764d21c0db8d87fbd'/>
<id>b3d87f44a9801ea84347dee764d21c0db8d87fbd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>main: Re-enable GitHub repository fetching</title>
<updated>2021-06-23T22:32:31+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2021-06-23T22:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/reflectub/commit/?id=39ff96139cf9b8e35c83877c38e9fb75c1b84409'/>
<id>39ff96139cf9b8e35c83877c38e9fb75c1b84409</id>
<content type='text'>
Now that we're done working out empty repository handling for setting
the mtime, revert this hard-coded test repository change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we're done working out empty repository handling for setting
the mtime, revert this hard-coded test repository change.
</pre>
</div>
</content>
</entry>
</feed>
