logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dpt-packagecheck - check package source for group policy consistency

Description

dptpackagecheck performs various checks of package sources and tries to correct them in accordance with
       the policies of the Debian Perl Group.

   Packageselectionoptionsdptpackagecheck can operate either on a single package, or on all packages maintained by the group.

       To run the checks on all group packages, use the -c option with working directory containing packages/
       directory.

       To run the checks on individual package, use -ppackagetop-directory, where top-directory is the
       directory containing the packages/ directory.

   Repositoryinteraction
       If the -a option is given, changes are committed to the repository by calling "mr commit".

       If the -n option is given, no changes are committed.

       If neither option is given, dptpackagecheck asks for confirmation before calling "mr commit".

       Note that "mr commit" also pushes the changes to the remote repository.

   Checkselectionoptions-A  Run all the checks.

       -V  Add/fix  "Vcs-Git"  and  "Vcs-Browser" fields in debian/control and remove "XS-Vcs-(Svn|Git|Browser)"
           fields.

       -H  Add "Homepage" field to debian/control and remove "Homepage" pseudo-field.

       -M  Check  the  "Maintainer"  field  of  debian/control  and  make  sure  it  is   "Debian   Perl   Group
           <pkg-perl-maintainers@lists.alioth.debian.org>".

       -Ddebian/control: add "${misc:Depends}" to "Depends".

       -ddebian/copyright:  Substitute  "Format-Specification"  URL  for DEP-5 revisions to anonscm.debian.org
           URL.

       -Pdebian/control:  substitute  occurrences  of  dependencies  like  "perl  (>=   5.6.0-{12,16})"   with
           dependencies on "perl" without a version.

       -Odebian/control: replace "perl-modules" with "perl"

       -Wdebian/watch:  change  CPAN  URLs  to  <https://metacpan.org/release/Mod-Ule>  and  update  to ignore
           developer releases

       -C  If -W is given, create debian/watch if it does not exist

       -Rdebian/rules: rmdir /usr/\{lib,share\}/perl5 only if they exist; switch "dh --with foo  \$@"  to  "dh
           \$@ --with foo"

       -Q  add debian/README.source pointing to quilt(1)'s README.source if the package uses quilt

Name

       dpt-packagecheck - check package source for group policy consistency

Synopsis

dptpackagecheck -c check-option...

       dptpackagecheck -p packagetop-directorycheck-option...

See Also