Re: git do bogofilter
On Sat, Jun 04, 2016 at 01:12:50PM -0300, Herbert Fortes wrote: > > Eu poderia criar a tag '+dfsg'-4' logo após > clonar o repositório. Seria o passo que faltou > anteriormente. > > E após isso fazer as mudanças. > > > tar -xvf ..bogofilter*.debian.tar.xz > > git add debian > > git status > > # preguiça ? > > git commit -am "debian revision 5" > > git branch > > git tag debian/1.2.4+dfsg1-5 > > git tag # visualmente bom funciona também signature.asc Description: PGP signature
Re: git do bogofilter
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
Re: git do bogofilter
Eu poderia criar a tag '+dfsg'-4' logo após clonar o repositório. Seria o passo que faltou anteriormente. E após isso fazer as mudanças. > tar -xvf ..bogofilter*.debian.tar.xz > git add debian > git status > # preguiça ? > git commit -am "debian revision 5" > git branch > git tag debian/1.2.4+dfsg1-5 > git tag # visualmente bom > abraço, -- Herbert Parentes Fortes Neto (hpfn)
Re: git do bogofilter
> > 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 $ 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 então ? Re-edit. Incluir o diretório debian separadamente. > > 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 > > ? $ git show-branch upstream/1.2.4+dfsg1 upstream/1.2.4 ! [upstream/1.2.4+dfsg1] Imported Upstream version 1.2.4+dfsg1 ! [upstream/1.2.4] Imported Upstream version 1.2.4 -- + [upstream/1.2.4+dfsg1] Imported Upstream version 1.2.4+dfsg1 ++ [upstream/1.2.4] Imported Upstream version 1.2.4 abraço, -- Herbert Parentes Fortes Neto (hpfn)
Re: git do bogofilter
> Re-edit. Incluir o diretório debian separadamente. O que fiz: clone repo cd bogofilter tar -xvf ..bogofilter*.debian.tar.xz git add debian git status # preguiça ? git commit -am "debian revision 5" git branch git tag debian/1.2.4+dfsg1-5 git tag # visualmente bom abraço, -- Herbert Parentes Fortes Neto (hpfn)
Re: git do bogofilter
On Wed, Jun 01, 2016 at 11:45:50AM -0300, Herbert Fortes wrote: > Olá, > > Quero atualizar o repositório do Bogofilter. > O pacote está órfão e fiz os dois úlitmos > uploads do pacote. > > O repositório[0] só tem uma branch - 'master'. > > [0] - https://anonscm.debian.org/git/collab-maint/bogofilter.git > > 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 git push origin upstream -u > - git branch >* master >pristine-tar > - git tag > [...] > debian/1.2.2-1 > debian/1.2.2-2 > debian/1.2.2-2+squeeze1 > debian/1.2.2-3 > debian/1.2.4+dfsg1-1 > debian/1.2.4+dfsg1-2 > debian/1.2.4+dfsg1-3 > debian/1.2.4+dfsg1-5 <- Fiz essa. Falta a dfsg1-6. > rm > 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 > > A dfsg-4 não aparece, mas vendo pelo web browser está > lá: > > BranchCommit message Author Age > masterdebian/1.2.4+dfsg1-4Serafeim Zanikolas 6 months > > AgeCommit message Author > 2015-12-06debian/1.2.4+dfsg1-4 HEAD master Serafeim Zanikolas > > Fazendo o 'git clone', tenho o debian/changelog de 'dfsg-4'. > > O que está errado ? o Serafeim colocou 'debian/1.2.4+dfsg1-4' como __mensagem de commit__ mas nunca criou a tag propriamente dita signature.asc Description: PGP signature