<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitweb, branch v2.41.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.41.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.41.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2022-08-05T22:52:14Z</updated>
<entry>
<title>Merge branch 'jr/gitweb-title-shortening'</title>
<updated>2022-08-05T22:52:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-08-05T22:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dcdcc375a40cf0b1b01af89698f144f7e9568d55'/>
<id>urn:sha1:dcdcc375a40cf0b1b01af89698f144f7e9568d55</id>
<content type='text'>
Gitweb had legacy URL shortener that is specific to the way
projects hosted on kernel.org used to (but no longer) work, which
has been removed.

* jr/gitweb-title-shortening:
  gitweb: remove title shortening heuristics
</content>
</entry>
<entry>
<title>gitweb: remove title shortening heuristics</title>
<updated>2022-07-27T06:33:17Z</updated>
<author>
<name>Julien Rouhaud</name>
<email>julien.rouhaud@free.fr</email>
</author>
<published>2022-07-26T13:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75707da4fa4105c174017d079786e5bba79a96f6'/>
<id>urn:sha1:75707da4fa4105c174017d079786e5bba79a96f6</id>
<content type='text'>
Those heuristics are way outdated and too specific to the kernel project
to be useful outside of kernel.org.  Since kernel.org doesn't use gitweb
anymore and at least one project complained about incorrect behavior,
entirely remove them.

Signed-off-by: Julien Rouhaud &lt;julien.rouhaud@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/build-gitweb'</title>
<updated>2022-07-18T20:31:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-07-18T20:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=48e88a4862f3f0353f7a795dae0346dca0043829'/>
<id>urn:sha1:48e88a4862f3f0353f7a795dae0346dca0043829</id>
<content type='text'>
Teach "make all" to build gitweb as well.

* ab/build-gitweb:
  gitweb/Makefile: add a "NO_GITWEB" parameter
  Makefile: build 'gitweb' in the default target
  gitweb/Makefile: include in top-level Makefile
  gitweb: remove "test" and "test-installed" targets
  gitweb/Makefile: prepare to merge into top-level Makefile
  gitweb/Makefile: clear up and de-duplicate the gitweb.{css,js} vars
  gitweb/Makefile: add a $(GITWEB_ALL) variable
  gitweb/Makefile: define all .PHONY prerequisites inline
</content>
</entry>
<entry>
<title>gitweb/Makefile: add a "NO_GITWEB" parameter</title>
<updated>2022-06-28T20:20:05Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a35258c62adf5c0e591f2335f3427434ff0b63f0'/>
<id>urn:sha1:a35258c62adf5c0e591f2335f3427434ff0b63f0</id>
<content type='text'>
From looking at the {Free,Net,Dragonfly}BSD packages for git[1]
they've been monkeypatching "gitweb" out of the Makefile, let's be
nicer and provide a NO_GITWEB=Y for their use.

For the "all" target this allows for optionally restoring what's been
the status quo before the preceding commit, but now we'll also behave
correctly on the subsequent "make install".

As before our installation of gitweb can be suppressed with
NO_PERL. For backwards compatibility the NO_PERL=Y flag by itself
still doesn't change whether or not we build gitweb, unlike the new
NO_GITWEB=Y flag.

Signed-off-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/Makefile: include in top-level Makefile</title>
<updated>2022-06-28T20:20:05Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=affc3b755cb4d1ac87096bbb93f5f2e57b703894'/>
<id>urn:sha1:affc3b755cb4d1ac87096bbb93f5f2e57b703894</id>
<content type='text'>
Include the gitweb/Makefile in the top-level Makefile rather than
calling it as a sub-Makefile. As noted in the thread starting at at
[1] (in particular [2]) we'll pay a high cost on NOOP runs of "make"
just to figure out that we have nothing to do for "make gitweb".

The "gitweb" script also isn't maintained out-of-tree, unlike
"gitk-git" or "git-gui", which both have their own "Makefile". Other
parts of it are already integrated into our main Makefiles, e.g. the
documentation is built by Documentation/Makefile since
07ea4df2780 (gitweb: Add gitweb(1) manpage for gitweb itself,
2011-10-16).

1. https://lore.kernel.org/git/20220525205651.825669-1-szeder.dev@gmail.com/
2. https://lore.kernel.org/git/220526.86k0a96sv2.gmgdl@evledraar.gmail.com/

Signed-off-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: remove "test" and "test-installed" targets</title>
<updated>2022-06-28T20:20:05Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=27438ef5e043ebca6336274c5b4e79287749eca6'/>
<id>urn:sha1:27438ef5e043ebca6336274c5b4e79287749eca6</id>
<content type='text'>
Remove the special "test" targets for gitweb added in
958a8467216 (gitweb/Makefile: Add 'test' and 'test-installed' targets,
2010-09-26). Unlike e.g. "contrib/scalar" and "contrib/subtree" the
"gitweb" tests themselves live in our top-level t/ directory.

It therefore doesn't make sense to maintain this indirection, no more
than it would to have a "git-send-email-test". By dropping it we'll
also free other tests to use the t95*.sh prefix.

These removed targets are unlikely to be used by anyone, and to the
extent that they are we can easily use an invocation like this
instead:

	make test T='t[0-9]*gitweb*.sh'

Signed-off-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/Makefile: prepare to merge into top-level Makefile</title>
<updated>2022-06-28T20:20:04Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:15:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b82d66eb0cf840a991ff906ab4679785eae4605a'/>
<id>urn:sha1:b82d66eb0cf840a991ff906ab4679785eae4605a</id>
<content type='text'>
Since the "gitweb/Makefile" was split out from the top-level Makefile
in 62331ef1637 (gitweb: Makefile improvements, 2010-01-30) we've kept
the inter-dependencies between the two, and worse have dealt with a
lot of duplication as a result.

In preparation for merging the two again add a MAK_DIR_GITWEB variable
to various rules in it. This will allow us to set this variable to
"gitweb/" as we include it in the top-level Makefile, which will
minimize the size of the subsequent diff.

Signed-off-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/Makefile: clear up and de-duplicate the gitweb.{css,js} vars</title>
<updated>2022-06-28T20:20:04Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=564ebde3d323fc3b22534dcbb32723807771b955'/>
<id>urn:sha1:564ebde3d323fc3b22534dcbb32723807771b955</id>
<content type='text'>
Change the variable definitions for the $(GITWEB_CSS) and $(GITWEB_JS)
so that we have a clear separation between what we use as "in" files,
v.s. our "min" files. We can now make the appending to $(GITWEB_FILES)
unconditional, since $(GITWEB_{JS,CSS}) is either the "min" or
non-"min" version. This reduces the duplication within the file.

While we're at it let's initialize "GITWEB_JSLIB_FILES" as we normally
do with such variables.

Signed-off-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/Makefile: add a $(GITWEB_ALL) variable</title>
<updated>2022-06-28T20:20:04Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1e08fa5e2bf9cd254a742a0ac3e950a12fc45915'/>
<id>urn:sha1:1e08fa5e2bf9cd254a742a0ac3e950a12fc45915</id>
<content type='text'>
Declare the targets that the "all" target depends on with a new
$(GITWEB_ALL) variable. This will help to reduce churn in subsequent
commits.

Signed-off-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/Makefile: define all .PHONY prerequisites inline</title>
<updated>2022-06-28T20:20:04Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-06-28T10:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7decdb9b4ac322158069645685b7527cba65a7e7'/>
<id>urn:sha1:7decdb9b4ac322158069645685b7527cba65a7e7</id>
<content type='text'>
Move the '.PHONY' definition so that it's split up and accompanies the
relevant as they're defined. This will make a subsequent diff smaller
as we'll remove some of these, and won't need to re-edit the
now-removed '.PHONY' line.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
