Thanks a lot David, for your explanation and detailed commands. I was trying to find a way out reading the convoluted user manual, and finally found one way that worked (and much much more convoluted than the commands you listed and yet achieving much less).
Thanks a lot, I wish I had known them earlier. I am now trying to apply to my existing repo, wish me luck... On Sat, Dec 28, 2019 at 3:52 PM David Bürgin - [email protected] <pkgoyq.xpt.6074ba843b.dbuergin#[email protected]> wrote: > > Hello Tong, > > I’m not a mentor but I recently pushed an existing package to Salsa. I > now used the same procedure on your dbab package, you can see the result > at https://salsa.debian.org/glts-guest/dbab. Here’s what I did: > > gbp import-dscs --debsnap dbab > cd dbab > git remote add origin [email protected]:glts-guest/dbab.git > git push --all -u origin > git push --tags > > With this procedure all the history of snapshots/pristine-tars gets > imported, see https://salsa.debian.org/glts-guest/dbab/-/network/master. > I see that you didn’t import the existing history, so maybe your goal is > different … > > I have this setting in ~/.gbp.conf to import the pristine tarballs > properly: > > [DEFAULT] > pristine-tar = True > > That’s it. Hope this is helpful. > > Cheers, > >

