summaryrefslogtreecommitdiff
path: root/lib/extracts_path.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-04-10 20:15:48 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-04-13 17:32:00 -0300
commite61325ff432db669012a1291f5f2332eb5b0d43f (patch)
tree866f5333f816f3bc10e5ee05ab963789bb132519 /lib/extracts_path.rb
parent0fa00e8461bc70d20006de4e2e30d07eabda1e69 (diff)
downloadgitlab-ce-branch-versions.tar.gz
Expand components version specification format to allow branchesbranch-versions
Currently we specify versions for Gitlab-Shell, Workhorse and Gitaly using version strings, to which we prepend 'v' and assume are tags. These changes allow branches or tags with other name formats to be specified by prepending '=' to the version string (á la govendor). We also simplify the process to reset to the given version (now a branch or tag): Right now there's a check to supposedly try to avoid fetching from the remote the version if it already exist locally. But the previous logic already clones if the directory doesn't exist or fetches if it does, so this check is pointless. We can safely assume the version exists once we get to the reset stage.
Diffstat (limited to 'lib/extracts_path.rb')
0 files changed, 0 insertions, 0 deletions