Skip to content
Snippets Groups Projects
  1. 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
  2. May 04, 2018
  3. 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
  4. Oct 23, 2017
  5. 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
  6. 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
  7. 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
  8. Oct 10, 2017
  9. Oct 09, 2017
  10. 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
  11. Sep 18, 2017
  12. Sep 12, 2017
  13. Sep 07, 2017
  14. Aug 20, 2017
  15. Jun 26, 2017
  16. Jun 09, 2017
  17. May 26, 2017
  18. May 10, 2017
    • xmo-odoo's avatar
      [FIX] P3: list -> iterable builtins (#16811) · fffaf735
      xmo-odoo authored
      In Python 3:
      
      * various builtins and dict methods were changed to return
        view/iterable objects rather than lists
      * and the separate Python 2 view/iterable builtins and methods were
        removed altogether
      
      This is problematic when using these items as list (which the happens
      repeatedly in Odoo), but more viciously when iterating *multiple times*
      over them (which also happens, which I've messed up multiple times while
      writing this, and which is a pain to debug even when you've just created
      the issue).
      
      Convert all code using these to semantics-matching cross-version
      helper functions to get the LCD behaviour between P2 and P3, and
      forbid the builtins via lint.
      
      issue #8530
      fffaf735
  19. Apr 27, 2017
    • xmo-odoo's avatar
      [FIX] builtins removed from Python 3 · 2e6a589f
      xmo-odoo authored
      * Reverse wrapper courtesy of @rco-odoo's original P3 branch
      * thin compat module stripped down from werkzeug (to augment as needed)
      
      issue 8530
      2e6a589f
  20. Feb 22, 2017
  21. Jan 13, 2017
    • Nicolas Lempereur's avatar
      [FIX] setup: server UTC timezone on windows · 9aaed653
      Nicolas Lempereur authored
      In 07bf7bf4 a fix was introduced for windows server UTC timezone.
      
      It is possible it would be helpful in some situation to also have it in
      setup/odoo (for example if odoo was installed on windows in some other
      way than the Installation bundle).
      
      opw-693764
      9aaed653
  22. Oct 24, 2016
  23. Oct 06, 2016
  24. Oct 05, 2016
  25. Sep 30, 2016
Loading