Re: Problems to import origtar with gbp import-orig (Was: ncbi-blast+ new upstream version git import merge error)
On 12/01/2016 04:36 PM, Andreas Tille wrote: > On Thu, Dec 01, 2016 at 07:21:32PM +0500, Andrey Rahmatullin wrote: >> As there is not enough data in the message, I'm assuming it's about the >> published repo. >> The upstream/2.4.0 tag is not merged into master so the debian/2.4.0-* >> tags are not its descendants. This will not work properly. >> Try merging that tag into master now, before importing the new version, >> this will probably help. In my case, trying with the replace option for the merge worked, code is "ok" with build. I gonna go with this option, but would be nice to have merge issues displayed (or saved in a file) Olivier >> >>> I can confirm the very same observation in another case ncbi-tools6[1]: >>> >>> $ TMPDIR=/var/tmp gbp import-orig --pristine-tar >>> ../ncbi-tools6_6.1.20160908.orig.tar.gz >>> Make sure we use sid config >>> What is the upstream version? [6.1.20160908] >>> gbp:info: Importing >>> '/home/tillea/debian-maintain/alioth/debian-med_git/ncbi-tools6_6.1.20160908.orig.tar.gz' >>> to branch 'upstream'... >>> gbp:info: Source package is ncbi-tools6 >>> gbp:info: Upstream version is 6.1.20160908 >>> gbp:info: Merging to 'master' >>> gbp:error: Automatic merge failed. >>> gbp:error: Error detected, Will roll back changes. >>> gbp:info: Rolling back branch upstream by resetting it to >>> be323245ea77f0e457e3d42c83b58a82f67ca0f2 >>> gbp:info: Rolling back branch pristine-tar by resetting it to >>> 4379fc7d56641c4c4ee7612c48385c8927fac5c8 >>> gbp:info: Rolling back tag upstream/6.1.20160908 by deleting it >>> gbp:info: Rolling back branch master by resetting it to >>> 7c27f101e5f5bcc188d55a67a5d11ead7dbbe62c >>> gbp:info: Rolling back failed merge of upstream/6.1.20160908 >>> gbp:error: Rolled back changes after import error. >>> > I tried to apply your hint to ncbi-tools6[1] but this does not change > anything: > > ncbi-tools6(master) $ LC_ALL=C git merge upstream/6.1.20120620 > Already up-to-date. > > Did I missinterpreted your hint? > > Kind regards > > Andreas. > >>> [1] https://anonscm.debian.org/git/debian-med/ncbi-tools6.git -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
Re: Problems to import origtar with gbp import-orig (Was: ncbi-blast+ new upstream version git import merge error)
On Thu, Dec 01, 2016 at 07:21:32PM +0500, Andrey Rahmatullin wrote: > As there is not enough data in the message, I'm assuming it's about the > published repo. > The upstream/2.4.0 tag is not merged into master so the debian/2.4.0-* > tags are not its descendants. This will not work properly. > Try merging that tag into master now, before importing the new version, > this will probably help. > > > I can confirm the very same observation in another case ncbi-tools6[1]: > > > > $ TMPDIR=/var/tmp gbp import-orig --pristine-tar > > ../ncbi-tools6_6.1.20160908.orig.tar.gz > > Make sure we use sid config > > What is the upstream version? [6.1.20160908] > > gbp:info: Importing > > '/home/tillea/debian-maintain/alioth/debian-med_git/ncbi-tools6_6.1.20160908.orig.tar.gz' > > to branch 'upstream'... > > gbp:info: Source package is ncbi-tools6 > > gbp:info: Upstream version is 6.1.20160908 > > gbp:info: Merging to 'master' > > gbp:error: Automatic merge failed. > > gbp:error: Error detected, Will roll back changes. > > gbp:info: Rolling back branch upstream by resetting it to > > be323245ea77f0e457e3d42c83b58a82f67ca0f2 > > gbp:info: Rolling back branch pristine-tar by resetting it to > > 4379fc7d56641c4c4ee7612c48385c8927fac5c8 > > gbp:info: Rolling back tag upstream/6.1.20160908 by deleting it > > gbp:info: Rolling back branch master by resetting it to > > 7c27f101e5f5bcc188d55a67a5d11ead7dbbe62c > > gbp:info: Rolling back failed merge of upstream/6.1.20160908 > > gbp:error: Rolled back changes after import error. > > I tried to apply your hint to ncbi-tools6[1] but this does not change anything: ncbi-tools6(master) $ LC_ALL=C git merge upstream/6.1.20120620 Already up-to-date. Did I missinterpreted your hint? Kind regards Andreas. > > [1] https://anonscm.debian.org/git/debian-med/ncbi-tools6.git -- http://fam-tille.de
Problems to import origtar with gbp import-orig (Was: ncbi-blast+ new upstream version git import merge error)
Hi, forwarding issue to debian-mentors On Thu, Dec 01, 2016 at 01:37:04PM +, olivier sallou wrote: > HI, > I have updated (locally) patches for the new release of ncbi-blast+. > However I face an error during import of new sources in git: > > gbp import-orig --pristine-tar ../ncbi-blast+_2.5.0.orig.tar.gz > > Upstream version is 2.5.0 > Merging to 'master' > Automatic merge failed > Error detected, will roll back changes > .. > > This is the first time I face this. > How can I "force" the import of the sources? Or do you know why/how it can > occurs? I can confirm the very same observation in another case ncbi-tools6[1]: $ TMPDIR=/var/tmp gbp import-orig --pristine-tar ../ncbi-tools6_6.1.20160908.orig.tar.gz Make sure we use sid config What is the upstream version? [6.1.20160908] gbp:info: Importing '/home/tillea/debian-maintain/alioth/debian-med_git/ncbi-tools6_6.1.20160908.orig.tar.gz' to branch 'upstream'... gbp:info: Source package is ncbi-tools6 gbp:info: Upstream version is 6.1.20160908 gbp:info: Merging to 'master' gbp:error: Automatic merge failed. gbp:error: Error detected, Will roll back changes. gbp:info: Rolling back branch upstream by resetting it to be323245ea77f0e457e3d42c83b58a82f67ca0f2 gbp:info: Rolling back branch pristine-tar by resetting it to 4379fc7d56641c4c4ee7612c48385c8927fac5c8 gbp:info: Rolling back tag upstream/6.1.20160908 by deleting it gbp:info: Rolling back branch master by resetting it to 7c27f101e5f5bcc188d55a67a5d11ead7dbbe62c gbp:info: Rolling back failed merge of upstream/6.1.20160908 gbp:error: Rolled back changes after import error. Any hints? Kind regards Andreas. [1] https://anonscm.debian.org/git/debian-med/ncbi-tools6.git -- http://fam-tille.de
Re: ncbi-blast+ new upstream version git import merge error
Hi Olivier, On Thu, Dec 01, 2016 at 02:39:49PM +0100, Olivier Sallou wrote: > On 12/01/2016 02:37 PM, olivier sallou wrote: > > HI, > > I have updated (locally) patches for the new release of ncbi-blast+. > > However I face an error during import of new sources in git: > > > > gbp import-orig --pristine-tar ../ncbi-blast+_2.5.0.orig.tar.gz > > > > Upstream version is 2.5.0 > > Merging to 'master' > > Automatic merge failed > > Error detected, will roll back changes > > .. I can confirm I observed this yesterday as well the first time in the case of r-cran-yaml. Luckily the intended import was unusable anyway so finally I did not need to import the tarball in question and I did not need to track this down further. > > This is the first time I face this. > > How can I "force" the import of the sources? Or do you know why/how it > > can occurs? > There is an option --merge-mode=[merge|replace] but is it safe to use > replace ? There is no info on merge issues. If there will be no answer here I'd ask on Debian mentors list. Please share the result here if there is any. Kind regards Andreas. -- http://fam-tille.de
Re: ncbi-blast+ new upstream version git import merge error
On 12/01/2016 02:37 PM, olivier sallou wrote: > HI, > I have updated (locally) patches for the new release of ncbi-blast+. > However I face an error during import of new sources in git: > > gbp import-orig --pristine-tar ../ncbi-blast+_2.5.0.orig.tar.gz > > Upstream version is 2.5.0 > Merging to 'master' > Automatic merge failed > Error detected, will roll back changes > .. > > This is the first time I face this. > How can I "force" the import of the sources? Or do you know why/how it > can occurs? There is an option --merge-mode=[merge|replace] but is it safe to use replace ? There is no info on merge issues. > > Thanks > > Olivier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
ncbi-blast+ new upstream version git import merge error
HI, I have updated (locally) patches for the new release of ncbi-blast+. However I face an error during import of new sources in git: gbp import-orig --pristine-tar ../ncbi-blast+_2.5.0.orig.tar.gz Upstream version is 2.5.0 Merging to 'master' Automatic merge failed Error detected, will roll back changes .. This is the first time I face this. How can I "force" the import of the sources? Or do you know why/how it can occurs? Thanks Olivier