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


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

Re: Git, gbp blues

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Git, gbp blues
Date Sun, 25 Aug 2019 22:20:01 +0200
Message-ID <yz79v-362-1@gated-at.bofh.it> (permalink)
References <yz6Gt-2Fh-3@gated-at.bofh.it> <yz6Qa-2IP-15@gated-at.bofh.it> <yz6ZQ-32C-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Aug 25 20:19:55 2019
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.636 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.406] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lj1-f193.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PJKj6xkqj6IAM+pP1dfSeTZgNgOedvDeurw2ZHLen7M=; b=sR3fpADsDQgB7Hbvxi8lgMdvIwFObQt1UWX+zaK1AcwI8kbyq9LT+N5ROYpW6hFG9v C3JcbjUydG3FRt56lb00ghO+2WeBkYc8GsFR+AKKmxbDLo6p3g/FkX7xmp1FdJ6vvt1+ G7YY3XhhyxeVvktQatfql4nzRovvNG4lwsKWF+aPwVV8o/MVSyhO8vLCnI96/A8jkHqV WGKOsArcV7Uv+TVaGizJ/Jbe5BX0ELitfdAVNiVgqTIUv4JcDx0c91r8rTwr75xnah5m E5zUFB8St/Z1N3zMTvkOpZTKw2tHolHEUOBDl1BDg2Eoc+MEAYt1wgDUn0xoZocEm1HD p0Zw==
X-Gm-Message-State APjAAAUHUa8msFeTsBgduiTiVYMZf/oCzIuznXaRfLNaEh3nDwc67JsH W6Slvhv64xjpk7rCJ60zXW0=
X-Google-SMTP-Source APXvYqxXvfiAlARcoDxgJE+yuJ8CyCw4b4GSSJekBiEHMmBHeRG4vOB5bWzPZLYwO5F5izoMDx+7ug==
X-Received by 2002:a2e:29cb:: with SMTP id p72mr8701100ljp.31.1566764381686; Sun, 25 Aug 2019 13:19:41 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM"
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17183
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20190825201938.GA13907@mitya57.me
Approved robomod@news.nic.it
Lines 62
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Sun, 25 Aug 2019 23:19:38 +0300
X-Original-Message-ID <20190825201938.GA13907@mitya57.me>
X-Original-References <CAOTq_2VfyvZ44BpKcG10pVgu6UETGAK8yAG38ojABQOFkjKv0w@mail.gmail.com> <20190825195005.GH1643@belkar.wrar.name> <CAOTq_2XJ4sj3gm7V8nN=Lr=BTNTTcZvAz4q8CQ=ATzRHCzfsRQ@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:11669

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Guðjón!

On Sun, Aug 25, 2019 at 10:01:02PM +0200, Guðjón Guðjónsson wrote:
> I did follow the procedure but I don't know what to do if a patch
> doesn't apply cleanly.
> I did try
> gbp pq import
> gbp:info: Trying to apply patches at 'c72f39a3a32b5e5c1eb7f9aaf7176e942e85d804'
> gbp:warning: Patch 0004-remove-logo-privacy-issue.diff.patch failed to
> apply, retrying with whitespace fixup

The correct procedure is running “gbp pq import” *before* importing a new
tarball. Then after importing you do “gbp pq rebase”.

Sometimes I myself forget to run “gbp pq import”. In this case I do the
following:

- Remember the current commit SHA1;
- git reset --hard origin/debian/master;  # or to previous tag
- gbp pq import;  # this is the needed step
- git checkout debian/master;  # back to debian/master branch
- git merge COMMIT_ID;  # that you remembered before

> But fixing the patches with quilt before importing them the second
> time seems to fix all my problems.

If it does not break the patches metadata then it also works.

--
Dmitry Shachnev

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


Thread

Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-25 21:50 +0200
  Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-25 22:00 +0200
    Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-25 22:10 +0200
      Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-08-25 22:20 +0200
        Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-26 08:30 +0200
          Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-26 08:40 +0200
        Re: Git, gbp blues Raphael Hertzog <hertzog@debian.org> - 2019-08-26 11:20 +0200
          Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-08-26 13:10 +0200
            Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-09-07 08:50 +0200
              Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-09-08 00:00 +0200
                Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-09-08 16:20 +0200
              Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-09-08 16:20 +0200
      Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-25 22:20 +0200

csiph-web