git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: move RelNotes into a directory of their own

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 7, 2010, 02:01 UTC
Message-ID
<20100907020109.GI1182@burratino>
In-Reply-To
<alpine.LFD.2.00.1009062026330.19366@xanadu.home>
Nicolas Pitre wrote:
Show 7 quoted lines
> There are 108 of them already.  That's a bit more than one third of
> all the files in the Documentation directory already, and still growing.
> 
> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
> ---
>  .../{RelNotes-1.5.0.1.txt => RelNotes/1.5.0.1.txt} |    0
>  .../{RelNotes-1.5.0.2.txt => RelNotes/1.5.0.2.txt} |    0
[...]
Junio: Because of
	for th in \
		"$T"/*.html "$T"/*.txt \
		"$T"/howto/*.txt "$T"/howto/*.html \
		"$T"/technical/*.txt "$T"/technical/*.html
	do
		h=`expr "$th" : "$strip_leading"'\(.*\)'`
		case "$h" in
		index.html) continue ;;
		esac
		test -f "$h" && continue
		echo >&2 "# rm -f $th"
		rm -f "$th"
	done
this would invalidate old URLs like
	http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.3.txt

, no? Is there some easy way to set up the appropriate HTTP 301 responses?

Aside from that, this looks like a very good idea.
Previous: Nicolas PitreNext: Junio C Hamano
Message 2 of 4 in “Documentation: move RelNotes into a directory of their own”
  1. Documentation: move RelNotes into a directory of their ownNicolas Pitre, Sep 7, 2010
  2. Jonathan NiederSep 7, 2010
  3. Junio C HamanoSep 7, 2010
  4. install-webdoc: keep installed RelNotes-*.txtJunio C Hamano, Sep 10, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.