Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7781

Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision

Path csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!bofh.it!news.nic.it!robomod
From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision
Date Sat, 24 Oct 2015 01:10:02 +0200
Message-ID <qmTDc-7pq-13@gated-at.bofh.it> (permalink)
References <qmPzB-1ob-39@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Oct 23 23:03:25 2015
Old-Return-Path <brian@linuxpenguins.xyz>
X-Amavis-Spam-Status No, score=-5.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Organization Debian
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13093
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8737x1jihy.fsf@prune.linuxpenguins.xyz
Approved robomod@news.nic.it
Lines 41
Sender robomod@news.nic.it
X-Original-Date Sat, 24 Oct 2015 10:02:49 +1100
X-Original-Message-ID <8737x1jihy.fsf@prune.linuxpenguins.xyz>
X-Original-References <CAGstE8BJZUzGD4Fc86cpA=me3nkU1X3W4OAYB0LscR-VS9aWVw@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:7781

Show key headers only | View raw


Ludovic Rousseau <ludovic.rousseau@gmail.com> writes:

> I tried to update my package pykcs11 since the repository moved from SVN to
> git.
> http://anonscm.debian.org/cgit/python-modules/packages/pykcs11.git/
>
> I imported a new upstream .orig.tar.gz version as descibed in
> https://wiki.debian.org/Python/GitPackaging#New_upstream_release
> and could build and upload the package without problem.
>
> Now the command "git-dpm status" fails with:
> $ git-dpm status
> git-dpm: ERROR: 'upstream' does not contain previously recorded revision
> '8234fc2de2b89d65661233b357f922494590b5aa'!

At a guess, it looks like you didn't push the upstream or the
prestine-tar branches to git.debian.org. git-dpm requires all branches
to be pushed, not just master.

git push --all

i.e. pykcs11_1.3.0.orig.tar.gz isn't in prestine-tar, and the upstream
branch should point to the latest upstream import
'8234fc2de2b89d65661233b357f922494590b5aa' but doesn't.

However this shouldn't have caused you errors with your working
directory unless you deleted your working directory and cloned again
from git.debian.org.

> and also
> $ git-dpm tag
> git-dpm: ERROR: 'upstream' differs from recorded one!

This is a known bug with git-dpm. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801548.

Until it is fixed, the best work around seems to be to create the tags
manually, at least until you import a new upstream version. Then the
problem will go away.
-- 
Brian May <bam@debian.org>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-23 20:50 +0200
  Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Brian May <bam@debian.org> - 2015-10-24 01:10 +0200
    Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-24 12:20 +0200
      Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Scott Kitterman <debian@kitterman.com> - 2015-10-24 19:50 +0200
        Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Ludovic Rousseau <ludovic.rousseau@gmail.com> - 2015-10-24 21:10 +0200
      Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Brian May <bam@debian.org> - 2015-10-25 08:50 +0100

csiph-web