Re: git do bogofilter

Antonio Terceiro <[email protected]> Fri, 3 Jun 2016 07:45:50 -0300
Newsgroups gmane.linux.debian.devel.portuguese
Message-ID <[email protected]>
On Thu, Jun 02, 2016 at 04:58:52PM -0300, Herbert Fortes wrote:
> 
> Melhor perguntar que bagunçar o repositório.
> 
> > > > Fiz:
> > > >  - git checkout master
> > > >  # por sugestão do 'gbp' a opção 'upstream-branch'
> > > >  - gbp import-dsc --pristine-tar --upstream-branch=master ../bogofilter_1.2.4%2Bdfsg1-5.dsc
> > > 
> > > não tá certo: o branch upstream é pra ser um branch separado só com o
> > > conteúdo do tarnall upstream mesmo. acho que o mantenedor anterior nunca
> > > deu push desse branch, você pode criar fazendo
> > > 
> > > 	git branch upstream <TAG-UPSTREAM-MAIS-RECENTE>
> > > 	git push origin upstream -u
> 
> Sobre a tag-upstream-mais-recente.
> 
> > > 
> [...]
> > > >         upstream/1.2.0
> > > >         upstream/1.2.1
> > > >         upstream/1.2.2
> > > >         upstream/1.2.2.dfsg1
> > > >         upstream/1.2.3
> > > >         upstream/1.2.4
> > > >         upstream/1.2.4+dfsg1
> 
> Após um 'git tag' no terminal tenho:
> 
> upstream/1.2.4
> upstream/1.2.4+dfsg1
> 
> A mais recente: upstream/1.2.4+dfsg1
> 
> No browser:
> 
> debian/1.2.4+dfsg1-3	commit 53c751b25a...	Serafeim Zanikolas	2 years
> debian/1.2.4+dfsg1-2	commit 2509f24856...	Serafeim Zanikolas	3 years
> debian/1.2.4+dfsg1-1	commit 12168c21aa...	Serafeim Zanikolas	3 years
> upstream/1.2.4	        commit 46922ecc45...	Serafeim Zanikolas	3 years
> 
> A mais recente: upstream/1.2.4
> 
> 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?

pra saber qual realmente é a mais recente, você tem que ver qual das
duas tem commits a mais que a outra. por exemplo qual o resultado de

	git show-branch upstream/1.2.4+dfsg1 upstream/1.2.4

?
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXUV/eAAoJEPwNsbvNRgveMGcP/2x1ytCqkYvrgf3R4oI8/FJm
W5JCV1UXbOPOMbhkgw/bZv0rUTSTDqZHKoP1iPBirttP23/QrX8t79Eu/3gJ5573
uK3R3DQJbtRvBoe+zHaibPymWPWqcwF7FhTcGsnCjRjBhcgASHyNQ/pJIbERGiiq
Z9xB3Z5rskAo9s5v+oKeSz4e3lLfbeawoeJn9005HBf7Jf9bZWvFgce1YGaeKArk
MoO6v0b/+zXe8rG1qTldzbnMH8isstIfGn99d7FuLe67+/gENLctX0ikqX1Fy0vX
j5ExmAth5Qhzr591AVQ5IzHcDxhSYokgK9glHpuX5wfK3NtbHg8PspB7pRM8LauR
Y9aNlqFEwzE5lco4O3YFTAD6wQEWikRESX1wbPv1l/XMWhyde83JdcJAPRV7465F
y8E/KlgooJWJ4bgmD4ixCRuKMEFh/hWfhDDQQO63ayjNvqyzJ8UIk5XVDdJLJe6h
MlMhW3Z6iYwBwrF8HnylFBMyRGuyMsdTn3VFt7/NOZcyK2Adf/lVs2UQszUCPrnW
txau6Wpb2AhMOQ4ABJnZKy9yWrNbNPdcffnqlpla4SxV9lPSRsuRDXShzQ+IW4Eu
ISm7lLHcSpGL0/wM7V7wBZ4zUlZZpV8vx8LrmVSckXInqKHx0czX62hjty5EtoKg
KLP/AFeqfRN4rWJDumy9
=T7wx
-----END PGP SIGNATURE-----