-
Notifications
You must be signed in to change notification settings - Fork 210
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
Remove git fetch with destination refspec feature #5874
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked about it earlier today and decided that we don't need the local branches at all.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5874 +/- ##
==========================================
- Coverage 98.51% 98.51% -0.01%
==========================================
Files 394 394
Lines 38737 38735 -2
==========================================
- Hits 38160 38158 -2
Misses 577 577 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
This pull request is now in conflicts. Could you fix it? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will review again when conflicts are resolved
This pull request is now in conflicts. Could you fix it? 🙏 |
Sorry, we had to revert #5863 so I guess you need to resolve conflicts again... |
Or wait until we can reinstate the refactoring. Otherwise it'll be a back and forth which is probably not worth it. |
The refactoring will include some more changes which will cause more conflicts with this PR, so conflicts will appear in both cases possiibly |
As per git documentation the refspec can formed as <src>:<dst> but dst cannot use arbitrary expressions (SHA) but an actual ref must be named. Its usage in the `_git_clone` mistakely adds a SHA ref as destination creating a branch with its name, which is not supported by git. As far as now the feature is not used in OpenQA so it can be safely removed. https://progress.opensuse.org/issues/164937 Signed-off-by: ybonatakis <[email protected]>
As per git documentation the refspec can formed as : but dst cannot
use arbitrary expressions (SHA) but an actual ref must be named. Its usage
in the
_git_clone
mistakely adds a SHA ref as destination creating a branchwith its name, which is not supported by git.
As far as now the feature is not used in OpenQA so it can be safely removed.
https://progress.opensuse.org/issues/164937