[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get history into dgit



On Dec 11 2016, Sean Whitton <spwhitton@spwhitton.name> wrote:
> Hello Nikolaus,
>
> On Sun, Dec 11, 2016 at 12:17:50PM -0800, Nikolaus Rath wrote:
>> I would like to start using dgit for one of my packages, using the
>> dgit-maint-merge workflow.
>
> dgit-maint-merge(7) author here.

Thanks for writing it :-).

>> If I understood correctly, following the dgit-maint-merge(7)
>> instructions for the initial setup will give me a repository with only
>> the upstream git history, but no data from previous Debian packages.
>> 
>> Is there a good way to import the existing package history as well?
>> 
>> Until now, I've used git-dpm, but I don't really need the full
>> git-dpm history, I'd be happy to just preserve the uploaded versions.
>
> What I would do in this situation is, starting with your existing
> packaging history,
>
> 1) Ensure HEAD is dgit-compatible.  This means patches are applied,
> debian/source/local-options does not exist, etc.
>
> 2) Do the steps under "git configuration" and "source package
> configuration" in the manpage.
>
> 3) rm -r debian/patches.

Ah, that makes sense. I guess I'm still mentally adjusting to dgit's
flexibility. Thanks!
 

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

Attachment: signature.asc
Description: PGP signature


Reply to: