On Fri, Jun 03, 2016 at 10:47:17AM -0300, Herbert Fortes wrote:
>
> > > Upstream de verdade é 'upstream/1.2.4'. Sem alterações feitas
> > > pelo Debian. Correto ?
> >
> > não necessariamente, depende de como o tarball foi importado. se vc
> > filtra o tarball, normalmente vc vai importar o tarball com uma versão
> > +dfsgN etc, ou se vc importa o tarball direto e depois filtra no git,
> > você teria as duas variantes.
> >
> > eu clonei o repo aqui e não tem essa tag upstream/1.2.4+dfsg1 ... vc
> > criou ela localmente?
>
> Não conscientemente. Li as mensagens agora. Fiz o clone e:
>
> $ git branch upstream 1.2.4
> fatal: Not a valid object name: '1.2.4'.
> $ git branch upstream upstream/1.2.4
^ aqui você está criando um branch e não uma tag.
> $ git push origin upstream -u
> Total 0 (delta 0), reused 0 (delta 0)
> remote: error: unable to update info/refs+
> To ssh://hpfn-gu...@git.debian.org/git/collab-maint/bogofilter.git
> * [new branch] upstream -> upstream
> Branch upstream set up to track remote branch upstream from origin.
>
> E ai o que estou acostumado:
>
> git checkout upstream
> git checkout master
> # Aqui
> $gbp import-dsc --pristine-tar --debian-branch=master
> ../bogofilter_1.2.4%2Bdfsg1-5.dsc
> gbp:info: Tag upstream/1.2.4+dfsg1 not found, importing Upstream tarball
> gbp:info: Version '1.2.4+dfsg1-5' imported under 'bogofilter'
>
> Eu criei. Tenho que incluir o tarball do upstream separadamente
em principio o `gbp import-dsc` já faz tudo que precisa
signature.asc
Description: PGP signature