Encode job name as part of the url for downloading an artifact: Use ci build results as arch repository
Description
In #4255 (closed) it has been decided to pass the job name as query string. This decision was made as job names could contain slashes. The alternative of encoding the job name in the url path has not been implemented.
It would be great to implement the url style as a secondary option for job names without slashes: That way gitlab ci could be used to serve the build results as Arch Linux User Repository. That's the way I'd like to use this feature. However, there are probably other usecases as well.
Proposal
Support both:
/<user>/<repo>/builds/artifacts/<branch>/file/<filepath>?job=<job>
(already implemented - see #4255 (closed))
/<user>/<repo>/builds/artifacts/<branch>/<job>/file/<filepath>
(it would be fine to limit this new style to job names without slashes)
Links / references
#4255 (closed) - Ticket documenting the current implementation