q: excluding upstream files from tarball

Reinhard Tartler siretart at tauware.de
Tue Dec 14 17:15:28 UTC 2010


On Tue, Dec 14, 2010 at 17:54:36 (CET), IOhannes m zmoelnig wrote:

> i have a question on how the exclusion of files from the upstream
> tarball can be handled and maintained.
>
> as far as i understand, you just use
> $ git-import-orig --filter="*proprietary*" /path/to/upstream_1.0.tar.gz
>
> which will exclude all files matching *proprietary* from the debian
> "upstream" tarball (what's the right terminology, btw?)
>
> this is all fine, but how is this maintained over time?
> e.g. next upstream release i have to do the same thing again.
> however, considering that we do a lot of packaging, how am i to keep
> track of all this?
>
> shouldn't all this exclusion be documented somewhere, e.g. in
> debian/README.source?

I tend to script this process in form of a 'debian/get-orig-source.sh'
script, which fetches the upstream source from svn, website or whatever,
then calls another script 'debian/strip.sh' that removes the offending
files.


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list