Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Ludovic Rousseau Newsgroups: linux.debian.maint.python Subject: Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision Date: Sat, 24 Oct 2015 21:10:01 +0200 Message-ID: References: X-Original-To: Scott Kitterman X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Oct 24 19:01:27 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JSz3MjOH2ARvzvQPoOWJ9rgR0JUj6hKK1bKOPSKnm4Y=; b=TPQHGHfOdEfn3iY3r8tdppUfZKpvjXneakHaY84+4K2OS8T9d0eF7/uYkgbLJ7jhIQ ektlZ4hyP3GuRPiw9qpKAWF6ODg0+3xK4PGHth08tS753NNLmawLLU80ta6IdrHFyoaz O+rBvZDvziXm6p4V0VLqecOrHwetQnAmgM4tudTrWwAUtSYIQAG622/OaTNooos8jIfQ wRM/td/H2mVnOLQeB2ApHZZL3CdpQOo89sIyibqeTpvIlAI/2DjRU9wjO2MDaC0Qkv7T hrb83dDfUy4Ui3rs2V0vbMX4JkT8ZldZ1wD+90EMbSzViwJjzmnLA6gVAhGgvpS+47ov dECQ== X-Received: by 10.112.205.194 with SMTP id li2mr5379206lbc.75.1445713270695; Sat, 24 Oct 2015 12:01:10 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3ce56f26b9b0522de59a9 X-Mailing-List: archive/latest/13099 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAGstE8Ch2oNaRw0POteJTBek3AtewCL7D0K23Xoqesx08FAW8w@mail.gmail.com Approved: robomod@news.nic.it Lines: 120 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sat, 24 Oct 2015 21:00:56 +0200 X-Original-Message-ID: X-Original-References: <8737x1jihy.fsf@prune.linuxpenguins.xyz> <2888133.KROyDLtRb8@kitterma-e6430> Xref: csiph.com linux.debian.maint.python:7787 --001a11c3ce56f26b9b0522de59a9 Content-Type: text/plain; charset=UTF-8 2015-10-24 19:42 GMT+02:00 Scott Kitterman : > On Saturday, October 24, 2015 12:11:14 PM Ludovic Rousseau wrote: > > 2015-10-24 1:02 GMT+02:00 Brian May : > > > Ludovic Rousseau 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 > > > > Ah. > > Maybe this should be added in the documentation > > https://wiki.debian.org/Python/GitPackaging > ... > > I looks like the repo is back in order. > > I will see if I have problems the next time I update the package. > ... > > Please feel free to update the wiki based on your experience. > Good idea. Done in the "New upstream release" chapter. https://wiki.debian.org/Python/GitPackaging#New_upstream_release Maybe that is not the best place. Bye -- Dr. Ludovic Rousseau --001a11c3ce56f26b9b0522de59a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2015= -10-24 19:42 GMT+02:00 Scott Kitterman <debian@kitterman.com>:
On Saturday, October 24, 2015 12:11:14 PM Ludovic Rousseau wrote:
> 2015-10-24 1:02 GMT+02:00 Brian May <bam@debian.org>:
> > Ludovic Rousseau <ludovic.rousseau@gmail.com> writes:
> > > I tried to update my package pykcs11 since the repository mo= ved from SVN
> >
> > to
> >
> > > git.
> > > http://anonscm.deb= ian.org/cgit/python-modules/packages/pykcs11.git/
> > >
> > > I imported a new upstream .orig.tar.gz version as descibed i= n
> > > https://wiki.debian.o= rg/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 previous= ly 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 bra= nches
> > to be pushed, not just master.
> >
> > git push --all
>
> Ah.
> Maybe this should be added in the documentation
> https://wiki.debian.org/Python/GitPackaging
...
> I looks like the repo is back in order.
> I will see if I have problems the next time I update the package.
...

Please feel free to update the wiki based on your experience.

Good idea.
Done in the "New upstr= eam release" chapter.
https://wiki.debian.org/Python/GitPackaging= #New_upstream_release

Maybe that is not the best plac= e.

Bye
--
=C2=A0Dr. Ludovic Rousseau
--001a11c3ce56f26b9b0522de59a9--