Bug#904962: antlr4: non-standard tarball repacking; please use copyright/Files-Excluded; redundant "debian/orig-tar.sh"

Emmanuel Bourg ebourg at apache.org
Mon Jul 30 07:46:50 BST 2018


Le 30/07/2018 à 04:32, Dmitry Smirnov a écrit :

> Recommended way to do that is through copyright/FilesExcluded header and 
> "watch" file setting repacksuffix to indicate that tarball has been 
> processed.
> 
> "debian/orig-tar.sh" is redundant as all it does can be done by "uscan".

It can be done with uscan but not as conveniently. debian/orig-tar.sh
keeps only the Java runtime with a simple "rm -Rfv !(Java)" call. To get
the equivalent behavior with uscan we would have to list all the
runtimes excluded, which is more tedious to maintain.


> Also reason for exclusion of files is not documented...

The reason is the Java Team doesn't want to maintain the ANTLR runtime
for other languages than Java. We tried that with ANTLR 2.x and that was
too difficult to manage properly. We now prefer splitting the package by
language, each maintained by skilled dedicated developers and with it's
own independent update schedule. There are the libantlr3c and
python3-antlr3 packages for example.



More information about the pkg-java-maintainers mailing list