History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3163
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Depth option for git repositories is basically unusable except if you just use one branch

Created: 30/Mar/18 12:48 PM   Updated: 22/Apr/18 12:13 PM
Component/s: None
Affects Version/s: 7.0.31, 8.0.1
Fix Version/s: 8.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. branch-commits.jpg
(9 kb)


 Description  « Hide
Hi!

We have some huge git repositories now and would like to use the depth option to not clone the whole history, but this does not work on multiple branches.

For example if we want to build a commit which is not reachable from HEAD (because it is in a different branch which exists in parallel to master) it fails because the revision could not be found.

There are basically two things which would make that usable:
1. Add a "Clone branch" option where one can define which branch should be cloned if "depth" is set (to something other than 0 which means it is disabled) and add that as "--branch <clone branch>" additionally to "--depth <depth>"
2. If "Clone branch" is empty add "--no-single-branch" (additionally to --depth) so that all commits can be reached and not just the history of HEAD.

I hope this makes clear what we need. If not, please just ask.

Thanks,
Alex

 All   Comments   Work Log   Change History      Sort Order:
Change by AlSt [30/Mar/18 12:52 PM]
Field Original Value New Value
Attachment branch-commits.jpg [ 10683 ]

Change by Steve Luo [22/Apr/18 12:09 PM]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Robin Shen [ robinshine ]
Resolution Fixed [ 1 ]

Change by Steve Luo [22/Apr/18 12:09 PM]
Fix Version/s 8.0.3 [ 11794 ]