From 257ed0b02dadd4538f515807189acdd95d88c320 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Feb 2018 21:49:49 +0000 Subject: [PATCH] git-debrebase: some notes about gbp import Signed-off-by: Ian Jackson --- NOTES.git-debrebase | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/NOTES.git-debrebase b/NOTES.git-debrebase index c268d759..0d7bea84 100644 --- a/NOTES.git-debrebase +++ b/NOTES.git-debrebase @@ -140,3 +140,31 @@ will-overwrite to the current tip (see rules above, which show that this is OK). Or maybe to the last pseudomerge on the current tip, so that the overall result will be series of pseudomerges. +======================================== + +import from gbp + + inputs: + current HEAD (patches-unapplied), + this is going to be the base of the old breakwater + nominated upstream + + checks: + HEAD: = upstream: + upstream..HEAD: is empty (overrideable) + upstremm:debian is empty (overrideable) + + procedure: + construct + run gbp pq import to generate pq branch + new breakwater is + old HEAD + commit to remove d/patches + breakwater pseudomerge with upstream + "rebase" of pq branch, each commit with d/patches stripped + +what about dgit view branch ? +ideally, would make pseudomerge over dgit view +would need to check that dgit view is actually dgit view of + ond of our ancestors +failing that first push will need --overwrite -- 2.30.2