[Pkg-rust-maintainers] Bug#1003786: bat: missing source for syntaxes/themes.

peter green plugwash at p10link.net
Sat Jan 15 20:48:58 GMT 2022


Package: bat
Severity: serious

While checking on the testing migration of rust source packages I noticed that
librust-bat-dev was uninstallable because the old version of syntect did not
offer all the required features. When I started looking at the issue I noticed
there was a new version of bat.

I started working on packaging the new upstream of bat, unfortunately while investigating
the changes to debian/copyright.debcargo.hint, I discovered a problem.
tests/integration_tests.rs had references to copyright holders that did not appear to
be mentioned anywhere else in the source code.

Following the trail, it appears the syntaxes and themes are included in the source package
in binary form in syntaxes.bin and themes.bin, but their sources are not included, they
are merely referenced by a .gitmodules file.

Does anyone have any thoughts on the best way to sort this out?

I have held off uploading the new version of bat (and performed a fix upload for the version
currently in Debian instead) so we have freedom in the content of the orig tarball when
sorting this out.



More information about the Pkg-rust-maintainers mailing list