<feed xmlns='http://www.w3.org/2005/Atom'>
<title>exman, branch 2066.8</title>
<subtitle>manuals for other systems
</subtitle>
<id>https://git.causal.agency/exman/atom?h=2066.8</id>
<link rel='self' href='https://git.causal.agency/exman/atom?h=2066.8'/>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/'/>
<updated>2024-11-06T01:35:38+00:00</updated>
<entry>
<title>Update to OpenBSD 7.6</title>
<updated>2024-11-06T01:35:38+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-10-08T17:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=4d6719d5579a69fb0e38b3ba0e402b86fbb515fa'/>
<id>urn:sha1:4d6719d5579a69fb0e38b3ba0e402b86fbb515fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to Linux man-pages 6.9.1</title>
<updated>2024-11-06T01:35:38+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-06-20T06:35:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=1837e67c07a1b38c3129fce2eb8c437118a017e9'/>
<id>urn:sha1:1837e67c07a1b38c3129fce2eb8c437118a017e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to Linux man-pages 6.9</title>
<updated>2024-11-06T01:35:38+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-06-17T07:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=e11cc40b9517fa9865b3cbe07ff4f540fd41456c'/>
<id>urn:sha1:e11cc40b9517fa9865b3cbe07ff4f540fd41456c</id>
<content type='text'>
In 6.8, Linux man-pages "build system" changed so that running
GNU make (together with a number of other tools) is required to
arrive at the final form of the man pages.[1]  That said, the only
currently observable difference seems to be "Linux man-pages (unreleased)"
instead of, say, "Linux man-pages 6.9" in the man page footer
(and the release announcement seems to support that observation),
so this commit preserves the install-by-copying procedure, only
adapting the path extraction.  The installed version is always
recorded in exman.1, anyway.

[1]
6.8 release announcement:
https://lore.kernel.org/linux-man/je5cqtxomjonmjyzdkhalfxr5idkselxxgfybjtwupnocqgaai@hue4yy7hvory/

For more context, see e.g. (Gentoo and Debian reactions):
https://lore.kernel.org/linux-man/87ttjm8ero.fsf@gentoo.org/
https://lore.kernel.org/linux-man/kt2jczwpcjm7ylszg37vbg5ubjudgxw3fjhuiwbgfrq2f3x73b@rdkpvaie73kg/
</content>
</entry>
<entry>
<title>Update to NetBSD 10.0</title>
<updated>2024-05-15T23:15:04+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-04-11T06:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=65af1c7fd63d5e0f8148a81b38eefa8b811b1742'/>
<id>urn:sha1:65af1c7fd63d5e0f8148a81b38eefa8b811b1742</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to OpenBSD 7.5</title>
<updated>2024-05-15T23:15:04+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-04-09T09:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=5b7b3ab47064a70fc1d12bd1595a25ba22f65801'/>
<id>urn:sha1:5b7b3ab47064a70fc1d12bd1595a25ba22f65801</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to Linux man-pages 6.7</title>
<updated>2024-03-22T01:18:06+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-03-21T08:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=92f0cfcab25d4b43c36b48aa507e4b1183da14d1'/>
<id>urn:sha1:92f0cfcab25d4b43c36b48aa507e4b1183da14d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to Linux man-pages 6.06</title>
<updated>2024-03-03T23:14:23+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2024-02-14T17:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=44161de68f4a787ff0ec725f5452da9c48b5dd85'/>
<id>urn:sha1:44161de68f4a787ff0ec725f5452da9c48b5dd85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to FreeBSD 14.0</title>
<updated>2023-11-27T21:12:02+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2023-11-22T12:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=ef24a24183911e370ec9773d4e9fa47e13a91ab5'/>
<id>urn:sha1:ef24a24183911e370ec9773d4e9fa47e13a91ab5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to OpenBSD 7.4</title>
<updated>2023-10-16T19:38:35+00:00</updated>
<author>
<name>Kusoneko</name>
<email>kusoneko@kusoneko.moe</email>
</author>
<published>2023-10-16T16:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=2b021725b64a1ca1d026518ebfca077abf33e72d'/>
<id>urn:sha1:2b021725b64a1ca1d026518ebfca077abf33e72d</id>
<content type='text'>
Signed-off-by: Kusoneko &lt;kusoneko@kusoneko.moe&gt;
</content>
</entry>
<entry>
<title>Update to Linux man-pages 6.05</title>
<updated>2023-10-11T23:53:29+00:00</updated>
<author>
<name>Štěpán Němec</name>
<email>stepnem@smrk.net</email>
</author>
<published>2023-08-03T10:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=5105b148b49a80da366fbd9f43d044903889ca18'/>
<id>urn:sha1:5105b148b49a80da366fbd9f43d044903889ca18</id>
<content type='text'>
</content>
</entry>
</feed>
le='2018-02-04 11:42:54 -0500'>2018-02-04</span></td><td class='logsubject'><a href='/src/commit/bin/gfcocoa.m?id=a23f3c57caa37886956b704cb232ef211792c1aa&amp;follow=1'>Add Quit menu item to gfcocoa</a></td><td>June McEnroe</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2018-02-04 11:04:40 -0500'>2018-02-04</span></td><td class='logsubject'><a href='/src/commit/bin/gfcocoa.m?id=57d57e1dcb0461b438f1ae8b7531467c71c13a49&amp;follow=1'>Switch back to sane Objective-C style</a></td><td>June McEnroe</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2018-02-04 00:11:18 -0500'>2018-02-04</span></td><td class='logsubject'><a href='/src/commit/bin/gfcocoa.m?id=609f8d0b1acb75a29e2c4192811c41037d13cf43&amp;follow=1'>Quit gfcocoa when window closes</a></td><td>June McEnroe</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2018-02-03 23:21:47 -0500'>2018-02-03</span></td><td class='logsubject'><a href='/src/commit/bin/gfcocoa.m?id=0c47483ab5b71c4ac618ea6eac7c8ec47dc74033&amp;follow=1'>Apparently this is how people write Objective-C</a></td><td>June McEnroe</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-13 15:47:10 -0500'>2018-11-13</span></td><td><a href='/zlib-man-pages/commit/gzputs.3?id=01affe6bee209120c27fa62fc0f99a53bb52595f&amp;follow=1'>Add gzputs.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-13 15:07:58 -0500'>2018-11-13</span></td><td><a href='/zlib-man-pages/commit/gzprintf.3?id=510d1f042a94b5435d1e514a452a9fa193eb2d9e&amp;follow=1'>Add gzprintf.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-13 15:02:53 -0500'>2018-11-13</span></td><td><a href='/zlib-man-pages/commit/gzfwrite.3?id=a0c031cd098706ff6597a63d82556749c231b716&amp;follow=1'>Add gzfwrite.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-13 14:59:19 -0500'>2018-11-13</span></td><td><a href='/zlib-man-pages/commit/gzwrite.3?id=641cf03532dd36913190fdef180616db5570ecb8&amp;follow=1'>Add gzwrite.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 20:20:25 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzfread.3?id=606f4ef8f60bed789096df467df95e1598e911ef&amp;follow=1'>Add gzfread.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 19:05:40 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzread.3?id=313d6bed64c5b439571b28244c828ba46f7b706f&amp;follow=1'>Add gzread.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 16:53:29 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzsetparams.3?id=629024bec1c56ec7afb4fe40621ce2a772122f6e&amp;follow=1'>Add gzsetparams.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 16:48:42 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzbuffer.3?id=b6ce0c6410e2f3ba2ee0877cb3d5c4713617d84f&amp;follow=1'>Add gzbuffer.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 16:43:27 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzopen.3?id=d07de2d2c4b821a8d29f991ac906139eb922827f&amp;follow=1'>Add gzdopen to gzopen.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 15:19:14 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/gzopen.3?id=ec78d8bb8da5f0c0aeb8e57ae68c8b05f9749f12&amp;follow=1'>Add gzopen.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 14:58:27 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/inflateBackEnd.3?id=bfb4a22f9a0d573fe4f505fabc9a2e284be28239&amp;follow=1'>Add inflateBackEnd.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 14:55:12 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/inflateBack.3?id=b1bc0dbca2bdd0506219bbfbfed4a9ede387850c&amp;follow=1'>Add inflateBack.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-12 00:11:05 -0500'>2018-11-12</span></td><td><a href='/zlib-man-pages/commit/inflateBackInit.3?id=333c1f78ad8219baf615b349ee63e14f1304025f&amp;follow=1'>Add inflateBackInit.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 23:58:05 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateGetHeader.3?id=164ca77514dc9c889c077c16da27cd43417a0b15&amp;follow=1'>Add inflateGetHeader.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 23:40:30 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateMark.3?id=a3bf6dbe32214969972511f2731474cd344de3bc&amp;follow=1'>Add inflateMark.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 23:31:35 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflatePrime.3?id=ce9d0074e0905cd4816b92589dd0dec4ac1b1e99&amp;follow=1'>Add inflatePrime.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 21:33:57 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateReset.3?id=91d5510c862014166246a419724c2dcc171434ed&amp;follow=1'>Add inflateReset.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 21:27:21 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateCopy.3?id=01d09928193925c95794332cbd4a9316f4dea466&amp;follow=1'>Add inflateCopy.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 21:19:55 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateSync.3?id=7c6222563e7e5c5a1ec2646a03d1feff157fda71&amp;follow=1'>Add inflateSync.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 21:07:51 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateSetDictionary.3?id=8cbf798d2886c9dff22352593b7e9afe2403f396&amp;follow=1'>Add inflateGetDictionary.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 21:00:01 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateSetDictionary.3?id=e38d7ebbc9f61a59bb5c398a1a9f69dd8d9cbe23&amp;follow=1'>Add inflateSetDictionary.3</a></td><td>June McEnroe</td></tr>
<tr><td><span title='2018-11-11 20:37:17 -0500'>2018-11-11</span></td><td><a href='/zlib-man-pages/commit/inflateInit2.3?id=f1e3af489bbb81e14e22e5b2d498bee12049abe5&amp;follow=1'>Add inflateInit2.3</a></td><td>June McEnroehn Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This is described in the rel-vcs microformat[1].

[1] https://joeyh.name/rfc/rel-vcs/

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:04:04 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=bbfa006e6eb93d56842c1d90bbba1c5484afb855&amp;follow=1'>Extract clone URL printing to ui-shared.c</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will allow us to reuse the same logic to add clone URL &lt;link/&gt;
elements to the header of all repo-specific pages in order to support
the rel-vcs microformat.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 18:53:03 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/scan-tree.c?id=485b09925cd54f3f55257619fa5796d274e96050&amp;follow=1'>Remove trailing slash after remove-suffix</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
When removing the ".git" suffix of a non-bare repository, also remove
the trailing slash for compatibility with cgit_repobasename().

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 18:53:03 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-repolist.c?id=17838ec6304198811df97402f11c185f8f0e10bd&amp;follow=1'>git: update to v2.2.1</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Update to git version v2.2.1, including API changes.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/filters/email-libravatar.lua?id=10c5680efb02b534108b174c0967d08ae3e46927&amp;follow=1'>filter: fix libravatar email-filter https issue</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Serving cgit via https and getting avatar via http gives error messages
about untrusted content. This decides whether or not to use https link
by looking at the environment variable HTTPS, which is set in CGI.


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-diff.c?id=ddfaef6bb28e697491b25bff5a7b260d44ce6ccf&amp;follow=1'>ui-diff: add "stat only" diff type</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This prints the diffstat but stops before printing (or generating) any
of the body of the diff.

No cgitrc option is added here so that we can wait to see how useful
this is before letting people set it as the default.

Suggested-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=1830271c5958526425f92ae2b369646b54e3c370&amp;follow=1'>Change "ss" diff flag to an enum</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will allow us to introduce a new "stat only" diff mode without
needing an explosion of mutually incompatible flags.

The old "ss" query parameter is still accepted in order to avoid
breaking saved links, but we no longer generate any URIs using it;
instead the new "dt" (diff type) parameter is used.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?id=03f537f1a134c8578ae4c16055596539fbbcc220&amp;follow=1'>ui-shared: remove toggle_ssdiff arg to cgit_diff_link()</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?id=eeddb5bc0905d4728001a111a9b1eb60ecccf9bd&amp;follow=1'>ui-shared: remove toggle_ssdiff arg to cgit_commit_link()</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-08-07 14:42:34 +0200'>2014-08-07</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=49f607777fe3d9393574a572d72caa568ee3ca3c&amp;follow=1'>git: update to v2.0.4</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
No CGit changes required.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-08-07 14:38:02 +0200'>2014-08-07</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.c?id=9dd67272ed57e8923510197eb5ac8d3f819fbb26&amp;follow=1'>Always check if README exists in choose_readme()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Specifying a nonexistent README file via the readme option is sometimes
useful, e.g. when using scan-path and setting a global default.
Currently, we check whether there is only one option in the readme
option and, if so, we choose that file without checking whether it
exists. As a consequence, all repositories are equipped with an about
link in the aforementioned scenario, even if there is no about file.
Remove the early check for the number of keys and always check whether
the file exists instead.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-08-01 17:37:27 +0200'>2014-08-01</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgitrc.5.txt?id=efa2879ad760f6f12c1aa9d2bb9918f0afe9f084&amp;follow=1'>cgitrc.5: we mean a cgi response, not request</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:47 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-stats.c?id=2eea471a7821f1f8bf2a4ce61bb748dcb9f7fa17&amp;follow=1'>ui-stats.c: set parent pointer to NULL after freeing it</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
We do this everywhere else, so we should be doing it here as well.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:35 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-stats.c?id=865afe0eb1b5e6485fe0f65472e6635266e393b1&amp;follow=1'>git: update to v2.0.3</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This is slightly more involved than just bumping the version number
because it pulls in a change to convert the commit buffer to a slab,
removing the "buffer" field from "struct commit".  All sites that access
"commit-&gt;buffer" have been changed to use the new functions provided for
this purpose.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:23 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/parsing.c?id=93d8ef8f1de4385c565049e1ccd7fdd25e6c14d7&amp;follow=1'>parsing.c: make commit buffer const</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will be required in order to incorporate the changes to commit
buffer handling in Git 2.0.2.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-06-30 15:15:35 +0200'>2014-06-30</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=eeaffc33432d3cf91902cac3eab50c0598bdaa19&amp;follow=1'>Bump version.</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-06-29 20:18:42 +0200'>2014-06-29</span></td><td class='logsubject'><a href='/cgit-pink/commit/scan-tree.c?id=4b91269bdbc21a664cc56c26d6071c630560f2e0&amp;follow=1'>remove debug fprinf() calls that sneaked in with commit 79c985</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-06-28 16:07:30 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=390ffad022336b02dca6dec23504cefeb12adada&amp;follow=1'>git: update to 2.0.1</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Everything works just bumping the version in Makefile and commit hash in
submodule. No code changes required.


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:59:15 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-patch.c?id=2efb59ed0fa8eced79fa702bc47454d3406c3431&amp;follow=1'>ui-patch: Flush stdout after outputting data</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
It looks like cached patches are truncated to the nearest 1024-byte
boundary in the patch body. E.g.:

&gt; mricon@nikko:[/tmp]$ wget -O no-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=6e1b4fdad5157bb9e88777d525704aba24389bee"
...
&gt; 2014-06-11 15:34:51 (80.4 MB/s) - ‘no-cache’ saved [4767]

Patch is complete, without truncation. Next hit, with cache in place:

&gt; mricon@nikko:[/tmp]$ wget -O yes-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=6e1b4
&gt; fdad5157bb9e88777d525704aba24389bee"
...
&gt; 2014-06-11 15:35:01 (17.0 MB/s) - ‘yes-cache’ saved [4096/4096]

Length truncated to 4096. The cache on disk looks truncated as well, so
the bug must me during the process of saving cache. The same is true for
larger patches:

&gt; mricon@nikko:[/tmp]$ wget -O no-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=2840c566e95599cd60c7143762ca8b49d9395050"
...
&gt; 2014-06-11 15:41:33 (1.07 MB/s) - ‘no-cache’ saved [979644]

979644 bytes with a cache-miss

&gt; mricon@nikko:[/tmp]$ wget -O yes-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=2840c
&gt; 566e95599cd60c7143762ca8b49d9395050"
...
&gt; 2014-06-11 15:41:46 (1.05 MB/s) - ‘yes-cache’ saved [978944]

978944 (956KB exactly) with a cache-hit

Since the "html" functions use raw write(2) to STDIO_FILENO, we don't
notice problems with most pages, but raw patches write using printf(3).
This is fine if we're outputting straight to stdout since the buffers
are flushed on exit, but we close the cache output before this, so the
cached output ends up being truncated.

Make sure the buffers are flushed when we finish outputting a patch so
that we avoid this.

No other UIs use printf(3) so we do not need to worry about them.

Actually, it's slightly more interesting than this... since we don't set
GIT_FLUSH, Git decides whether or not it will flush stdout after writing
each commit based on whether or not stdout points to a regular file (in
maybe_flush_or_die()).

Which means that when writing directly to the webserver, Git flushes
stdout for us, but when we redirect stdout to the cache it points to a
regular file so Git no longer flushes the output for us.

The patch is still correct, but perhaps the full explanation is
interesting!

Reported-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:57:02 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-log.c?id=4046e8ef66225928a4f0d2cd71479e401faf7c3b&amp;follow=1'>ui-log: ignore unhandled arguments</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
If you search for a bogus range string here:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/

Using something like "range" and "qwerty123456", it returns an "Internal
Server Error" and the following in the logs:

&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] fatal:
&gt; ambiguous argument 'qwerty123456': unknown revision or path not in the
&gt; working tree., referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Use '--' to
&gt; separate paths from revisions, like this:, referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] 'git &lt;command&gt;
&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]', referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Premature end
&gt; of script headers: cgit, referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/

The cache will kick in, so if you search for the same string again,
it'll show an empty range, so you have to change the bogus strings each
time.

This is because we just pass the arguments straight to Git's revision
parsing machinery which die()s if it cannot parse an argument, printing
the above to stderr and exiting.

The patch below makes it a bit friendlier by just ignoring unhandled
arguments, but I can't see an easy way to report errors when we can't
parse revision arguments without losing the flexibility of supporting
all of the revision specifiers supported by Git.

Reported-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:14:56 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=79c985e13c10b498c3ea62f4607c2e2a460c3b10&amp;follow=1'>git: update for git 2.0</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
prefixcmp() and suffixcmp() have been remove, functionality is now
provided by starts_with() and ends_with(). Retrurn values have been
changed, so instead of just renaming we have to fix logic.
Everything else looks just fine.


</td></tr>
<tr class='logheader'><td><span title='2014-04-17 12:55:09 +0200'>2014-04-17</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=b431282c91deea24916578395d88084261410968&amp;follow=1'>remove trailing whitespaces from source files</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-04-12 18:05:43 +0200'>2014-04-12</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=dcb16f0d11305b4d7cb6357c5c0e21ad67f69871&amp;follow=1'>git: update to 1.9.2</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Everything works just bumping the version in Makefile and commit hash in
submodule. No code changes required.


</td></tr>
<tr class='logheader'><td><span title='2014-04-05 19:05:36 -0300'>2014-04-05</span></td><td class='logsubject'><a href='/cgit-pink/commit/parsing.c?id=10451797fa2370aab6f4146c86e0fa939a9a982b&amp;follow=1'>Fix cgit_parse_url when a repo url is contained in another repo url</a></td><td>Julian Maurice</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
For example, if I have two repos (remove-suffix is enabled):
  /foo
  /foo/bar

http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'"
instead of "repository 'foo/bar'"


</td></tr>
<tr class='logheader'><td><span title='2014-03-20 11:20:01 -0600'>2014-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=88b93113235452d47e7ce474689327c43e64b843&amp;follow=1'>Makefile: use more reliable git tarball mirror</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-03-20 11:14:03 -0600'>2014-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=45315f846c2e2ee6663f0ba8cc454384d2b9e3ea&amp;follow=1'>git: update to 1.9.1</a></td><td>Christian Hesse