- Nov 08, 2018
-
-
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
-
- May 04, 2018
-
-
Christophe Monniez authored
When the virtual machine used to build MS Win package takes too much time (to build or to test the build), a warning is logged and the VM is killed. Before this commit, the PID of the process was passed as an argument to the warning method, causing a traceback.
-
- Nov 03, 2017
-
-
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.
-
- Oct 23, 2017
-
-
Andrew Latham authored
Sign CLA Closes #20321
-
- Oct 18, 2017
-
-
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.
-
- Oct 12, 2017
-
-
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
-
Christophe Monniez authored
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
-
- Oct 11, 2017
-
-
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.
-
- Oct 10, 2017
-
-
Jairo Llopis authored
Not that we really care about compileall, but some people apparently do. Fixes #19871 Closes #19849
-
- Oct 09, 2017
-
-
Christophe Monniez authored
Purpose: The psycogreen module is unmaintained. Last source update was in 2015 and last pypi package was in 2012. Odoo only use a small part of the psycogreen module that could be written directly in the odoo code. This commit reproduce the small function from psycogreen used in ODoo and remove all depencies from it. Also the copyright and license are honored and the documentation is updated accordingly. pypi pckage: https://pypi.python.org/pypi/psycogreen bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
-
Christophe Monniez authored
Purpose: When uninstalling using the windows uninstaller, python and nssm were left beyond. This fix removes the python and nssm dirs also.
-
Christophe Monniez authored
Purpose: When installing postgresql under windows, the '+' character is unallowed. This was creating a bug when using the windows installer the enterprise version which derivate the install path from the version number.
-
- Oct 03, 2017
-
-
Olivier Dony authored
Windows can be slower to start than that, sometimes.
-
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.
-
Christophe Monniez authored
-
Christophe Monniez authored
-
Christophe Monniez authored
-
Christophe Monniez authored
-
Christophe Monniez authored
-
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
-
- Sep 18, 2017
-
-
Stéphane Bidoul authored
Deprecates the previous pkg_resources-style packages. Our use was not entirely spec compliant, and it broke with setuptools 31. More information in https://github.com/odoo/odoo/pull/15718 Instead, use the pkgutil-style namespace packages. This is spec compliant as long as all other distributions providing odoo.addons use PEP 420 namespace packages (i.e. no __init__.py). So this mechanism fully works on Python 3 only, but does not break anything on Python 2. See also: https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages Closes #19517 Fixes #15718
-
- Sep 12, 2017
-
-
Christophe Simonis authored
-
- Sep 07, 2017
-
-
xmo-odoo authored
Fixes #19315
-
- Aug 20, 2017
-
-
Olivier Dony authored
Those are possibly posterior or leftovers from 3979f680
-
- Jun 26, 2017
-
-
Xavier Morel authored
-
- Jun 09, 2017
-
-
Christophe Simonis authored
-
- May 26, 2017
-
-
Olivier Dony authored
Complements 021de21e and #16918
-
- May 10, 2017
-
-
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
-
- Apr 27, 2017
-
-
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
-
- Feb 22, 2017
-
-
Andrea Piovesana authored
Instead of links to 9.0 branch Closes #15588
-
- Jan 13, 2017
-
-
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
-
- Oct 24, 2016
-
-
Simon Lejeune authored
Before this patch, the debian package depends on `python-pybabel`. According to the documentation, this is a dummy package for transition from `python-pybabel` to `python-babel`[1]. This dummy package has thus been removed in debian stretch in favor of `python-babel`, and the odoo package is thus not installable in debian stretch. To fix this, we depend directly on `python-babel`, which is available in all debian releases[2]. Closes #13905 [1] https://packages.debian.org/jessie/python-pybabel [2] https://packages.debian.org/jessie/python-babel
-
Simon Lejeune authored
Without this, odoo log outputs to stdout and is catched by journald. We force the use of a log file to keep the behavior consistent with the debian package.
-
- Oct 06, 2016
-
-
Christophe Simonis authored
-
- Oct 05, 2016
-
-
Christophe Simonis authored
-
- Sep 30, 2016
-
-
Simon Lejeune authored
-
Stéphane Bidoul authored
by auto-extending addons path with odoo.addons.__path__. This patch also introduce * an explicit declaration of odoo.addons as a namespace package This is necessary because the standard way of declaring namespace packages in setup.py does not work as long as odoo/__init__.py contains code. * a more reliable way to find odoo root path.
-
Simon Lejeune authored
-
Christophe Simonis authored
-
Simon Lejeune authored
no fallbacks were implemented to `openerp-server.conf`.
-