-
Notifications
You must be signed in to change notification settings - Fork 48
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
git deps with limit #102
Comments
@openchung commented on September 10, 2020 4:12 PM:
What do you mean exactly here? What doesn't work?
Yes there are limitations. It only detects textual dependencies which does not guarantee correctness, and this can also sometimes result in a very large dependency tree which can potentially be avoided by manually porting commits between branches in a way which minimises dependencies.
It is possible that the dependency tree will be extremely large. You should make sure you are using |
Sir, For example, in above image, the commit point contains around 360 addition and 688681 deletion, and when try to find the git deps point, it running a very long time (over 30mins and no response), is that the limitation you mentioned? are there any method to enhance the speed/performance, many thanks. |
@futureweihk commented on September 14, 2020 10:14 AM:
If the commit is this big, something sounds badly wrong to me. Commits must be as small as possible. git-deps will not work well with huge commits. |
@futureweihk commented on September 14, 2020 10:20 AM:
No that is a completely different issue. It is very important to understand the difference between textual and semantic dependencies, so please read https://github.com/aspiers/git-deps#textual-vs-semantic-independence |
Thanks for your clarification, could you please suggest are there any suggested limit, like no more than 50 files and 10000 add or deletions? |
@futureweihk commented on September 15, 2020 7:27 AM:
If it's code then usually I'd say no more than 5 or 10 files and 50 to 100 adds or deletions. Here are some good links to read:
No it's nothing to do with buffering. It's a combination of |
Many thanks for your patient and detailed responses, I will learn from your reference links first.
|
2020-09-16 14:24:51,520 WARN [runner.ScriptBindingsManager]: Error executing command: sh /log/jirasoftware-home/scripts/gitdeps.sh 2659_gib 3f9d22578c5292d293b210f24c6545180616cd5b UAT_GIB.202010.01_cherrypick_refs Dear Sir, have you ever seen error message like above? we can not find the reason for such error |
This looks like a Python 3 / UTF-8 issue which is unrelated to the discussion above. Please file a separate issue for this. |
As the above questions have been answered, I will close this issue now. We can cover other topics in separate issues. |
OK,thanks
|
We use the branch strategy to merge each Feature to the SIT branch, and use git deps to find all the dependencies at each SIT Commit point, Cherry-pick to the UAT branch, but we found that when the amount of commit is quite large, git deps is not work to produce result. Is there a limitation for git deps? If not, what is the possibility that the results will not run out? Thanks
The text was updated successfully, but these errors were encountered: