tag 984516 pending
thanks

Date:   Thu Mar 4 21:23:48 2021 +0700
Author: Arnaud Rebillout <arna...@kali.org>
Commit ID: abce93c865b6592aaa3940bde7db776af8e98604
Commit URL: 
https://git.sigxcpu.org/cgit/git-buildpackage//commit/?id=abce93c865b6592aaa3940bde7db776af8e98604
Patch URL: 
https://git.sigxcpu.org/cgit/git-buildpackage//patch/?id=abce93c865b6592aaa3940bde7db776af8e98604

    import-dsc: Fix error message when missing debian branch

    The error message mistakenly talks about the upstream branch when it
    should be talking about the debian branch. Logs:

            # initial failure
            $ gbp import-dsc apt:desktop-base/sid
            gbp:info: Downloading 'desktop-base/sid' using 'apt-get'...
            gbp:info: Tag 11.0.2 not found, importing Debian tarball
            gbp:error:
            Repository does not have branch 'master' for upstream sources. If 
there is none see
            
file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT
            on howto create it otherwise use --upstream-branch to specify it.

            Also check the --create-missing-branches option.

            # trying as suggested
            $ gbp import-dsc --upstream-branch=debian apt:desktop-base/sid
            gbp:info: Downloading 'desktop-base/sid' using 'apt-get'...
            gbp:info: Tag 11.0.2 not found, importing Debian tarball
            gbp:error:
            Repository does not have branch 'master' for upstream sources. If 
there is none see
            
file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT
            on howto create it otherwise use --upstream-branch to specify it.

            Also check the --create-missing-branches option.

            # in fact it's the debian branch!
            $ gbp import-dsc --debian-branch=debian apt:desktop-base/sid
            gbp:info: Downloading 'desktop-base/sid' using 'apt-get'...
            gbp:info: Tag 11.0.2 not found, importing Debian tarball
            gbp:info: Version '11.0.2' imported under 
'/home/user/src/desktop-base'

    Closes: #984516

      

Reply via email to