Remove "-/" section from the debian upload route
🌵 Context
In !610 (merged), a new upload route has been added for debian packages.
The url used for this upload route has this form: v4/projects/[0-9]+/-/packages/debian/incoming/
.
💥 🚒 Problem & solutions
For the sake of consistency with the other package types upload routes:
- Remove the
-/
section - Accept uploads on
packages/debian/
instead ofpackages/debian/incoming/
.
Why consistency matters?
The request can go through architectural components that will need to analyze the request. By having consistency, it's easier in those components to filter out urls.
Here is an example of a change following a consistency breaking change: gitlab-cookbooks/gitlab-haproxy!263 (merged)
Edited by David Fernandez