Re: RFC: a plugin architecture for git extensions?

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

 



On Wed, Apr 27, 2011 at 6:15 PM, Jon Seymour <jon.seymour@xxxxxxxxx> wrote:
> On Wed, Apr 27, 2011 at 5:57 PM, Michael J Gruber
> <git@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I also want to avoid baking in any too many decisions about things
> like registries and distribution models. That can come later.

Ok, may be some thoughts about a registry, at least to set a direction...

I like the way brew on MAC OSX uses git to manage formulas managed in
a git repo.

The idea would be to maintain a registry of "git package descriptors".
The descriptors would be a copy of the whatever descriptor an
activated package would be described by, but probably simply a git
config text file, since we already have the tools to parse those.

Such a descriptor would have hints about how to use a real package
manager to get the actual package, but would not actually contain any
files from the package itself.

So, for example, the package source might be bundled in git-core
contrib/ directory, fetchable as a git repo, fetchable as a tar ball,
fetchable as an apt-get package, as brew package etc. The idea is that
gpm would know enough about invoking a real package manager to handle
the actual distribution details.

Once the package is installed by gpm, it is then subject to the local
activation process.

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]