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
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to