[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-scm-interest
Subject:    [Kde-scm-interest] requirements on git itself:
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-08-16 8:10:21
Message-ID: 200808161010.27340.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Please follow my logic to see if this feature is needed and what it is:

in the proposed structure for KDE using Git, we'd have one repository 
called KDE.git, which contains submodule links to

	kdelibs
	kdepimlibs
	kdebase
	kdeaccessibility
	kdeadmin
	...

That way, if someone wants to check out all of KDE, they only need to 
clone that supermodule and tell it to initialise the submodules.

We also retain the ability of saying "this commit in kdebase requires that 
commit in kdelibs" by way of a supermodule commit.

However, what happens if the developer only wants kdelibs, kdepimlibs and 
kdebase?

If you don't initialise the other submodules, git will think they were 
removed. Your next commit to the KDE.git supermodule will remove the 
link.

So the feature I feel we need is for git submodule to ignore the 
submodules that were not cloned.

This is similar to Subversion's --depth feature in checking out.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

_______________________________________________
Kde-scm-interest mailing list
Kde-scm-interest@kde.org
https://mail.kde.org/mailman/listinfo/kde-scm-interest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic