[Bug 796953] Add option to enable shallow fetch optimization

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 14 13:31:35 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796953

--- Comment #5 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Nicolas Dufresne (ndufresne) from comment #4)
> I need to check for tags (not tested yet). In theory, because you can have
> multiple remotes in cerbero (an ancient use case from the original SDK), you
> could have clashing tags, which would lead to some ambiguity error. 
> 
> I guess we need to improve a bit that change, since atm it means the shallow
> can only work on origin branches. Not that useful for CI after all.

A nice way to do this might be to have a function `self._ref_can_shallow` (or
similar) that splits on '/' and checks whether the first part of that is `in
self.remotes`. That should cover branches.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list