Create debian package class
Context
Step by step we want to complete the refactoring and extract every package format from Packages::Package
to its own class.
What does this MR do and why?
This MR introduces Packages::Debian::Package
class for debian packages.
Debian package registry is in alpha https://docs.gitlab.com/ee/user/packages/debian_repository
Important changes:
- The MR adds the
Packages::Debian::Package
class that is supposed to be used when dealing with the debian package(s) instead of using thePackages::Package
class and assigningpackage_type
todebian
, or using thePackages::Package
class with the class methoddebian
- The MR renames a couple of methods and removes redundant
debian
prefix. I believe it was necessary to have such prefix when the methods were defined in the generalPackages::Package
class but not anymore.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #435831