gitlab-org--gitlab-foss/app/views/projects/buttons
James Ramsay 07f517d441 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`
2018-04-06 08:45:17 -04:00
..
_download.html.haml Add new repository archive route 2018-04-06 08:45:17 -04:00
_dropdown.html.haml
_fork.html.haml
_koding.html.haml Unify use of can_current_user_push_code Presenter 2018-02-22 13:59:16 -03:00
_star.html.haml