[Kde-scm-interest] Package splitting

Thiago Macieira thiago at kde.org
Wed Jan 27 08:30:59 CET 2010


Em Quarta-feira 27. Janeiro 2010, às 01.05.14, Chani escreveu:
> > Not necessarily aimed at you Albert but I have a question.
> > 
> > What are we going to do about being able to move applications from one
> > KDE logical project to another? e.g., how will we be able to move a
> > new application from playground to kdereview to kdegames while
> > preserving history? Is the plan to have a kdegames repository with
> > each of the games stored as submodules? From what I've understood,
> > submodules aren't currently up to doing this? Perhaps someone can
> > elaborate?
> 
> submodules are completely not up to doing that.
> they're kinda like a very limited sort of svn external, where you have to
> specify exactly what commit they point to (they can't track head or
> anything).

You don't want to track. The point is to remember, when you go back in time, 
which revision is known to work. More importantly, when you tag, you know 
exactly what you released.

When developing, however, just detach the submodule. Go into it, checkout 
master or 4.3 or whatever and work on it. Sure, a "git status" in the 
supermodule will produce "modified" for each directory where you've been 
working, but why are you in the supermodule in the first place?

If we do this, there will be nothing in the supermodule but information to 
download the sub-repositories and to build.

> 
> ...unless it's possible to write a set of hooks that commit to the super-
> module every time any of the submodules' repos gets a commit?
> it sounds like it's got other problems, though, and makes it easy to make
> mistakes. and I feel like I'm forgetting something...

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100127/7e7b0ec7/attachment.sig 


More information about the Kde-scm-interest mailing list