-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submodules #2402
Submodules #2402
Conversation
Not sure about this. I understand the idea behind, but with submodules you really need to know what you are doing, otherwise you may get into trouble. Let's see what others say about this @superdesk/superdesk-core @superdesk/superdesk-editorial @superdesk/superdesk-data |
@hlmnrmr please share the source of
We point exact commit in our references, you can do it with submodules - they are here for that... |
I don't see this very useful for my workflow, not sure about others (especially devops).
we have a script for that
can you explain why this is good? having said that, I'm not against this. can we use tags for submodules, or just commit ids? |
@petrjasek afaik, you can also use tags |
Updated README a little: @petrjasek: you can use it with branches too, for example 1.0 releases
I'm going to update installation docs with "Unify deployment" stuff. For example if I'm going to contribute to The same for |
In my experience people generally avoid using git submodules. Their implementation is faulty and they can cause a lot of problems in your workflow. I don't have solid evidence to back this up, but I can tell you for sure that it is something generally avoided. Not much to add other than this. |
Seems I need to find another solution without submodules. Thanks, guys. I'm closing this PR. |
Let's use git submodules for cores, benefits:
client-core
orserver-core
andgit pull
then commit new version of submodules in the main reponode_modules
or insidevirtualenv
)As developer:
I can just clone core repos to these directories and develop inside without using
git submodule update --init
. Anyway, I still need to usenpm link
forclient-core
.As devops:
I can use the same tree to test cores, just clone the main repo and then fetch specific commit for cores into these directories.
P.S. Git Submodules basic explanation