This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=6e18caebc09e8c9007f129616864c3765301ff50 commit 6e18caebc09e8c9007f129616864c3765301ff50 Author: Guillem Jover <[email protected]> AuthorDate: Tue Dec 21 23:34:16 2021 +0100 Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable --- scripts/Dpkg/Control/FieldsCore.pm | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index e6aab7bf2..a034d1a31 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -603,6 +603,18 @@ our %FIELDS = ( }, ); +my @src_vcs_fields = qw( + vcs-browser + vcs-arch + vcs-bzr + vcs-cvs + vcs-darcs + vcs-git + vcs-hg + vcs-mtn + vcs-svn +); + my @src_dep_fields = qw( build-depends build-depends-arch @@ -648,15 +660,9 @@ our %FIELD_ORDER = ( homepage description standards-version - vcs-browser - vcs-arch - vcs-bzr - vcs-cvs - vcs-darcs - vcs-git - vcs-hg - vcs-mtn - vcs-svn + ), + @src_vcs_fields, + qw( testsuite testsuite-triggers ), @@ -716,15 +722,9 @@ our %FIELD_ORDER = ( homepage description standards-version - vcs-browser - vcs-arch - vcs-bzr - vcs-cvs - vcs-darcs - vcs-git - vcs-hg - vcs-mtn - vcs-svn + ), + @src_vcs_fields, + qw( testsuite testsuite-triggers ), -- Dpkg.Org's dpkg

