Subsystems, git and symbolic links

26 views
Skip to first unread message

Brettski

unread,
Feb 5, 2012, 8:43:14 PM2/5/12
to framework-one
Hi,

Do many of you use subsystems for common components e.g a file
uploader, admin utils etc..?

If so, do you have your subsystems in different git repos? I was
thinking..

[Git repo1]
- common
- subsystem1
- subsystem2

[Git repo2]
- myapp1
- subsystem1 [symbolic link]
- myappsubsystem1
- etc

[Git repo3]
- myapp2
- subsystem1 [symbolic link]
- myappsubsystem2
- etc

just trying to structure it so my common subsystems are only stored in
one place on the system.

b

Chris Blackwell

unread,
Feb 8, 2012, 4:41:34 PM2/8/12
to framew...@googlegroups.com
I've just started using git submodules for things like coldspring, mxunit and ValidateThis.  I clone them to a non web accessible location in my project and then setup an admin mapping to them. 

I'm very new to using submodules, but as I understand it, the advantage is that the submodule is fixed at a chosen revision.  Whereas if you symlink to the same code from several parent projects you'll have to be careful that a change made whilst working on one doesn't break another.

Chris


Reply all
Reply to author
Forward
0 new messages