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

filesystem encodings and gitweb tests, was Re: Moving a directory into another fails

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 5, 2006, 14:11 UTC
Message-ID
<Pine.LNX.4.63.0612051507170.28348@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<200612051036.13645.jnareb@gmail.com>
Hi,
On Tue, 5 Dec 2006, Jakub Narebski wrote:
Show 16 quoted lines
> Johannes Schindelin wrote:
> 
> > On Mon, 4 Dec 2006, Linus Torvalds wrote:
> > 
> >> 	[core]
> >> 		escapefilenames = true
> > 
> > I think this goes too far. The problem _only_ showed up with a made-up 
> > test case for gitweb. Let's bite the apple when we _have_ to (which I 
> > doubt will happen, because for the most part, developers understand that 
> > spaces and umlauts have _no_ place in filenames, basically since UNIX was 
> > invented by stupid US Americans who did not know anything about nice 
> > filenames, let alone other languages than English and C).
> 
> No, the problem showed with stupid HFS+ which uses different encoding
> for creating file, and different for readdir.

This is just one of the problems. I described another problem in this thread, namely a repo on a usb stick being accessed from different hosts.

> Perhaps we should remove gitweb/test directory, and move testing gitweb 
> to proper place, t/ directory.

If you do that, please make sure that these tests can be disabled (a la svn tests), so that people not being interested in gitweb, or lacking the programs to test it, do not have to suffer.

> By the way, would it be correct to use external tools (if they exist),
> namely HTMLtidy in gitweb output test to-be-written?
(Yes, they exist. HTMLtidy for example ;-)

IMHO if such a tool is common enough, you should use it. If anybody steps forward providing automated HTTP tests, I will not complain, and certainly not about testing with things like HTMLtidy.

Ciao, Dscho

Previous: Jakub NarebskiNext: Jakub Narebski
Message 20 of 24 in “Moving a directory into another fails”
  1. Jon SmirlJul 26, 2006
  2. Nicolas VilzJul 26, 2006
  3. Jon SmirlJul 26, 2006
  4. Nicolas VilzJul 26, 2006
  5. Petr BaudisJul 28, 2006
  6. Stefan PfetzingDec 4, 2006
  7. Jakub NarebskiDec 4, 2006
  8. Johannes SchindelinDec 4, 2006
  9. Jakub NarebskiDec 4, 2006
  10. Johannes SchindelinDec 4, 2006
  11. Jakub NarebskiDec 4, 2006
  12. Linus TorvaldsDec 4, 2006
  13. Linus TorvaldsDec 4, 2006
  14. Shawn PearceDec 4, 2006
  15. Jakub NarebskiDec 4, 2006
  16. Johannes SchindelinDec 4, 2006
  17. Linus TorvaldsDec 4, 2006
  18. Johannes SchindelinDec 5, 2006
  19. Jakub NarebskiDec 5, 2006
  20. filesystem encodings and gitweb tests, was Re: Moving a directory into another failsJohannes Schindelin, Dec 5, 2006
  21. Jakub NarebskiDec 5, 2006
  22. Johannes SchindelinDec 5, 2006
  23. Linus TorvaldsDec 5, 2006
  24. Johannes SchindelinDec 4, 2006

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.