<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitweb.conf.txt, branch v2.37.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.37.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.37.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-04-08T22:54:26Z</updated>
<entry>
<title>gitweb: add "e-mail privacy" feature to redact e-mail addresses</title>
<updated>2021-04-08T22:54:26Z</updated>
<author>
<name>Georgios Kontaxis</name>
<email>geko1702+commits@99rst.org</email>
</author>
<published>2021-03-28T23:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0996dd3d6dbcc132cf212f3420b89947fd9cc2ba'/>
<id>urn:sha1:0996dd3d6dbcc132cf212f3420b89947fd9cc2ba</id>
<content type='text'>
Gitweb extracts content from the Git log and makes it accessible
over HTTP. As a result, e-mail addresses found in commits are
exposed to web crawlers and they may not respect robots.txt.
This can result in unsolicited messages.

Introduce an 'email-privacy' feature which redacts e-mail addresses
from the generated HTML content. Specifically, obscure addresses
retrieved from the the author/committer and comment sections of the
Git log. The feature is off by default.

This feature does not prevent someone from downloading the
unredacted commit log, e.g., by cloning the repository, and
extracting information from it. It aims to hinder the low-
effort, bulk collection of e-mail addresses by web crawlers.

Signed-off-by: Georgios Kontaxis &lt;geko1702+commits@99rst.org&gt;
Acked-by: Eric Wong &lt;e@80x24.org&gt;
Acked-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb.conf.txt: switch pluses to backticks to help Asciidoctor</title>
<updated>2019-09-09T18:05:52Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2019-09-07T14:12:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4414e837fcd9cc4e68e1540af04bb6db1533f302'/>
<id>urn:sha1:4414e837fcd9cc4e68e1540af04bb6db1533f302</id>
<content type='text'>
This paragraph uses a lot of +pluses+ to render text as monospace. That
works fine with AsciiDoc (8.6.10), and almost fine with Asciidoctor
(1.5.5), which renders the third of these literally ("+$projname+"). The
reason seems to be that Asciidoctor trips on the lone plus a bit
earlier, even though it is escaped.

Switch +$projname+ to `$projname`, and change the next, similar instance
too (+$projname/+), because otherwise, we'd trip on /that one/ instead.
If we would stop there, we would now start falling over on the escaped
plus ('\+') mentioned earlier, rendering /it/ literally. So change that
too...

In other words, unescape the lone '+' and change all the pluses that
follow it to backticks.

AsciiDoc renders this paragraph identically before and after this
commit, and Asciidoctor now renders this the same as AsciiDoc.

I did try to switch the whole paragraph to using backticks rather than
pluses. That worked great with Asciidoctor, but confused AsciiDoc...
Let's go with this rather surgical change instead.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cb/doco-mono'</title>
<updated>2019-04-22T02:14:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-22T02:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b42805445c3b5714c100ac066697943f2571fd3'/>
<id>urn:sha1:6b42805445c3b5714c100ac066697943f2571fd3</id>
<content type='text'>
Clean-up markup in the documentation suite.

* cb/doco-mono:
  doc: format pathnames and URLs as monospace.
  doc/CodingGuidelines: URLs and paths as monospace
</content>
</entry>
<entry>
<title>doc: format pathnames and URLs as monospace.</title>
<updated>2019-03-13T02:14:22Z</updated>
<author>
<name>Corentin BOMPARD</name>
<email>corentin.bompard@etu.univ-lyon1.fr</email>
</author>
<published>2019-03-06T13:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=68ed71b53cf7c58343306566fa6d527cb5fced41'/>
<id>urn:sha1:68ed71b53cf7c58343306566fa6d527cb5fced41</id>
<content type='text'>
Applying CodingGuidelines about monospace on pathnames and URLs.

See Documentation/CodingGuidelines.txt for more information.

Signed-off-by: Corentin BOMPARD &lt;corentin.bompard@etu.univ-lyon1.fr&gt;
Signed-off-by: Nathan BERBEZIER &lt;nathan.berbezier@etu.univ-lyon1.fr&gt;
Signed-off-by: Pablo CHABANNE &lt;pablo.chabanne@etu.univ-lyon1.fr&gt;
Signed-off-by: Matthieu MOY &lt;matthieu.moy@univ-lyon1.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: turn middle-of-line tabs into spaces</title>
<updated>2019-03-07T00:25:32Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2019-03-06T06:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d75a1d183e2cbb4c56c14e59aeda64a87d86a34'/>
<id>urn:sha1:8d75a1d183e2cbb4c56c14e59aeda64a87d86a34</id>
<content type='text'>
These tabs happen to appear in columns where they don't stand out too
much, so the diff here is non-obvious. Some of these are rendered
differently by AsciiDoc and Asciidoctor (although the difference might
be invisible!), which is how I found a few of them. The remainder were
found using `git grep "[a-zA-Z.,)]$TAB[a-zA-Z]"`.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'do/gitweb-strict-export-conf-doc'</title>
<updated>2019-01-14T23:29:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-14T23:29:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3dc50ccf7d5224b5f44108a07aa63e297f370e72'/>
<id>urn:sha1:3dc50ccf7d5224b5f44108a07aa63e297f370e72</id>
<content type='text'>
Doc update.

* do/gitweb-strict-export-conf-doc:
  docs: fix $strict_export text in gitweb.conf.txt
</content>
</entry>
<entry>
<title>docs: fix $strict_export text in gitweb.conf.txt</title>
<updated>2018-12-09T03:28:15Z</updated>
<author>
<name>Denis Ovsienko</name>
<email>denis@ovsienko.info</email>
</author>
<published>2018-12-06T13:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f116ee21cdacf5bf2c220464b65a9ca5452e4cae'/>
<id>urn:sha1:f116ee21cdacf5bf2c220464b65a9ca5452e4cae</id>
<content type='text'>
The section discusses $gitweb_export_ok and $gitweb_list, but gitweb
Perl code does not have such variables (this likely hangs over from
GITWEB_EXPORT_OK and GITWEB_LIST respectively). Fix the section to
spell $export_ok and $projects_list like the rest of the document.

Signed-off-by: Denis Ovsienko &lt;denis@ovsienko.info&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs/gitweb.conf: config variable typo</title>
<updated>2018-12-09T01:59:55Z</updated>
<author>
<name>Frank Dana</name>
<email>ferdnyc@gmail.com</email>
</author>
<published>2018-12-08T00:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=112ea42663c8cb01eb44b19f1461ec85fe03cf8c'/>
<id>urn:sha1:112ea42663c8cb01eb44b19f1461ec85fe03cf8c</id>
<content type='text'>
The documentation for the feature 'snapshot' claimed
"This feature can be configured on a per-repository basis via
repository's `gitweb.blame` configuration variable"

Fixed to specify `gitweb.snapshot` as the variable name.

Signed-off-by: Frank Dana &lt;ferdnyc@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix indentation of listing blocks in gitweb.conf.txt</title>
<updated>2018-10-23T03:23:09Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2018-10-22T20:45:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9aab3fcf23c8e0079bec61f356934d596e46948c'/>
<id>urn:sha1:9aab3fcf23c8e0079bec61f356934d596e46948c</id>
<content type='text'>
'gitweb.conf.txt' uses inconsistent indentation in listing blocks and a mix
of listing blocks and literal paragraphs. Both didn't look pretty in the
rendered HTML page.

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: use https links to avoid http redirect</title>
<updated>2017-04-21T05:05:37Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-04-20T20:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e52a53df38af37cc32d641bfdeaa43ceb8277eef'/>
<id>urn:sha1:e52a53df38af37cc32d641bfdeaa43ceb8277eef</id>
<content type='text'>
Many sites these days unconditionally redirect http requests
to their https equivalents. Let's make our links https in
the first place to save the client a redirect.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
