Skip to content

Create debian package class

Dzmitry Meshcharakou requested to merge 435831-create-debian-package-class into master

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 the Packages::Package class and assigning package_type to debian, or using the Packages::Package class with the class method debian
  • 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 general Packages::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

Edited by Dzmitry Meshcharakou

Merge request reports