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

Re: salsa git workflows - import or mirror or?



On Tue, Jan 04, 2022 at 07:21:47PM +0000, Gavin Henry wrote:
> Hi all,
> 
> I've created https://salsa.debian.org/ghenry/sentrypeer as an import
> from my main GitHub repo.
> 
> If I wanted to follow the pattern of:
> 
> https://salsa.debian.org/pkg-voip-team/libosip2
> https://salsa.debian.org/vagrant/librecast (my friends project)
These use two different workflows.
libosip2 uses gbp and gbp-import-orig, importing upstream tarballs.
librecast adds the upstream repo as a remote and merges upstream tags
directly. It's not clear if it implies using gbp as there is no gbp.conf
that would set the correct upstream tag pattern.

> How best do I start? 
Thre are many different workflows and you need to choose one. If you
decide to use gbp you can read
https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.upstream-git.html
for some of the possible ones. I think gbp-import-orig+pristine-tar is the
most popular among those.


> I note the debian folder is in the repo too,
> where as I have mine as a branch:
> 
> https://github.com/SentryPeer/SentryPeer/tree/debian-packaging
In both cases the debian folder is in a packaging branch (master and
debian/latest respectively).


-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: