Debian package registry: merge similar services
🔥 Problem
See !111027 (comment 1325182933).
We changed the debian uniqueness in !111027 (merged) and pushed down a UNIQUE
constraint in the database.
At that time, it was noticed that these two services:
ProcessPackageFileService
ProcessChangesService
are similar.
🚒 Solution
- Merge both services if possible
- while at it, explore if we could use an exclusive lease on the package name + version that would protect the "read or insert" logic.