gitlab: 11.10.8 -> 12.0.3

This is a major version bump but things were generally straightforward
save two wrinkles:

 * it is necessary to ignore collisions in the gitlab bundler
   environment as both `omniauth_oauth2_generic` and
   `apollo_upload_server` provide a `console` executable.

 * grpc had to be patched since its build system expects the `AR`
   environment variable to contain not just the path to `ar` but
   also the `rpc` flags (see the discussion in nixpkgs #63056).
This commit is contained in:
Ben Gamari
2019-07-14 23:03:39 +02:00
committed by Florian Klink
parent acb1134074
commit 363b352af3
16 changed files with 1775 additions and 780 deletions
@@ -35,8 +35,8 @@ class GitLabRepo:
tree = ElementTree.fromstring(r.content)
versions = [e.text for e in tree.findall('{http://www.w3.org/2005/Atom}entry/{http://www.w3.org/2005/Atom}title')]
# filter out versions not matching version_regex
versions = filter(self.version_regex.match, versions)
versions = list(filter(self.version_regex.match, versions))
# sort, but ignore v and -ee for sorting comparisons
versions.sort(key=lambda x: LooseVersion(x.replace("v", "").replace("-ee", "")), reverse=True)
return versions