login
Header Space

 
 

Re: [RFC] Submodules in GIT

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Torgil Svensson <torgil.svensson@...>
Cc: <sf-gmane@...>, sf <sf@...>, <git@...>, Martin Waitz <tali@...>
Date: Saturday, December 2, 2006 - 3:41 pm

On Sat, 2 Dec 2006, Torgil Svensson wrote:

And I'll add the note that people who do things like submodules aren't 
generally even _used_ to them being "seamless", and most of the time 
probably don't even want complete seamlessness.

As the example that Torgil points to shows, people are quite used to 
actually even naming the submodules separately, and things like having the 
"default" set of submodules not equal the "complete" set. 

In other words, I don't think people expect or want something hugely more 
complicated than the CVS/modules kind of file. 

What people _do_ want (and that CVS in general is horribly bad at, and 
this is not a module-specific issue) is to have the _versioning_ work 
well. When you check out a specific version of a module, you want any 
_linked_ modules to follow along too.

This is the same reason why CVS users use tags a lot: because even 
_within_ a single project (no modules, no nothing), it's often hard to 
re-create the exact state of a version any other way. So you tag every 
single file and do insane things like that, because CVS just isn't very 
good at guaranteeing consistency across the whole project.

The exact same thing is true about subprojects. I don't think that people 
who have used CVS subprojects a lot really mind the CVS/modules file 
itself (but hey, maybe I'm wrong - I've seen _other_ people maintain 
modules in CVS, but I've never done it myself), but they do mind the fact 
that it's hard as hell to do something as simple as "get all modules back 
to version X" without lots and lots of careful crud (ie tagging every 
singl emodule, things like that).

Now, I'm not exactly sure who wants to use git modules, so this is the 
time to ask: did you hate the CVS/modules file? Or was it something you 
set up once, and then basically forgot about? People clearly use the 
ability to mark certain modules as depending on each other, and aliases to 
say "if you ask for this module, you actually get a set of _these_ 
modules".

_I_ suspect that that isn't the problem people had, and isn't what they 
have any problems with. What CVS didn't do very well (or at all, afaik) is 
to say "I want supermodule version XYZ", and then got all the submodules 
automatically to that (reliable) state. And THAT is something I think is 
really important for submodules, and it's why I think the most important 
part isn't actually all the veneer to make "git clone" and "git pull" work 
(which is really about the CVS/modules kind of wrapper parsing), but 
actually about the supermodule "tree" object pointing to a very specific 
version, so that you get the exact same "atomic snapshotting" of multiple 
trees that you get within a single git tree.

In other words, I _suspect_ that that is really what module users are all 
about. They want the ability to specify an arbitrary collection of these 
atomic snapshots (for releases etc), and just want a way to copy and move 
those things around, and are less interested in making everything else 
very seamless (because most people are happy to do the actual 
_development_ entirely within the submodules, so the "development" part 
is actually not that important for the supermodule, the supermodule is 
mostly for aggregation and snapshots, and tying different versions of 
different submodules together).

So that's where I come from. And maybe I'm totally wrong. I'd like to hear 
what people who actually _use_ submodules think.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] Submodules in GIT, Jakub Narebski, (Tue Nov 28, 6:50 am)
Re: [RFC] Submodules in GIT, Andy Parkins, (Tue Nov 28, 9:35 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Wed Nov 29, 12:03 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Wed Nov 29, 4:00 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Thu Nov 30, 1:06 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 5:02 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 7:00 am)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 8:09 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 8:12 am)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 9:05 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 9:35 am)
Re: [RFC] Submodules in GIT, Stephan Feder, (Fri Dec 1, 9:51 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 10:58 am)
Re: [RFC] Submodules in GIT, Stephan Feder, (Fri Dec 1, 11:47 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 12:54 pm)
Re: [RFC] Submodules in GIT, Stephan Feder, (Fri Dec 1, 1:33 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 3:17 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 3:38 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 5:04 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 5:37 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 5:54 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 6:08 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Sat Dec 2, 6:04 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:40 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Sat Dec 2, 9:50 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:43 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Sat Dec 2, 9:02 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 2:48 pm)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 7:34 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 3:46 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 9:43 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 9:46 am)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 10:52 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 11:00 am)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 12:38 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 12:57 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 2:08 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 2:51 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 12:49 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 1:14 pm)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 1:08 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 4:13 pm)
Re: [RFC] Submodules in GIT, Jon Loeliger, (Fri Dec 8, 2:29 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Tue Dec 12, 4:32 am)
Re: [RFC] Submodules in GIT, Sven Verdoolaege, (Fri Dec 8, 2:45 pm)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 6:35 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 6:06 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 6:26 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 6:55 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 7:30 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 8:14 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 8:33 pm)
Re: [RFC] Submodules in GIT, Michael K. Edwards, (Mon Dec 4, 2:56 pm)
Re: [RFC] Submodules in GIT, Sam Vilain, (Mon Dec 4, 9:31 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Sat Dec 2, 5:27 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 7:07 pm)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 6:41 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 7:09 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:12 pm)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 7:49 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Sat Dec 2, 2:57 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 3:41 pm)
Re: [RFC] Submodules in GIT, R. Steve McKown, (Sat Dec 9, 5:34 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Sun Dec 10, 7:47 am)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Thu Dec 14, 5:27 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Thu Dec 14, 7:07 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Fri Dec 15, 1:43 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 15, 5:42 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Fri Dec 15, 7:43 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Fri Dec 15, 9:13 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 15, 9:49 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 15, 10:12 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Sat Dec 16, 4:50 am)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Fri Dec 15, 9:20 pm)
Re: [RFC] Submodules in GIT, Daniel Barkalow, (Mon Dec 4, 10:33 pm)
Re: [RFC] Submodules in GIT, sf, (Tue Dec 5, 6:07 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Sun Dec 3, 3:33 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Sun Dec 3, 5:19 am)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sun Dec 3, 1:54 pm)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Mon Dec 4, 4:26 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Mon Dec 4, 4:41 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Tue Dec 5, 6:38 am)
Re: [RFC] Submodules in GIT, Torgil Svensson, (Mon Dec 4, 5:36 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Tue Dec 5, 6:42 am)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 7:36 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Fri Dec 1, 8:12 pm)
Re: [RFC] Submodules in GIT, Sven Verdoolaege, (Sun Dec 3, 6:16 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sun Dec 3, 6:32 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Mon Dec 4, 7:12 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:18 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 4:44 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sun Dec 3, 4:46 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 5:22 pm)
Thoughts about memory requirements in traversals [Was: Re: [..., Josef Weidendorfer, (Sat Dec 2, 10:07 pm)
Re: Thoughts about memory requirements in traversals [Was: R..., Josef Weidendorfer, (Sat Dec 2, 11:21 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 5:06 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 5:29 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Sat Dec 2, 7:32 am)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 3:52 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:21 pm)
Re: [RFC] Submodules in GIT, Linus Torvalds, (Sat Dec 2, 4:46 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:58 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Sat Dec 2, 9:11 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Sat Dec 2, 5:22 am)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 7:03 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 6:12 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 7:17 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sat Dec 2, 4:24 pm)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Sat Dec 2, 8:55 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Sun Dec 3, 2:29 am)
Re: [RFC] Submodules in GIT, Josef Weidendorfer, (Fri Dec 1, 6:26 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 6:40 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 4:30 pm)
Re: [RFC] Submodules in GIT, Alan Chandler, (Fri Dec 1, 7:23 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 2:06 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Thu Nov 30, 2:57 pm)
Re: [RFC] Submodules in GIT, Uwe Kleine-Koenig, (Tue Dec 5, 5:01 am)
Re: [RFC] Submodules in GIT, Sven Verdoolaege, (Tue Dec 5, 12:00 pm)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Tue Dec 5, 6:33 am)
Re: [RFC] Submodules in GIT, Uwe Kleine-Koenig, (Tue Dec 5, 11:02 am)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Tue Dec 5, 11:30 am)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 8:03 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 8:11 am)
Re: [RFC] Submodules in GIT, sf, (Fri Dec 1, 9:21 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 9:43 am)
Re: [RFC] Submodules in GIT, Stephan Feder, (Fri Dec 1, 10:23 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 11:07 am)
Re: [RFC] Submodules in GIT, Stephan Feder, (Fri Dec 1, 12:04 pm)
Re: [RFC] Submodules in GIT, Martin Waitz, (Fri Dec 1, 12:15 pm)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 4:49 am)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Fri Dec 1, 5:33 am)
Re: [RFC] Submodules in GIT, Andy Parkins, (Fri Dec 1, 6:38 am)
Re: [RFC] Submodules in GIT, Andreas Ericsson, (Thu Nov 30, 8:16 am)
Re: [RFC] Submodules in GIT, Andy Parkins, (Thu Nov 30, 8:40 am)
Re: [RFC] Submodules in GIT, Steven Grimm, (Tue Nov 28, 3:58 pm)
Re: [RFC] Submodules in GIT, Shawn Pearce, (Tue Nov 28, 5:02 pm)
Re: [RFC] Submodules in GIT, Shawn Pearce, (Tue Nov 28, 11:44 am)
Re: [RFC] Submodules in GIT, Andy Parkins, (Tue Nov 28, 12:29 pm)
Re: [RFC] Submodules in GIT, sf, (Thu Nov 30, 7:57 am)
Re: [RFC] Submodules in GIT, Martin Waitz, (Wed Nov 29, 12:15 pm)
Re: [RFC] Submodules in GIT, Jon Loeliger, (Tue Nov 28, 1:38 pm)
Re: [RFC] Submodules in GIT, Shawn Pearce, (Tue Nov 28, 12:36 pm)
speck-geostationary