#8300 Replace uglify-js with python3-rjsmin
Closed: fixed by cheimes. Opened by abbra.

Fedora Rawhide orphaned uglify-js package. We use uglify-js for compression of JavaScript sources.

There are multiple alternatives to uglify-js in Fedora:
- python3-jsmin
- python3-rjsmin
- perl-JavaScript-Minifier-XS
- closure-compiler
- ghc-hjsmin

I tried python3-rjsmin and it works just fine.


freeipa-replace-uglify-js.patch

Prototype patch that uses python3-rjsmin.

master:

  • d986e844bbd37ccc7a532175631a55acd315cda3 WebUI: use python3-rjsmin to minify JavaScript files

ipa-4-8:

  • 831de842a7eca0df44367d8cb182cedc53680d77 WebUI: use python3-rjsmin to minify JavaScript files

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 6e3346f0a7d820cb3643044884657fa60a80f918 Use old uglifyjs on RHEL 8

ipa-4-8:

  • 5cefc6df114b162f3cd33622e87ba5a88dc03f0e Use old uglifyjs on RHEL 8
Metadata