Re: [RFD] Documentation/HOWTO translated into Japanese

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kyle Moffett
Date: Thursday, June 14, 2007 - 5:29 pm

On Jun 11, 2007, at 13:38:10, Tony Luck wrote:

Well, actually, if you're going that route then extend GIT to have  
support for "related" files.  Essentially you should be able to add  
metadata to a git tree which says: "files $SHA1-$PATH1, $SHA2-$PATH2,  
[...], are related".  Then there would be a "git list-related"  
command with a "--mismatch" option which would list paths for which  
$SHA1 doesn't correspond to $PATH1 or $SHA2 doesn't correspond to  
$PATH2, etc.  Some clever updating of related-status during commit/ 
clone/pull/etc could store information in the index about whether or  
not any given file is up-to-date with respect to its co-related files.

For translations, when the English version of a document is updated  
it will automatically result in a "mismatch", allowing translators to  
do a simple git-diff and see what happened.  Likewise, if the  
Japanese document is updated without changing the relationship then  
it might mean that somebody should see what changed and update the  
English version as well.  If you determine that the change was  
irrelevant for the other language (spelling/grammar fixes, etc), then  
you just update the relationship and commit that change.

It would probably be pretty trivial to implement a prototype using a  
'.gitrelated' file in the root of the git tree, although better  
integration with the index would really speed handling with lots of  
related files; instead of linear searching just iterate over the  
prepared-during-checkout "out-of-date" list.

Cheers,
Kyle Moffett

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFD] Documentation/HOWTO translated into Japanese, Tsugikazu Shibata, (Sun Jun 10, 4:48 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Jesper Juhl, (Sun Jun 10, 5:24 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Jan Engelhardt, (Sun Jun 10, 5:29 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, IKEDA Munehiro, (Sun Jun 10, 7:25 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Tsugikazu Shibata, (Sun Jun 10, 9:34 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Jan Engelhardt, (Sun Jun 10, 9:46 am)
Re: [RFD] Documentation/stable_api_nonsense.txt translated ..., Alistair John Strachan, (Sun Jun 10, 10:00 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Matthias Schniedermeyer, (Sun Jun 10, 10:56 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Matt Mackall, (Sun Jun 10, 3:08 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, Adrian Bunk, (Sun Jun 10, 5:25 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, KAMEZAWA Hiroyuki, (Sun Jun 10, 7:55 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, Matthias Schniedermeyer, (Mon Jun 11, 12:24 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Hiro Yoshioka, (Mon Jun 11, 1:45 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, KAMEZAWA Hiroyuki, (Mon Jun 11, 3:46 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Rene Herman, (Mon Jun 11, 4:16 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, KAMEZAWA Hiroyuki, (Mon Jun 11, 4:28 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Rene Herman, (Mon Jun 11, 4:34 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Matt Mackall, (Mon Jun 11, 6:43 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Tsugikazu Shibata, (Mon Jun 11, 5:55 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, IKEDA Munehiro, (Mon Jun 11, 6:07 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, Junio C Hamano, (Tue Jun 12, 12:44 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, IKEDA Munehiro, (Tue Jun 12, 1:44 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Pavel Machek, (Wed Jun 13, 7:18 am)
Re: [RFD] Documentation/HOWTO translated into Japanese, Pavel Machek, (Wed Jun 13, 1:43 pm)
Re: [RFD] Documentation/HOWTO translated into Japanese, Kyle Moffett, (Thu Jun 14, 5:29 pm)