Skip to content
Snippets Groups Projects
  • Simon Lejeune's avatar
    123e51f4
    [REF] ir_qweb: less webasset: compress output instead of minifying it · 123e51f4
    Simon Lejeune authored
    * Remove dependency on less-plugin-clean-css which distribution
      packages are broken on debian stretch and derivated.
    * Updated documentation.
    * Lessc provides a `--compress` argument that could solve this issue.
      According to the documentation at http://lesscss.org/usage/: "[...]
      Compress using less built-in compression. This does an okay job but
      does not utilise all the tricks of dedicated css compression[...]"
      However, using this argument works on lessc 2.5.3 but not on 1.4.2
      (`--compress` arg is present but seems to be break some rules
      i haven't been able to put my finger on).
    * Finally, use the minification of the StylesheetAsset that takes care
      of removing the spaces, the comments and the sourcemap with regexes.
    
    fixes issue #9113
    123e51f4
    History
    [REF] ir_qweb: less webasset: compress output instead of minifying it
    Simon Lejeune authored
    * Remove dependency on less-plugin-clean-css which distribution
      packages are broken on debian stretch and derivated.
    * Updated documentation.
    * Lessc provides a `--compress` argument that could solve this issue.
      According to the documentation at http://lesscss.org/usage/: "[...]
      Compress using less built-in compression. This does an okay job but
      does not utilise all the tricks of dedicated css compression[...]"
      However, using this argument works on lessc 2.5.3 but not on 1.4.2
      (`--compress` arg is present but seems to be break some rules
      i haven't been able to put my finger on).
    * Finally, use the minification of the StylesheetAsset that takes care
      of removing the spaces, the comments and the sourcemap with regexes.
    
    fixes issue #9113
setup.cfg 762 B
[bdist_rpm]
install-script = setup/redhat/install.sh
post-install = setup/redhat/postinstall.sh

requires =
  babel
  libxslt-python
  nodejs-less
  pychart
  pyparsing
  python-dateutil
  python-decorator
  python-docutils
  python-feedparser
  python-imaging
  python-jinja2
  python-ldap
  python-lxml
  python-mako
  python-mock
  python-openid
  python-passlib
  python-psutil
  python-psycopg2
  python-reportlab
  python-requests
  python-vobject
  python-werkzeug
  python-xlwt
  python-yaml
  pytz

# -------------------------------------------------------------------
# RedHat 7 notes
# -------------------------------------------------------------------
# Most of the Odoo dependencies are available on the EPEL repository.
# yum install epel-release