subversion module system question
From: Hamilton Link <helink_at_sandia.gov>
Date: 2002-05-21 22:35:57 CEST
I've only recently been pointed at Subversion by a coworker, but I have
I read the discussion of issue #517 and the related recent dev thread
With CVS modules I have had pretty specific and predictable problems;
I really, _really_ like the idea of having a submodules file (named
-- a) Can such a file just be a file in a regular repository module, and activate on checkout or update of the module it resides in? Just having a modules file sounds like it keeps the modules file separate from files that may be sitting in the same directory as the submodules should appear in, like modules\mymod <- check this out to get all the following parent\foo.h parent\submodule1\argle.h I would like the option of the following, but (maybe with some good reason I didn't think of) nobody has mentioned it. Maybe I missed it, maybe the assumption is that it will be possible, I dunno. parent\foo.h parent\mysubmods <- when parent is checked out this is activated parent\submodule1\argle.h Now, I don't fully understand the property thing, so it's not clear if the properties are version controlled in the same manner as a fully-formed modules file would be, but unless dealing with properties is a day-in, day-out activity with SVN that everyone does I'd just as soon have a file. -- b) Can the default behavior of checkouts and updates etc in a system with submodules be decided based on the nature of the checkout options in such a file? (or as if there was a file, if no file actually manifests in the final design -- there was some suggestion that submodules just be properties on the parent's directory, and the final decision on that wasn't clear) i.e. if I have a submodule checked out at some specific revision that has an API that I depend upon, I want that revision used until I modify my submodules file, and updates shouldn't affect it. Similarly I *should* be prevented from committing changes in that submodule, because semantically I should be operating with a read-only copy of that submodule anyway, and if I'm changing the readonly attribute I should also be warned to change my checkout options on the submodule to use a branch version instead of a specific revision (I know, I'm confusing CVS terminology and SVN terminology, I apologize). If in the submodules file I just get the latest version of some branch of a submodule, then updating and committing should DWIM, etc. Probably all of this will just happen once the system is checked out properly, because of the SVN control files (just like in CVS), right? The only difference is that there's a file that you can modify to add and remove submodules, or change the version or branch of a submodule that is used depending on what branch of the parent is being developed. -- Not big questions, mostly, since I understand the issues with the way CVS works only too well. hamilton --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Tue May 21 22:48:06 2002 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.