On 20/07/16 23:53, Potter, Tim (HPE Linux Support) wrote:

> I haven't figured out what the best way is to create an upstream source 
> orig.tar.gz
> file that doesn't contain the vendored source though.  For packages with 
> releases
> (as opposed to snapshots of the master branch) you can use Files-Excluded
> in debian/copyright and then uscan can download and repack the upstream
> source.  Not sure what the best idea for git snapshot packages is yet.

I usually keep an "unvendored" branch that has those deletions. It
usually creates conflicts on merges, but these are also usually easy to
fix. You can also just create a new branch on each relase, and run your
repack script.

In both cases, you can tag that branch as upstream/1.2.3+ds, and
generate an orig.tar.gz from there.

Martín Ferrari (Tincho)

Pkg-go-maintainers mailing list

Reply via email to