Skip to content
Snippets Groups Projects
  1. Jun 05, 2019
  2. Jun 14, 2019
  3. Apr 10, 2019
    • Olivier Dony's avatar
      [FIX] requirements: bump up jinja2 reqs · 6cbecced
      Olivier Dony authored
      
      Recommended by GitHub's repository alerts.
      
      We normally stick as close as possible to the version we depend
      on in the official DEB packages. This in turn depends on the version of
      Debian stable at the time of release - for 11.0 that would be Debian 9
      (stretch) and thus Jinja 2.8 (with security backports).
      
      However Jinja2 before 2.10.1 suffers from a few issues that could lead
      to crashes of Odoo processes.
      
      It seems it's worth an exception to our rule for pip users, similarly to
      previous bump up at d2605bcc.
      
      closes odoo/odoo#32601
      
      Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
      6cbecced
  4. May 07, 2019
    • Olivier Dony's avatar
      [FIX] requirements: bump up jinja2 reqs · e554ce34
      Olivier Dony authored
      
      Recommended by GitHub's repository alerts.
      
      We normally stick as close as possible to the version we depend
      on in the official DEB packages. This in turn depends on the version of
      Debian stable at the time of release - for 11.0 that would be Debian 9
      (stretch) and thus Jinja 2.8 (with security backports).
      
      However Jinja2 before 2.10.1 suffers from a few issues that could lead
      to crashes of Odoo processes.
      
      It seems it's worth an exception to our rule for pip users, similarly to
      previous bump up at d2605bcc.
      
      closes odoo/odoo#32601
      
      Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
      e554ce34
  5. Feb 05, 2019
  6. Jan 29, 2019
    • Christophe Monniez's avatar
      [FIX] packaging: allow install on fedora29 · 7eec6b36
      Christophe Monniez authored
      Fedora 29 switched to python 3.7. It seems that there is no official
      way to build a RPM package that could works with 3.6 and 3.7.
      Building two different packages for each version could open the pandora
      box of packaging.
      
      With this commit an ugly hack is used: if python3.7 is found, the odoo
      directory is symlinked into its site-packages dir.
      
      fixes #30579
      
      closes odoo/odoo#30618
      7eec6b36
  7. Nov 19, 2018
    • Christophe Monniez's avatar
      [FIX] packaging: add qrcode package to docker file · 51ee0c3c
      Christophe Monniez authored
      After the Odoo package is built, the package.py script uses a Docker
      image to test the package. After that python3-qrcode was added as a
      dependency for the package in 2ff49c5f , it revealed some issues.
      
      A missing cli parameter and a forgotten '&&' in the Dockerfile prevented
      the installation of the depending packages.
      
      Also, the script shebang was wrong by launching python2.
      
      Finally, the fact that python3-xlwt is missing in Debian stretch was
      highlighted. With this commit, the python3-xlwt is explicitly removed
      from the dependencies and the documentation is updated accordingly.
      
      closes odoo/odoo#28807
      51ee0c3c
  8. Nov 08, 2018
    • Christophe Monniez's avatar
      [REM] packaging: remove useless code · 055e1b83
      Christophe Monniez authored
      PKG-INFO is generated during the setup phase and is not needed anymore.
      Also this file contains outdated informations.
      
      py2exe is not used anymore to build the windows installer.
      
      closes odoo/odoo#28494
      055e1b83
  9. Oct 09, 2018
  10. Aug 27, 2018
  11. Jul 27, 2018
  12. Jun 08, 2018
  13. Jun 05, 2018
  14. May 04, 2018
  15. Apr 26, 2018
    • Christophe Monniez's avatar
      [IMP] packaging: automate package update in Windows build · 5666bc3d
      Christophe Monniez authored
      When building the Windows installer, a virtual machine is used with
      prepackaged python modules.
      
      With this commit, the packaging script will try to install on the
      virtual machine the python packages specified in requirements.txt.
      Each package is installed individually, that way, if an install fails,
      the install of the other packages continues.
      At the end of the process, successfully packages are listed so that they
      will appear in the build log files.
      
      Also, the Makefile was cleaned in this commit (removal of py2exe stuffs).
      5666bc3d
  16. Apr 24, 2018
  17. Apr 18, 2018
  18. Nov 03, 2017
    • Christophe Monniez's avatar
      [FIX] package: fix the windows build test · 4035d55d
      Christophe Monniez authored
      As the windows package provides odoo from sources alongs with
      python 3, the test of the build was failing.
      The odoo-bin.exe was not found because py2exe is not used anymore.
      
      Windows firewall is now disabled from package.py to prevent it
      from blocking local xmlrpc calls.
      
      Also, the docker containers were removed when package tests were
      finished, even when no docker was involved in the process (e.g. only
      a windows build).
      
      This commit fixes the test part of the windows build process.
      4035d55d
  19. Oct 23, 2017
  20. Oct 18, 2017
    • Christophe Monniez's avatar
      [FIX] packages: install vc_redist files properly · d38d62f5
      Christophe Monniez authored
      Nsis installer was installing the wrong MS Visual C++ redistributable
      file. Python 3.6 needs MS Visual C++ 2015 redistruibutable files.
      
      Also, Nsis now differentiate Windows architecture for the nssm service
      and the MS C++ redist.
      d38d62f5
  21. Oct 12, 2017
    • Christophe Monniez's avatar
      [FIX] packages: fix docker images builds tests · 5dfa00cb
      Christophe Monniez authored
      The automated tests of rpm,deb and src packages are using docker
      images and containers. Those tests were not working as expected due
      to various small glitches:
      * some debian python- packages were missing in the Debian image
      * pip was called instead of pip3 for the src test
      * a wrong addons path was given for the tests
      * the containers id's were wrong due to a bytes implicitly converted
        to str
      5dfa00cb
    • Christophe Monniez's avatar
      [REM] remove any openid reference · fc76b1d5
      Christophe Monniez authored
      Purpose: openid is not used anymore in Odoo, therefore it can be
      safely removed.
      fc76b1d5
  22. Oct 11, 2017
    • Martin Trigaux's avatar
      [FIX] doc: update to version 11 · f5b2a4b0
      Martin Trigaux authored
      Use python 3.5
      Refer to correct page of the doc
      Remove old bazar to git (was intended for the 8.0)
      
      Remove outdated setup_dev script: it was intended for odoo developers but if you
      are not able to make a git clone, you are going to have a bad time later.
      f5b2a4b0
  23. Oct 10, 2017
  24. Oct 09, 2017
  25. Oct 03, 2017
    • Olivier Dony's avatar
      [FIX] setup: bump up kvm startup delay · 360bfb7a
      Olivier Dony authored
      Windows can be slower to start than that, sometimes.
      360bfb7a
    • Christophe Monniez's avatar
      [REF] win32: move to WinPython... · 06c2346d
      Christophe Monniez authored
      Purpose: for multiple reasons (bytecode change in python 3.6,
               missing files for some packages, py2exe is unmaintained
               ...) the py2exe solution cannot be used anymore.
               Odoo for windows will now use a portable Python that
               will be shipped with the Windows installer.
               For that purpose, a Winpython 3.6.2 is used.
               In order to build the Windows installer, a Winpython dir
               with all the Odoo requirements fullfilled, must exists on
               the build system (qemu-kvm VM).
      
      * nsis installer:
          - Only the python dir is used to avoid packaging too much stuffs
          - better compression level
          - starts the Odoo service using nssm
          -  bump to V11
      * change the default win10 build vm path
      * print a warning when uncomplete addon move
      * try to force remove of addon path:
        when the addons are moved to Odoo/addons, it happens that the
        destination already exists. In that case, the source addon was not
        deleted, resulting in a uneeded file duplication.
      * fix version string to avoid invalid chars in windows service
      * Add requirements adpated for WinPython
      * package.py now shows the traceback when a build fails
      * verify that a file exists before publishing
      * debuild now creates an .xz file instead of .gz
      * package: use logging module
      * kvm CPU that works with older versions.
      * fix a pexpect encoding bug
      * fix the version to remove special chars '~' which is not appreciated
        by windows services
      
      [REM] win32setup: Remove win32 python service
      
      Purpose:
          Before this commit, the win32 service was managed by an executable
          builded from those two files with the help of py2xe.
          The win32 service is now managed by nssm which starts Odoo and therefore, those
          files are not needed anymore.
      06c2346d
    • Christophe Monniez's avatar
    • Christophe Monniez's avatar
    • Christophe Monniez's avatar
      [IMP] setup: Update docker files · 6953f22e
      Christophe Monniez authored
      6953f22e
    • Christophe Monniez's avatar
    • Christophe Monniez's avatar
      e0dc2518
    • Christophe Monniez's avatar
      [IMP] package: various improvements · 1e76ffc7
      Christophe Monniez authored
      * Add an option to avoid signing deb package
      * update windows vm name
      * add memory to kvm as win10 needs 1G
      * increase win VM timeout because win10 seems slower to start
      * add an option to keep build dir for debugging purpose
      1e76ffc7
  26. Sep 18, 2017
  27. Sep 12, 2017
  28. Sep 07, 2017
  29. Aug 20, 2017
Loading