Commit Graph
88 Commits
Author SHA1 Message Date
Christophe Simonis 477e69d850 [MERGE] forward port branch saas-6 up to 3c3ce75 2016-10-27 14:42:57 +02:00
Christophe Simonis 3c3ce750f7 [MERGE] forward port branch 8.0 up to 5ee4344 2016-10-27 14:11:46 +02:00
Simon Lejeune 097f46e09a [REF] packaging: debian: depend on python-babel
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
2016-10-24 16:22:17 +02:00
Simon Lejeune 123e51f4d5 [REF] ir_qweb: less webasset: compress output instead of minifying it
* 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
2016-06-10 17:22:03 +02:00
Simon Lejeune 879e2b27d9 [FIX] packaging: redhat: don't write the conf file if already there
this avoid to overwrite the configuration file at each update.

closes  #11722
2016-06-07 16:25:21 +02:00
Damien Bouvy 9b2d153302 [FIX] setup: atom doesn't want to use hard tabs even when told to
This is now the 2d stupidest commit I ever did
2016-05-13 17:08:28 +02:00
Damien Bouvy 98bd6d4f4a [FIX] setup: use hard tabs
GTFO
2016-05-13 16:22:05 +02:00
Damien Bouvy aee53a3695 [FIX] setup: missing dep for RHEL-based distros 2016-05-13 15:48:08 +02:00
Martin Trigaux 7892d99f3a [FIX] all: references to Odoo 8.0 version
In installation script or documentation

Fixes #10052
2015-12-18 15:06:46 +01:00
Simon Lejeune 038949f395 [REF] packaging: debian: don't require ofxparse
because it's available in debian stable but not in ubuntu 14.04 (lts)
2015-11-10 14:43:41 +01:00
Aaron Bohy a99ae62239 [FIX] Packaging: package.py: default version set to 9.0
Fixes remaining occurences of 8.0 in the windows installer. Mainly, odoo is now
correctly installed in odoo.9.0-timestamp/ instead of odoo.8.0-timestamp/
2015-10-09 15:42:22 +02:00
Leonardo Rochael Almeida 60af7cac02 [IMP] replace simplejson with stdlib json
The stdlib version of the json library is more recent than the 3.5.3
version we are pinning in `requirements.txt`

There is no reason to use it.

Closes #6940
2015-09-28 10:53:32 +02:00
Leonardo Rochael Almeida 06b3026bcd [IMP] unittest2 > unittest
The `unittest2` package is simply a backport of `unittest` from the
Standard Library of Python 2.7 to previous versions.

There is no reason to use it any longer.

Closes #6941
2015-09-28 10:37:27 +02:00
Simon Lejeune ea0bcfac34 [FIX] packaging: adapt test environment to less dependency 2015-09-11 18:10:56 +02:00
Simon Lejeune a470d69e7c [FIX] packaging: windows: typos 2015-09-11 18:10:55 +02:00
Simon Lejeune 87b46bb7e9 [FIX] packaging: windows: bump version number 2015-09-11 18:10:55 +02:00
Olivier Dony a3732aef6e [LEGAL] Switch to LGPLv3 License
99% of the contributors have signed the CLA
The rest of them have been contacted by email
and are free to either sign the CLA or ask
for their contributions to be removed from
Odoo Community Edition.

See also:
- https://www.odoo.com/cla
- https://www.odoo.com/blog/odoo-news-5/post/adapting-our-open-source-license-245
2015-09-08 17:58:38 +02:00
Simon Lejeune 7c05b7965d [REF] packaging: windows: use less.js-windows
Fixes #7951
2015-08-07 18:18:33 +02:00
Simon Lejeune 9f3b26c1ca [REF] packaging: ofxparse as "hard" dependency 2015-07-31 14:11:16 +02:00
Simon Lejeune e4a3fbe860 [FIX] packaging: use suds in redhat packaging
easy_install suds-jurko result in "The required version of setuptools
(>=1.4) is not available," in the last CentOS. As we don't want to
force the upgrade of setuptools, use the suds package instead.

Also, add it in centos test environment (missing after
rev 6dfbca2ba0)
2015-07-31 14:11:16 +02:00
Simon Lejeune 44c83299e3 [FIX] packaging: python-suds in debian's test environment 2015-07-23 14:28:20 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
Christophe Simonis 1510a81366 [MERGE] forward port of branch 8.0 up to 9ac62d7 2015-07-16 11:21:22 +02:00
Aaron Bohy 36e9726c67 [FIX] packaging: tarball nightly test
Workarounded https://launchpad.net/debian/+source/openssl/1.0.1j-1 by updating
requests in requirements.txt and pip in our tests environment.
2015-07-15 11:44:07 +02:00
Simon Lejeune ee690395e0 [FIX] package.py: tarball test: don't hardcode pip path 2015-07-15 09:08:38 +02:00
Simon Lejeune 936e321ae0 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 19:13:51 +02:00
Simon Lejeune b3f7670c96 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 18:05:01 +02:00
Richard Mathot 6dfbca2ba0 [ADD] Activate 'suds' library for Python
This library is a SOAP client. It will be used to integrate Odoo with
external web services that use SOAP based protocols.
2015-07-14 16:04:31 +02:00
Christophe Simonis d215a08db1 [MERGE] forward port of branch 8.0 up to 86d7f52 2015-07-14 15:57:39 +02:00
Christophe Simonis 86d7f52971 [MERGE] forward port of branch 7.0 up to be6c758 2015-07-14 15:14:58 +02:00
Christophe Simonis be6c7582a0 [FIX] package.py: search for prompt correctly. 2015-07-14 15:08:14 +02:00
Yenthe 52eddad90e [FIX] setup: wkhtmltopdf win32 download location has moved
Wkhtmltopdf has moved from Sourceforge to download.gna.org.
See https://groups.google.com/forum/#!msg/wkhtmltopdf-general/wZwTUol3mXI/GNVeyrKDdqIJ

Fixes #7574
Closes #7578
2015-07-13 10:30:51 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Nicolas Martinelli c8c84d4a4e [IMP] Packaging: use docker image of debian jessie.
Update to pip v6 necessary to avoid import error of 'IncompleteRead' from requests.compat
2015-02-23 08:24:24 +01:00
Christophe Simonis aec02cb493 [MERGE] forward port of branch 8.0 up to d350f5b 2015-02-20 18:16:01 +01:00
Nicolas Martinelli d5c4a1c3e1 [FIX] Packaging: possibility to have a PGP key without passphrase 2015-02-20 16:56:14 +01:00
Nicolas Martinelli 520360d80b [ADD] Packaging: nightly tests: src dockerfile
Creation of a Dockerfile for the src package for nightly tests.
Remove unnecessary libraries installation from the Debian Dockerfile.
2015-02-20 16:56:13 +01:00
Nicolas Martinelli aca65438e8 [IMP] Packaging: version number in docker image name 2015-02-20 16:56:13 +01:00
Nicolas Martinelli 4305aad02f [IMP] Packaging: version number in docker image name 2015-02-20 16:40:37 +01:00
Christophe Simonis e19ec6a8be [MERGE] forward port of branch 8.0 up to 4e62515 2015-01-26 15:46:24 +01:00
Aaron Bohy 1db27f417d [FIX] Packaging: Windows: _prepare_build_dir
Catch shutil.Error thrown when addons have already been moved to
openerp/addons. Fixes the bug introduced by commit 91026647d4.
2015-01-26 14:24:44 +01:00
Christophe Simonis 4eb385fc0b [MERGE] forward port of branch 8.0 up to 0ec3c75 2015-01-23 14:57:07 +01:00
Aaron Bohy 91026647d4 [FIX] Packaging: Debian: do not include setup/win32 in sources
This prevents to put postgresql-9.3.5-1-windows.exe, node.exe and
wkhtmltopdf.exe in the tar.gz produced with debhelper, saving
approx. 60MB.
2015-01-23 11:11:26 +01:00
Aaron Bohy 95402dee81 [FIX] Packaging: do not publish add-on web_analytics
This fixes the privacy-breach-google-adsense lintian error for Debian
packaging.
2015-01-23 11:11:26 +01:00
Christophe Simonis 4ccca49d34 [MERGE] forward port of branch 8.0 up to 592f1cd 2015-01-21 12:11:38 +01:00
Aaron Bohy 9c8c534c19 [FIX] Packaging: RedHat: prompt overriden in docker
RPM packages did not pass the tests because the centos prompt changed
and thus did not match the regexp anymore. We now explicitely specify
the prompt in our Dockerfiles to prevent such issues.
2015-01-20 17:39:14 +01:00
Aaron Bohy a911265c12 [FIX] Packaging: RedHat: prompt overriden in docker
RPM packages did not pass the tests because the centos prompt changed
and thus did not match the regexp anymore. We now explicitely specify
the prompt in our Dockerfiles to prevent such issues.
2015-01-20 17:35:34 +01:00
Aaron Bohy 67959566ed [FIX] Packaging: Debian Dockerfile for nightly tests
Remove installation of v8 requirements in package.dfdebian as this
is unnecessary for v7. This fixes a bug occuring during the installation
of openerp (precisely when installing reportlab dependencies), because
reportlab now requires a more recent version of pillow than 2.5.1.
Also use pip instead of /usr/local/bin/pip in test_tgz (package.py)
as pip script isn't installed there anymore.
2015-01-15 15:22:02 +01:00
Christophe Simonis fab4d6d442 [MERGE] forward port of branch 8.0 up to ea54d4a 2015-01-06 11:49:04 +01:00
Aaron Bohy 6977c4daac [FIX] Packaging: debian: .dsc file reference to .tar.gz
Renamming logic (odoo_version.timestamp.extension) of published
files moved out of publish function
2015-01-05 12:15:23 +01:00