Package: git-debpush
Version: 12.4

According to git-debpush(1), under "SETUP FOR SOURCE FORMAT 1.0":

       ... We do this using debian/source/options.  If your package is
       non-native, execute

           % echo "-sn" >>debian/source/options

       If your package is native, execute

           % echo "-sk" >>debian/source/options

But that seems to be backwards.  The code in git-debpush itself does:

        if get_file_from_ref debian/source/options | grep -q '^-sn *$'; then
            upstream=false
        elif get_file_from_ref debian/source/options | grep -q '^-sk *$'; then
            upstream=true

And that corresponds with the definitions of those options in dpkg-source(1):

       -sk Specifies to expect the original source as a tarfile ...

       -sn Specifies to not look for any original source, ...

So I think the man page should recommend "-sn" for native packages, and "-sk" for non-native packages.

--
Ben Harris

Reply via email to