hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

Contributing/developing roles after galaxy merge #276

Closed wizonesolutions closed 9 years ago

wizonesolutions commented 9 years ago

How? Don't see any docs on this in the docs. Is my only resort to change the cloned and then manually sync the changes to a separate clone?

dixhuit commented 9 years ago

Yeah, docs are a bit behind while this stuff is still in dev branch only. I intend to have docs updated to cover this new stuff before the next tagged release.

I don't fully understand your question though - would you mind rephrasing?

wizonesolutions commented 9 years ago

Often one sets things up a bit differently when developing, iterating, and testing vs. just consuming/using. Does this distinction apply for Vlad roles? I know with Vlad itself I can simply use two repos parallel. Am 14.09.2015 12:11 schrieb "Dan Bohea" notifications@github.com:

Yeah, docs are a bit behind while this stuff is still in dev branch only. I intend to have docs updated to cover this new stuff before the next tagged release.

I don't fully understand your question though - would you mind rephrasing?

— Reply to this email directly or view it on GitHub https://github.com/hashbangcode/vlad/issues/276#issuecomment-140027686.

dixhuit commented 9 years ago

Right, I think I follow you now...

Personally I'm just copying tested changes from Galaxy roles downloaded by Vlad into separate clones of each respective role and committing/pushing from there. This isn't ideal and I'm considering setting something up with Git submodules to be able to do everything from one codebase that uses repos within repos. The latter approach may warrant adding a dev-only setting in Vlad that prevents it from using Galaxy to download external roles (so that Git can handle this instead). The subsequent .gitmodules file would have to never be committed back upstream to Vlad though - is it possible to add .gitmodules to .gitignore?

I guess the other thing to highlight here is that any roles that have been created and shared on Galaxy aren't intended to be exclusive to Vlad, therefore developing & testing such roles doesn't have to be in the context of Vlad's codebase (at least initially anyway, you'll probably want to test it with Vlad eventually).

wizonesolutions commented 9 years ago

Yep, that's what I meant. Thanks! I'll just go with that for now.