[Kde-scm-interest] JhBuild

Johannes Sixt j.sixt at viscovery.net
Thu Jan 28 17:20:56 CET 2010


Ian Monroe schrieb:
> On Thu, Jan 28, 2010 at 9:10 AM, Matt Williams <lists at milliams.com> wrote:
>> One of the oft-quoted selling points of git is the separation of
>> backend and porcelain and so a kde-specific git command to provide
>> functionality similar to the bazaar 'lp:' type meta-URLs could be
>> useful. To do something like:
>>
>> git clone kde:kdelibs # or
>> git kdeclone kdelibs
>>
>> which, inside its workings could contain/lookup the official KDE
>> module dependencies/relationships.
> 
> That would be pretty cool :)
> 
> Probably means writing it in perl though. Anyways its been on my
> personal todo list to write the cloner in Ruby, could do this to
> figure out the XML (or JSON or whatever) format and let a perl person
> port it to a git command later.

If your program is named 'git-kdeclone' and is in your PATH, then 'git
kdeclone' will pick it up, regardless of the language it is written in. If
you write it carefully, 'git --git-dir=... kdeclone' and all the other
generic switches will work automatically.

-- Hannes


More information about the Kde-scm-interest mailing list