gitlab-org--gitlab-foss/spec/routing
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
..
admin_routing_spec.rb
environments_spec.rb
group_routing_spec.rb
import_routing_spec.rb
notifications_routing_spec.rb
openid_connect_spec.rb
project_routing_spec.rb Add new repository archive route 2018-04-06 08:45:17 -04:00
routing_spec.rb [CE] Add Naming/FileName rule checking expected class/module per filename 2018-03-08 12:56:54 +00:00