On 2022-08-13 09:59, Carsten Schoenert wrote:
The NetBox UI is using some comprehensive JS files which are shipped as minimized files. Currently I'm unable to drop the shipped minimized code and rebuild all the needed files from scratch. If possible I'd like to get some help on this, currently netbox will need to go into non-free due the non rebuild-able minimized files. OTOH netbox can't go into main as it requires at least one package from non-free, it requires drf-yasg-nonfree for some Swagger functionality.
It also looks like drf-yasg-nonfree is non-free just because of the minimized JS files. This is often a problem and while not everybody agrees with this, you can workaround this issue by shipping the non-minified sources in debian/missing-sources. You may or may not use them in the build process. Maybe it does not hurt to try to run a minifier (like uglifyjs) on them if you feel like it. As long as upstream is using the files as is, the FTP masters are likely to accept a package with the sources in debian/missing.