diff options
author | James Ramsay <james@jramsay.com.au> | 2018-02-19 15:41:04 -0500 |
---|---|---|
committer | James Ramsay <james@jramsay.com.au> | 2018-04-06 08:45:17 -0400 |
commit | 07f517d441ab8782286b4a59d56a630393d75e16 (patch) | |
tree | d388461feb28fbed2b5c6f52303c7eb7b0f633e3 /changelogs | |
parent | 0b1b9c409d3adbf4517351dbb9037ed053f73e67 (diff) | |
download | gitlab-ce-07f517d441ab8782286b4a59d56a630393d75e16.tar.gz |
Add new repository archive route
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 `<project>/-/archive/<ref>/<filename>.<format>` route using the
`-` separator to prevent namespace collisions. If the filename is
`<project>-<ref>` or the ref is a sha, the sha will be omitted,
otherwise the default filename will be used.
- deprecate previous archive route `repository/<ref>/archive`
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/jramsay-38830-tarball.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/jramsay-38830-tarball.yml b/changelogs/unreleased/jramsay-38830-tarball.yml new file mode 100644 index 00000000000..6d40c305614 --- /dev/null +++ b/changelogs/unreleased/jramsay-38830-tarball.yml @@ -0,0 +1,5 @@ +--- +title: Add alternate archive route for simplified packaging +merge_request: 17225 +author: +type: added |