Article View: linux.debian.bugs.dist
Article #2375Bug#1029599: gbp: Permit to run merge step alone after gbp import-orig --no-merge
From: Emilio Pozuelo Monfort
Date: Tue, 27 Oct 2026 14:40
Date: Tue, 27 Oct 2026 14:40
62 lines
5580 bytes
5580 bytes
On Wed, 25 Jan 2023 10:24:29 +0100 Fab Stz <fabstz-it@yahoo.fr> wrote: > Package: gbp > Version: git-buildpackage > Severity: normal > > Dear Maintainer, > > In my repo, there are various vendor branches, the upstream & pristine-tar > branches. > > Let's say each vendor doesn't update to the latest upstream version at the > same time. > > So the first one import the new upstream version runs: > > gbp import-orig --uscan --no-merge --pristine-tar > > But after that it is not possible to easily update the vendor branches with a > given version that is now in upstream/* & pristine-tar > > Would it be possible to support a command in gbp import-orig to just run the > "merge" step at the time each vendor branch wants it? > > I looked at the verbose output of git merge and there are rather a lot of > command to do this manually. > > gbp:info: source package is freefilesync > gbp:info: upstream version is 12.0 > gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream/latest'] > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream/latest'] > gbp:debug: ['git', 'add', '-f', '.'] > gbp:debug: ['git', 'write-tree'] > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream/latest'] > gbp:debug: ['git', 'commit-tree', '27314593587b7b431c0f7e0e400a6d11390c0214', > '-p', '8dadd1b9fd4fb3a53ff2357ffffeb3e7f6a602a8'] > gbp:debug: ['git', 'update-ref', '-m', 'gbp: new upstream version 12.0', > 'refs/heads/upstream/latest', '9f1e58d1da285e68cb26b9ea1527f22e590f80b1', > '8dadd1b9fd4fb3a53ff2357ffffeb3e7f6a602a8'] > gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar'] > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'pristine-tar'] > gbp:debug: ['git', 'ls-tree', '-z', 'upstream/latest', '--'] > gbp:debug: ['git', 'mktree', '-z'] > gbp:debug: pristine-tar [] ['commit', '../freefilesync_12.0.orig.tar.xz', > '27314593587b7b431c0f7e0e400a6d11390c0214'] > gbp:debug: ['git', 'tag', '-m', 'upstream version 12.0', 'upstream/12.0', > '9f1e58d1da285e68cb26b9ea1527f22e590f80b1'] > gbp:debug: ['git', 'symbolic-ref', 'head'] > gbp:debug: ['git', 'show-ref', 'refs/heads/debian/latest'] > gbp:debug: rm ['-rf', '../tmptg4x81j5'] [] > gbp:info: successfully imported version 12.0 of > ../freefilesync_12.0.orig.tar.xz > > > I also tried: > > git merge --strategy recursive --strategy-option theirs upstream/latest Looks like it can now be done with: $ gbp import-ref $upstream_tag -u$version --debian-branch=$branch Cheers, Emilio
Technical Details
Message-ID:
<NSQvf-8fCH-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<NSQvf-8fCH-7@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Emilio Pozuelo Monfort <pochu@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1029599: gbp: Permit to run merge step alone after gbp import-orig --no-merge
Date: Tue, 27 Oct 2026 15:40:01 +0100
Message-ID: <NSQvf-8fCH-5@gated-at.bofh.it>
References: <NSQvf-8fCH-7@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it> <NSQvf-8fCH-9@gated-at.bofh.it>
X-Original-To: 1029599@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Oct 27 14:35:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Emilio Pozuelo Monfort <pochu@debian.org>, 1029599@bugs.debian.org
Original-Sender: Emilio Pozuelo Monfort <pochu27@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: agx@sigxcpu.org
X-Debian-Pr-Message: followup 1029599
X-Debian-Pr-Package: git-buildpackage
X-Debian-Pr-Source: git-buildpackage
X-Gm-Message-State: AFq9FYIjTmGUFESwSwHjQcgVNkwN34rYuqX4EavhYH2jUb7JSPFtuOXi
ifsrWoFot3pIuawWPGk0cntKLFm8/bo+YlNeBas1B1+8qLVemTCxzmM0Vdoldw==
X-Gm-Gg: AYBFou10cJSuzVgBWkRIe2vaHrEcpKYGzoTUnCdPMeqBMp8rnchVuW7uCwMtcDMw8JG
dKDdDkr8Nt5rQOZJbl0OMgiYgxYQmMBaR4WsoSJAaMnR/ipXSzgl7JX8/xggZnoYZNqX2eOwdOT
Xg8SYcMFprZuMpUxxSsDT3IbSj8N/G633kPf+htT59WKgAZIL72wcrq6x2sAX2T5kFii4jxPe2e
Kyb1BOPztzLKBUcf64bCsCcMI59zw9no/ruJLkbnT7tAIzy8HxAHhBOcDXK8rMxU2VGpZyMIfAz
gXUDczFxXQHdusi/L2P5ssRv7wAB5TuI/gNaggtBEe/LH+UeCx2oshcUVZOguhh+T+OG6QE+5xi
LqxlGN038bo/eGy8KAvaCbGS6v5SFqUK5meV+bf+dy0TrYMQE188+GrZw8MxHkM6588HRchD+QB
nWl//4anCqPmd/baTpNcbMABnitXf3estnaSL4vGIF474Qm+X5bGsLWhUCBUPybC3V1m7bPKLZY
K053s26CohKE0qXuAjSA8DrwSIsi5AjSC4xhYQnhrUPHyzCPmwEu9ZroK7Z4X2ngOYtOqfAQL2U
tQ==
X-Received: by 2002:a17:907:9d1a:b0:c1f:983f:d8a with SMTP id a640c23a62f3a-c46bdc10c62mr1021802166b.24.1793111623482;
Tue, 27 Oct 2026 07:33:43 -0700 (PDT)
Sender: robomod@news.nic.it
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999214
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 62
Organization: linux.* mail to news gateway
X-Original-Date: Tue, 27 Oct 2026 15:33:39 +0100
X-Original-Message-ID: <4063d46e-1b06-4612-8cd2-ff1bfaf5dcc6@debian.org>
X-Original-References: <7013456.3ftczBNICM.ref@debian> <7013456.3ftczBNICM@debian> <7013456.3ftczBNICM@debian> <7013456.3ftczBNICM@debian>
X-Original-Sender: Emilio Pozuelo Monfort <pochu27@gmail.com>