addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ruby-81] Directory transclusion fantasy

From: Chad W.
Sent on: Saturday, July 25, 2009 2:38 PM
On Sat, Jul 25, 2009 at 12:25 PM, brian schroeder <[address removed]> wrote:
You should take a look at git submodules. ?They are a little cumbersome but will likely satisfy your needs. ?Also, unlike svn, people tend to avoid having big git repositories that manage multiple projects. ?Each project typically has its own repository and is linked to others via submodules.

About piston:?if you want to modify your library in the context of one of your projects, there is no (easy) way to send the changes back to the library. ?This gets irritating fast.

Yes, learn Git submodules.? They work fine in latest versions of git.? There's no need for non-native solutions like braid/piston/etc anymore, unless you want to include subversion repos as subdirs.? More and more tools (CI/IDE) are also offering git submodule support.? The foreach option is the trick to easily managing multiple git submodules, make sure you learn it.? Git submodules require you to learn and use a few different commands, but you can easily wrap these in rake tasks/scripts/aliases to fit your needs.

-- Chad

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy