Dpkg::Control::Types: Add aliases for type enumerations
commite2ea6529c426ed18ae3ecc67785f2665e762f4b1
authorGuillem Jover <guillem@debian.org>
Tue, 12 Dec 2023 22:58:49 +0000 (12 23:58 +0100)
committerGuillem Jover <guillem@debian.org>
Tue, 12 Dec 2023 22:58:49 +0000 (12 23:58 +0100)
treedf2e73c5470e0d5850994faf174797d81cb63536
parentb3bb15c52389a5f24689887a2f8b39e1b1408916
Dpkg::Control::Types: Add aliases for type enumerations

Refer to the debian/control file as the template file (CTRL_TMPL_
prefix). Refer to .dsc and .deb as CTRL_DSC and CTRL_DEB, as using
the CTRL_PKG_ prefix is very confusing given that we use _PKG to
denote binary package types. Refer to the Packages and Sources
repository indices using the CTRL_REPO_ prefix, as the CTRL_INFO_
prefix is rather confusing.
14 files changed:
scripts/Dpkg/Control.pm
scripts/Dpkg/Control/FieldsCore.pm
scripts/Dpkg/Control/Info.pm
scripts/Dpkg/Control/Types.pm
scripts/Dpkg/Index.pm
scripts/Dpkg/Source/Package.pm
scripts/dpkg-genchanges.pl
scripts/dpkg-gencontrol.pl
scripts/dpkg-name.pl
scripts/dpkg-scanpackages.pl
scripts/dpkg-scansources.pl
scripts/t/Dpkg_BuildAPI.t
scripts/t/Dpkg_Control.t
scripts/t/Dpkg_Control_Fields.t