Submodules
Posted: Fri Apr 12, 2013 10:39 am
Here's a potential workflow issue for external contributors with the current use of submodules (and the way git submodules work in general)...
If I've forked the main livecode repository in GitHub then my fork points to the original runrev submodule repos. If I want to change something in a submodule I should presumably fork that too but then I need to update my fork of livecode to point at my fork of the submodule - this is a change which will show up in all of my pull requests if I push it back to my livecode fork. If I don't push it back I'll have pull/merge issues forever.
If I've got forks of all the submodules I'll need to keep them synced independently of the main one all the time...
I'm guessing the answer is we really shouldn't need to fork/modify the submodules much/at all. Or maybe some handy scripts could be developed to manage the process cleanly?
Any thoughts?
If I've forked the main livecode repository in GitHub then my fork points to the original runrev submodule repos. If I want to change something in a submodule I should presumably fork that too but then I need to update my fork of livecode to point at my fork of the submodule - this is a change which will show up in all of my pull requests if I push it back to my livecode fork. If I don't push it back I'll have pull/merge issues forever.
If I've got forks of all the submodules I'll need to keep them synced independently of the main one all the time...
I'm guessing the answer is we really shouldn't need to fork/modify the submodules much/at all. Or maybe some handy scripts could be developed to manage the process cleanly?
Any thoughts?