Re: RFC: a plugin architecture for git extensions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 6, 2011 at 4:56 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
>
> But now I am less sure. ÂThe motivating example has less than 10
> commands; that doesn't seem worth all the fuss at all. ÂWhy not just
> install the command on the $PATH? Â"git help work" _would_ work on all
> the systems I have easy access to. ÂFor example, if I write:
>

An aspect of the motivational example that I would welcome your
feedback on is this.

git-work is an example of an extension that depends on 3 other
extensions (git-base, git-atomic and git-test).

Similarly:

   git-base depends on git-test.
   git-atomic depends on git-test

It seems that if I am to represent these dependencies, I need to
create 4 * N packages, where N is the number of packaging systems I
want to support.

It is unclear how I make:

    make install prefix=/usr/local

work unless the 3 other dependencies have been installed first. If I
need to explain that these 3 other dependencies need to be installed,
then my installation instructions have just become longer.

This seems a shame, since each extension has a dependency only on
other git extensions and git itself. Yet, to provide a workable
installation from source option for my users, I need to either get
them to fetch and build all 4 packages from source, or I need to build
packages for N different distribution managers.

[ FWIW: I recognise that my current proposals for a simple git
--system-extensions-dir don't make this problem any easier to solve,
but I wanted to use the example to demonstrate why a simple make
install script isn't the silver bullet to every installation scenario
].

jon.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]