On Mon, Dec 1, 2008 at 8:39 AM, Kristian Lyngstol <[EMAIL PROTECTED]> wrote: > As some of you might have noticed, I've been experimenting with submodules > for a few days. We looked briefly into this when we created Compiz Fusion, > but it was discarded because it only became available in git 1.5, and not > even 1.5.0. That is no longer an issue.
Hey Kristian, I assume this would work like svn and cvs handle submodules, ie, one can clone 'compiz-fusion' which clones 'compiz', 'compizconfig', 'ccsm', 'plugins-main', 'plugins-extra'? If so that I think what would work quite well, considering the problems we have with the plugins-* commit hook. > > Submodules in git is just having a super-repository which links to a series > of other repositories. The obvious use case for Compiz Fusion is to have > one super repository which contains all of Compiz Fusion, and Compiz. I > have, in fact, set up a repository just like that [1]. > > Today, the closest thing to this that we have is plugins-main/extra, which > has some issues (Branching, being one significant one. Easy breakage being > an other). > > The main advantage that I see is that we can unify the project. This will > make it easier to document the entire project, to keep track of the project > as a whole and to introduce new developers to the project. However, there > is some work needed to make it work well, mainly build system magic (or I > could script it, which isn't that bad either). Again, the advantage would > be to have ONE place for this. It would also make things like yags and > get-git redundant. > > Before I start arguing technical details, I want to hear the opinions of > other developers. Thoughts, ideas, concerns, etc. I suggest that you > (the developers, however long you've been with the project) take at least a > brief look at the test repo I set up. It can obviously be organized > differently, but it should give you an idea of how it works. README has > some loose comments on Pros and Cons. > > [1] http://cgit.compiz-fusion.org/~kristian/cf-master-test/ Cool. Some questions: 1) Will /users be allowed to subrepo? 2) Can we have metarepos? i.e compiz-fusion-stable gets all the stable bits and pieces and compiz-fusion-unstable grabs the latest development version Regards, Sam > > - Kristian > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFJMyQ28aD+nxnFLQIRAg7hAJ4pGxFGv5JjJOuKRXCe5kF9sUNhsQCeJl5y > r3NBTpoUmx+kGTBL+SaT970= > =SlG7 > -----END PGP SIGNATURE----- > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.compiz-fusion.org/mailman/listinfo/dev > > -- Sam Spilsbury _______________________________________________ Dev mailing list [email protected] http://lists.compiz-fusion.org/mailman/listinfo/dev
