-
- Downloads
Add option to suppress archive commit sha
Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
Showing
- app/helpers/workhorse_helper.rb 2 additions, 2 deletionsapp/helpers/workhorse_helper.rb
- lib/api/helpers.rb 2 additions, 2 deletionslib/api/helpers.rb
- lib/api/repositories.rb 1 addition, 1 deletionlib/api/repositories.rb
- lib/api/v3/repositories.rb 1 addition, 1 deletionlib/api/v3/repositories.rb
- lib/gitlab/git/repository.rb 11 additions, 4 deletionslib/gitlab/git/repository.rb
- lib/gitlab/workhorse.rb 2 additions, 2 deletionslib/gitlab/workhorse.rb
- spec/lib/gitlab/git/repository_spec.rb 8 additions, 2 deletionsspec/lib/gitlab/git/repository_spec.rb
Please register or sign in to comment