Commit Graph
49 Commits
Author SHA1 Message Date
Christophe Monniez 11db495938 [FIX] packaging: include all odoo files in src build
Since this old commit 735924878f, the files that are packaged are
chosen by a list of allowed extensions. This list have to be maintained
each time that a developer adds a new kind of file in a module. This is
error prone [0] as most developer are not aware of that and it's difficult
to monitor.

Moreover, there is no reason to have a different list of installed files
when one install from the git repo instead of the source package.

With this commit, all [1] odoo sources files are included in the source
packaging and the only thing to maintain is a small black-list of file
extensions like for Python bytecode files and for version control files.

[0] see commit d33c05b62a9c6 that fix `.json` missing files.
[1] graft command: https://docs.python.org/3/distutils/commandref.html

closes odoo/odoo#67025

X-original-commit: 9c2ce1f12c2bebb4a903058eac10c17ca562fda9
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-03-01 17:25:18 +00:00
Christophe Monniez c4069b90c7 [FIX] packaging: include json files
Some json files are necessary for some modules but are not included in
packaging.

closes odoo/odoo#66779

X-original-commit: d33c05b62a9c6ac54497595397adbdaebf136584
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-02-24 17:17:13 +00:00
Christophe Monniez 989590e9b1 [FIX] packaging: add missing odoo-mailgate.py
This script is missing in the different Odoo packages.

opw-2008670

closes odoo/odoo#34130

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-06-14 09:32:38 +00:00
Christophe Monniez 0201d896d8 [FIX] packaging: include pot files
Since #26134 the po files are compared with pot content when loading a
translation. If a term is found multiple times in a po file, the terms
that does not exists in the pot files are ignored. If the pot files does
not exists, the unicity constraint leads to an error.

Closes #31583

closes odoo/odoo#31823

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-03-13 15:10:02 +00:00
qsm-odoo 587d7a50d0 [REF] update manifest and makefile 2018-04-18 15:59:05 +02:00
Christophe Simonis e5987434c6 [MERGE] forward port branch saas-15 up to 9cfd4a5c07 2018-02-22 19:06:31 +01:00
Christophe Simonis f492c73080 [MERGE] forward port branch 9.0 up to cd21ea414e 2018-02-22 18:56:22 +01:00
Christophe Monniez cd21ea414e [FIX] packaging: include missing files needed for tests
The test_mimetypes and base_import modules need various files for their
tests. Before this commit some of those files (.ods, .odt, .xlsx, .docx,
.zip) were not included in the packages.

Fixes #22778
2018-02-22 10:22:42 +01:00
Christophe Monniez 1779fc123a [FIX] packages: include missing data for l10n_mx
When building the enterprise packages, some data files were ignored.
With this commit, the demo data and missing xslt files are packaged.

This fixes #21045 and fixes #21015
2017-11-20 14:53:56 +01:00
Christophe Simonis aec8e2582f [MERGE] forward port branch saas-11 up to 345755e 2016-12-06 17:24:37 +01:00
Yenthe V.G 4aed1e1747 [REF] packaging: MANIFEST.in: import xls files
closes #14558
2016-12-02 14:52:34 +01:00
Simon Lejeune eb501081c5 [REF] packaging: openerp has been renamed odoo
Fix the various place when the rename of the git root directory
broke the packaging script. Also, we can now name the library
"odoo".
2016-09-30 12:05:48 +02:00
Richard Mathot e78e57ac82 [FIX] packaging: include *.xsd and *.wsdl files when necessary 2016-02-15 16:13:29 +01:00
Aaron Bohy 52f55ed493 [FIX] Packaging: deb: include missing font files in builds 2016-02-08 14:44:08 +01:00
Martin Trigaux ff3184ed82 [FIX] packaging: include eml files in builds
The file addons/crm/test/customer_request.eml is used in
addons/crm/test/crm_lead_message.yml

Fixes #10750
2016-02-04 14:16:43 +01:00
Simon Lejeune 7fcc79da21 [FIX] packaging: bundle doc and pdf files
so that demo data of hr_recruitment and website_slides are complete.
2015-11-17 15:56:43 +01:00
Martin Trigaux 83bd172608 [FIX] packaging: include svg and ico files
cherry-pick of 8feabe46 and 2fa8b99e
needed for nightly build, sorry for the forward port
2015-10-21 17:36:29 +02:00
Florent Thomas 4d8986207f [FIX] packaging: include ogg files
Depending on browsers, not necessary uses mp3 files
2015-07-13 15:07:48 +02:00
Nicolas Martinelli 9334645f82 [FIX] MANIFEST: alphabetical order is better :-) 2015-06-30 08:30:36 +02:00
florent.thomas f3298eb16e [FIX] MANIFEST: add the mp3 file in manifest
Necessary to include the mp3 files in the rpm package

Closes #7352
Fixes #6356
2015-06-30 08:24:16 +02:00
Aaron Bohy 9ebfa11b8c [FIX] Packaging, Scaffolding: template files extension
Add .template as extension of the template files because RPM packaging
produces an error when trying to compile the python template files,
which contains Jinja instructions.

Include *.template files in MANIFEST.in to package them.
2015-03-02 16:38:34 +01:00
Toilal 2e9e100d20 [FIX] Packaging: include all files from scaffold templates in MANIFEST.in
closes #5393
2015-02-27 12:04:08 +01:00
Aaron Bohy 59a7615d3c [FIX] Packaging: exclude *.hg* in MANIFEST.in
This fixes the lintian warning package-contains-vcs-control-file
for Debian packaging.
2015-01-23 11:11:27 +01:00
Simon Lejeune 7eb9c7e1f5 [FIX] packaging: debian: include less files in MANIFEST.IN 2015-01-14 16:06:54 +01:00
Simon Lejeune 24b2c93814 [FIX] Packaging: MANIFEST.in: include relevant files
As opposed to before, the source package includes requirements.txt,
LICENCE and the README.md. Note: avoiding to chip openerp.egg-info
leads to weird issues so let's just keep it at the moment.
2014-11-28 16:40:56 +01:00
Simon Lejeune 56b6c2fee4 [FIX] packaging: include RML & xsl in manifest.in 2014-10-10 18:12:07 +02:00
Simon Lejeune 735924878f [REF] setup: cleanup and linting of setup.py, reworked MANIFEST, added requirements.txt 2014-09-02 14:13:00 +02:00
Antony Lesuisse fd21912cfe [FIX] move back setup to root 2014-06-23 12:50:57 +02:00
Antony Lesuisse d4624fa826 [IMP] repository cleanup
- move packaging stuff to setup
- remove historical stuff
- remove oe, odoo-cmd-fme will be merged with the convered commands
- add an odoo.py script to run odo and boostrap it
- simplify README
- prepare to move documentation to the github wiki
2014-05-29 18:33:04 +02:00
Christophe Simonis 86fb92d68a [FIX] update MANIFEST.in to include openerp-gevent and oe binaries
bzr revid: chs@openerp.com-20140114161202-6lk7bqahf08dued8
2014-01-14 17:12:02 +01:00
Vo Minh Thu d276f15825 [FIX] MANIFEST.in: replaced gunicorn.conf.py with openerp-wsgi.py.
bzr revid: vmt@openerp.com-20130301141212-x3my38zeht0m09qr
2013-03-01 15:12:12 +01:00
Antony Lesuisse fd67e605f4 [FIX] packaging MANIFEST.in sdist includes everything
bzr revid: al@openerp.com-20111003175206-afjurox08f55jafh
2011-10-03 19:52:06 +02:00
Antony Lesuisse d1e40a55af [IMP] directory cleanups, moved historical cruft into history
bzr revid: al@openerp.com-20110926005444-a7vqjb05vep7xbvj
2011-09-26 02:54:44 +02:00
Vo Minh Thu dab2f60800 [REF] debian:
- removed no more needed patches
- added python-dateutil as dependency
- removed code to specify modules to add in the server
- added the debian directory to the setup.py sdist

bzr revid: vmt@openerp.com-20110328122958-x0jsdd8i3bsvjc81
2011-03-28 14:29:58 +02:00
Vo Minh Thu 79ed98fd14 [MERGE] merge from trunk.
bzr revid: vmt@openerp.com-20110321132318-8dp8xz8r8wr7q5ar
2011-03-21 14:23:18 +01:00
Julien Thewys b1a488d1de [FIX] win32 build script works again (fixes lp:735554)
lp bug: https://launchpad.net/bugs/735554 fixed

bzr revid: jth@openerp.com-20110317110522-mto9tdkx01j9ims1
2011-03-17 12:05:22 +01:00
Vo Minh Thu 7855fad593 [FIX] setup.py: use the new openerp module.
- python setup.py build seems to work (it produces the same result as before).
- the install seems not good: code and data are duplicated in both site-packages and dist-packages.
  (This was already true before.)
- The bin/openerp-server is not good yet.

bzr revid: vmt@openerp.com-20110224121830-hte18v9zzvel5zb5
2011-02-24 13:18:30 +01:00
Stephane Wirtel 619061d329 [FIX] Include the addons
bzr revid: stephane@openerp.com-20101018215929-lgnbh7faolgac1rx
2010-10-18 23:59:29 +02:00
Anup (OpenERP) 573c7bf951 [FIX] Add the pixmaps and win32 directories in the MANIFEST to have this directories in the tarball archives
bzr revid: ach@tinyerp.com-20100511120241-6nv9as8wbowz4m55
2010-05-11 17:32:41 +05:30
Stephane Wirtel d530f2fca6 [FIX] Add missing files
bzr revid: stephane@tinyerp.com-20081231104732-3gj68aja6rt0wmfh
2008-12-31 11:47:32 +01:00
Stephane Wirtel e6bfb7ef42 [FIX] Add missing files
bzr revid: stephane@tinyerp.com-20081231104318-lwcaeiwi3g0mdoev
2008-12-31 11:43:18 +01:00
Stephane Wirtel 4dd498422c [FIX] Add the gpl.txt file
bzr revid: stephane@tinyerp.com-20081231104047-5x93vo571tb3mzxd
2008-12-31 11:40:47 +01:00
Stephane Wirtel 99c6070e3f [FIX] Add the rpminstall_sh.txt script
lp bug: https://launchpad.net/bugs/311981 fixed

bzr revid: stephane@tinyerp.com-20081229102859-bgxe0btq1d315a6m
2008-12-29 11:28:59 +01:00
Stephane Wirtel 9bc72aad22 [FIX] Add the import_xml.rng file
bzr revid: stephane@tinyerp.com-20081222191755-ulgwh62u2zd03hne
2008-12-22 20:17:55 +01:00
Stephane Wirtel 57801a9d60 [FIX] Add some files
bzr revid: stephane@tinyerp.com-20081219124907-38g1q2r0895mr2ho
2008-12-19 13:49:07 +01:00
Stephane Wirtel 7c98dfe574 [FIX] Update the MANIFEST.in to include the rng files and the po files
[IMP] Remove the unused code in the setup

lp bug: https://launchpad.net/bugs/306039 fixed

bzr revid: stephane@tinyerp.com-20081215101013-rug27ding4cf059c
2008-12-15 11:10:13 +01:00
ced 18a6acc7db Add csv file to tgz
bzr revid: ced-fff837829617f038b2b7c6fa4875feda246c3be5
2007-08-16 06:57:33 +00:00
ced d86b1f0c04 Add report sxw/rml to sdist
bzr revid: ced-6eb8147b689e9b13eb7b144d6e83360eee07bedf
2007-08-13 07:49:52 +00:00
pinky 004a0b996f New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
2006-12-07 13:41:40 +00:00