Commit Graph

33 Commits

Author SHA1 Message Date
Simon Lejeune ee690395e0 [FIX] package.py: tarball test: don't hardcode pip path 2015-07-15 09:08:38 +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
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
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
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
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
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
Simon Lejeune 9ed6accd2e [REF] Packaging: Backport of v8 packaging
[REF] Packaging: backport of a7ab5a4109
[REF] Packaging: backport of a700a1139e
[REF] Packaging: backport of 9d0bd2807e
[REF] Packaging: backport of b0722d3e5d
[REF] Packaging: backport of 24b2c93814
[REF] Packaging: backport of e874cdafaa
[REF] Packaging: backport of 56b61da163
[REF] Packaging: backport of be96dd8595
[REF] Packaging: backport of 50a4da99f0
[REF] Packaging: backport of 1c41f36993
[REF] Packaging: backport of cc11331733
[FIX] Packaging: backport of 1347163082
[REF] Package: backport of 93845d683c
[REF] Package: backport of 012bc01c11
[FIX] Package: partial apply of d9e72a3716
[REF] Package: backport of 67036feff4
[REF] Package: backport of 73de0138de
[REF] Package: backport of 30d987ed30
[REF] Package: backport of 29132669a1
[REF] Package: backport of 7db12dc47b
[REF] Package: backport of f668f9c6cd
[REF] Package: backport of 2cf4051a15
[REF] Packaging: backport of 735924878f
[REF] Packaging: backport of f2598ecdce
[REF] Package: backport of fd21912cfe
[REF] Package: backport of 9a8cdf49b0
[REF] Package: backport of 2f4984b838
[REF] Package: backport of 6e9edeeb46
[REF] Package: partial backport of d4624fa826
[REF] Package: backport of 9f13722f78
2014-12-19 17:31:35 +01:00
Aaron Bohy a7ab5a4109 [ADD] Packaging: Debian and CentOS Dockerfiles for nightly builds tests
This way we'll be using docker cache to spare dependencies download time.
2014-12-09 12:33:56 +01:00
Aaron Bohy a700a1139e [ADD] Packaging: also publish source dist .zip file 2014-12-09 12:16:06 +01:00
Simon Lejeune b0722d3e5d [FIX] Packaging: batch the signing procedure 2014-11-28 16:40:56 +01:00
Simon Lejeune d26a354c99 [FIX] Packaging: lib name from openerp to odoo
It's about time
2014-11-28 16:40:56 +01:00
Aaron Bohy e874cdafaa [IMP] Packaging: RedHat: sign packages with gpg key 2014-11-28 16:40:55 +01:00
Simon Lejeune 56b61da163 [FIX] Packaging: RedHat: dependencies management
PyChart is now in the EPEL repo so we now list it as required in
setup.cfg. The other mandatory lib not provided by EPEL are
pyPdf, vatnumber and pydot and are now installed by easy_install
during the post install.
2014-11-28 16:40:55 +01:00
Simon Lejeune be96dd8595 [FIX] Packaging: RedHat: install in /usr and add systemd unit file
By default, the package was installed in /usr/local/lib/python2.7 in CentOS7.
It is problematic because most of other python packages are installed in /usr/lib
and also because /usr/local/lib is not in the default PYTHONPATH. It's fixed by
overriding the install script and forcing prefix to be /usr.

Added a minimal systemd unitfile.
Adapted tests accordingly.
2014-11-28 16:40:55 +01:00
Simon Lejeune 50a4da99f0 [FIX] Packaging: better filename handling
Allow to
1) avoid a special case for debian packages in _publish function
2) publish debian packages with correct filename (ie keeping _amd64, _all)
2014-11-28 16:40:55 +01:00
Aaron Bohy 1c41f36993 [IMP] Packaging: Debian: sign packages with gpg key 2014-11-28 16:40:55 +01:00
Aaron Bohy cc11331733 [FIX] Packaging: allow publishing releases in --no-testing 2014-11-28 16:40:55 +01:00
Simon Lejeune c41c5e1b89 [FIX] package: last fedora epel repo 2014-09-29 11:54:30 +02:00
Simon Lejeune 93845d683c [FIX] Package: split the version to not include the latest commit's hash included by the package script 2014-09-18 11:55:20 +02:00
Simon Lejeune 012bc01c11 [FIX] Package: Debian: finally a correct Packages generation 2014-09-18 11:26:20 +02:00
Simon Lejeune d9e72a3716 [FIX] Package: Debian, Windows: more odooification; Debian: correct Packages.gz 2014-09-18 00:17:32 +02:00
Christophe Simonis 80a932479b FIX] packaging: odoo-ification 2014-09-04 16:27:58 +02:00
Simon Lejeune 73de0138de [FIX] Windows packaging: correct Makefile.version writing and remove useless lib installation 2014-09-02 17:25:18 +02:00
Simon Lejeune 30d987ed30 [REF] Package.py: refactoring including cleanup, lint, and use of docker to test unix releases 2014-09-02 14:13:01 +02:00
Antony Lesuisse 2f4984b838 [IMP] packaging v8 part1, tgz deb and rpm 2014-05-30 01:54:20 +02:00