Hi, On Mon, Nov 20, 2017 at 02:09:43AM +0100, Andreas Beckmann wrote: > Package: git-buildpackage > Version: 0.9.3 > Severity: normal > > Hi, > > after cloning a repository with debcheckout, I'm missing the upstream > and pristine-tar branches. It would be nice to have an option for gbp > pull to set up these missing tracking branches. (upstream branch name > should of course depend on debian/gbp.conf)
This is imho a bug in debcheckout. Use gbp-clone and you're all set. > And maybe even better: obsolete debcheckout usage by adding something > like > > gbp clone [-a] <sourcepackagename> > > using the repository information from Vcs-Git in Sources, s.t. > I don't have to lookup the URL myself. Don't forget that there could > be branch information in Vcs-Git. Should also support URL rewriting from > anonymous to authenticated like debcheckout -a. -a is indeed something that could be added. > > > And maybe add some option to gbp pull or gbp push to rewrite the > repository URL from anonymous to authenticated, to allow pushing even if > one forgot the '-a' option to the initial debcheckout / gbp clone. Cheers, -- Guido > > > Andreas > > PS: please clone to as many bugs as you want :-) >