diff --git a/10.0/Dockerfile b/10.0/Dockerfile deleted file mode 100644 index 8ebefb40..00000000 --- a/10.0/Dockerfile +++ /dev/null @@ -1,80 +0,0 @@ -FROM debian:jessie -MAINTAINER Camptocamp - -# create the working directory and a place to set the logs (if wanted) -RUN mkdir -p /odoo /var/log/odoo - -COPY ./base_requirements.txt /odoo -COPY ./install /install - -# Set Locale it needs to be present when installing python packages. -# Otherwise it can lead to issues. eg. when reading the setup.cfg -ENV LANG=C.UTF-8 \ - LC_ALL=C.UTF-8 - -# build and dev packages -ENV BUILD_PACKAGE \ - build-essential \ - python-dev \ - libffi-dev \ - libfreetype6-dev \ - libxml2-dev \ - libxslt1-dev \ - libsasl2-dev \ - libldap2-dev \ - libssl-dev \ - libjpeg-dev \ - zlib1g-dev \ - libfreetype6-dev \ - git - -ENV PURGE_PACKAGE npm - -# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf -RUN set -x; \ - /install/package_odoo_9.0_10.0.sh \ - && /install/disable_dst_root_cert-jessie.sh \ - && /install/setup-pip.sh \ - && /install/postgres.sh \ - && /install/kwkhtml_client.sh \ - && /install/dev_package.sh \ - && pip install -U "pip<21.0" "setuptools<45" \ - && pip install -r /odoo/base_requirements.txt \ - && /install/purge_dev_package_and_cache.sh - -# grab gosu for easy step-down from root and dockerize to generate template and -# wait on postgres -RUN /install/gosu.sh && /install/dockerize.sh - -COPY ./src_requirements.txt /odoo -COPY ./bin /odoo-bin -COPY ./bin-py2 /odoo-bin/ -COPY ./templates /templates -COPY ./before-migrate-entrypoint.d /before-migrate-entrypoint.d -COPY ./start-entrypoint.d /start-entrypoint.d -COPY ./MANIFEST.in /odoo -# Place coveragerc in workdir where coverage will be launched from -COPY ./.coveragerc / - -VOLUME ["/data/odoo", "/var/log/odoo"] - -# Expose Odoo services -EXPOSE 8069 8072 - -ENV ODOO_VERSION=10.0 \ - PATH=/odoo-bin:$PATH \ - DB_HOST=db \ - DB_PORT=5432 \ - DB_NAME=odoodb \ - DB_USER=odoo \ - DB_PASSWORD=odoo \ - ODOO_BASE_URL=http://localhost:8069 \ - ODOO_REPORT_URL=http://localhost:8069 \ - # the place where you put the data of your project (csv, ...) - ODOO_DATA_PATH=/odoo/data \ - DEMO=False \ - ADDONS_PATH=/odoo/local-src,/odoo/src/addons \ - OPENERP_SERVER=/etc/odoo.cfg - -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["odoo"] diff --git a/10.0/MANIFEST.in b/10.0/MANIFEST.in deleted file mode 100644 index 5dff9997..00000000 --- a/10.0/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include odoo/data * diff --git a/10.0/base_requirements.txt b/10.0/base_requirements.txt deleted file mode 100644 index 067e6f20..00000000 --- a/10.0/base_requirements.txt +++ /dev/null @@ -1,103 +0,0 @@ -# Odoo dependencies -# python_version = 2.7 -# sys_platform != 'win32' -# this is a copy of Odoo dependencies with some bumped versions -Babel==2.3.4 -decorator==4.0.10 -docutils==0.12 -ebaysdk==2.1.4 -feedparser==5.2.1 -gevent==1.1.2 -greenlet==0.4.10 -jcconv==0.2.3 -Jinja2==2.11.3 # official 2.10.1 -lxml==4.6.3 # official 3.5.0 -Mako==1.0.4 -MarkupSafe==0.23 -mock==2.0.0 -ofxparse==0.16 -passlib==1.6.5 -Pillow==6.2.2 # official 3.4.1 -psutil==5.7.0 # official 4.3.1 -psycogreen==1.0 -psycopg2==2.7.3.1 -pydot==1.2.3 -pyparsing==2.1.10 -pyPdf==1.13 -pyserial==3.1.1 -Python-Chart==1.39 -python-dateutil==2.5.3 -python-ldap==2.4.27 -python-openid==2.2.5 -pytz==2016.7 -pyusb==1.0.0 -PyYAML==5.4 # official 3.12 -qrcode==5.3 -reportlab==3.3.0 -requests==2.20.0 -six==1.10.0 -suds-jurko==0.6 -vatnumber==1.2 -vobject==0.9.3 -Werkzeug==0.16.0 # official 0.11.11 -wsgiref==0.1.2 -XlsxWriter==0.9.3 -xlwt==1.1.2 -xlrd==1.0.0 - -# Not part of official requirements, but used by some addons -chardet==3.0.4 -colorama==0.3.9 -future==0.16.0 -gdata==2.0.18 -html2text==2018.1.9 -html5lib==1.0.1 -odfpy==1.3.4 -odoo-autodiscover>=2.0.0 -pyinotify==0.9.4 -python-stdnum==1.9 -roman==2.0.0 -simplejson==3.6.5 -unittest2==1.1.0 -urllib3==1.24.2 - -# Migration tools -ruamel.yaml==0.16.13 -ruamel.yaml.clib==0.2.2 -marabunta==0.10.6 -anthem==0.13.0 - -# test / lint -# those libs and their dependencies are unpinned -# to always test with the last version of it -# DISCLAIMER: those are pinned to the last Python 2.7 compatible version -flake8==3.9.2 -pytest==4.6 -pluggy==0.13.1 -pytest-odoo -coverage==5.5 -watchdog==0.10.6 -pytest-cov==2.12.1 - -# Library dependency -argh==0.26.2 -atomicwrites==1.1.5 -attrs==18.1.0 -beautifulsoup4==4.6.0 -certifi==2020.4.5.1 -configparser==3.5.0 -enum34==1.1.6 -funcsigs==1.0.2 -importlib-metadata==2.1.1 -mccabe==0.6.1 -more-itertools==4.2.0 -pathtools==0.1.2 -pexpect==4.6.0 -ptyprocess==0.5.2 -py==1.5.3 -pycodestyle==2.3.1 -pyflakes==1.6.0 -unicodecsv==0.14.1 -wrapt==1.10.11 -zipp==1.2.0 -contextlib2==0.6.0 diff --git a/10.0/extra_requirements.txt b/10.0/extra_requirements.txt deleted file mode 100644 index 93e01548..00000000 --- a/10.0/extra_requirements.txt +++ /dev/null @@ -1,52 +0,0 @@ -# Extra python dependencies -algoliasearch==1.17.0 -Adyen==1.2.0 -cachetools==2.1.0 -cerberus==1.2 -boto3==1.7.40 -factur-x==0.3 -invoice2data==0.2.74 -magento==3.0 -mailjet-rest==1.3.0 -openupgradelib==1.3.2 -paramiko==2.4.2 -parse-accept-language==0.1.2 -paypalrestsdk==1.13.1 -phonenumbers==8.9.8 -pyquerystring==1.0.2 -pyOpenSSL==18.0.0 -pyquerystring==1.0.2 -pysimplesoap==1.16.2 -requests-mock==1.5.0 -slugify==0.0.1 -stripe==1.82.2 -unidecode==1.0.22 -vcrpy==1.12.0 - -# Library dependency -asn1crypto==0.24.0 -bcrypt==3.1.4 -botocore==1.10.40 -Cerberus==1.2 -certifi==2018.4.16 -cffi==1.11.5 -contextlib2==0.5.5 -cryptography==3.2 -dateparser==0.7.0 -futures==3.2.0 -idna==2.7 -ipaddress==1.0.22 -jmespath==0.9.3 -pdfminer.six==20170720 -pyasn1==0.4.3 -pycparser==2.18 -pycryptodome==3.6.6 -PyNaCl==1.2.1 -PyPDF2==1.26.0 -PySimpleSOAP==1.16.2 -pytesseract==0.2.2 -regex==2018.6.9 -s3transfer==0.1.13 -suds-jurko==0.6 -tzlocal==1.5.1 -Unidecode==1.0.22 diff --git a/10.0/src_requirements.txt b/10.0/src_requirements.txt deleted file mode 100644 index 69b456a7..00000000 --- a/10.0/src_requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Requirements for the project itself and for Odoo. -# When we install Odoo with -e, odoo.py is available in the PATH and -# 'openerp' in the PYTHONPATH -# -# They are installed only after all the project's files have been copied -# into the image (with ONBUILD) --e . --e src diff --git a/10.0/templates/odoo.cfg.tmpl b/10.0/templates/odoo.cfg.tmpl deleted file mode 100644 index 96c96427..00000000 --- a/10.0/templates/odoo.cfg.tmpl +++ /dev/null @@ -1,51 +0,0 @@ -[options] -addons_path = {{ .Env.ADDONS_PATH }} -data_dir = /data/odoo -auto_reload = False -db_host = {{ .Env.DB_HOST }} -db_name = {{ .Env.DB_NAME }} -db_user = {{ .Env.DB_USER }} -db_password = {{ .Env.DB_PASSWORD }} -dbfilter = ^{{ default .Env.DB_FILTER .Env.DB_NAME }}$ -list_db = {{ default .Env.LIST_DB "False" }} -admin_passwd = {{ default .Env.ADMIN_PASSWD "" }} -db_maxconn = {{ default .Env.DB_MAXCONN "64" }} -limit_memory_soft = {{ default .Env.LIMIT_MEMORY_SOFT "2147483648" }} -limit_memory_hard = {{ default .Env.LIMIT_MEMORY_HARD "2684354560" }} -limit_request = {{ default .Env.LIMIT_REQUEST "8192" }} -limit_time_cpu = {{ default .Env.LIMIT_TIME_CPU "60" }} -limit_time_real = {{ default .Env.LIMIT_TIME_REAL "120" }} -log_handler = {{ default .Env.LOG_HANDLER "':INFO'" }} -log_level = {{ default .Env.LOG_LEVEL "info" }} -max_cron_threads = {{ default .Env.MAX_CRON_THREADS "2" }} -workers = {{ default .Env.WORKERS "4" }} -logfile = {{ default .Env.LOGFILE "None" }} -log_db = {{ default .Env.LOG_DB "False" }} -logrotate = True -syslog = {{ default .Env.SYSLOG "False" }} -running_env = {{ default .Env.RUNNING_ENV "dev" }} -without_demo = {{ default .Env.WITHOUT_DEMO "True" }} -server_wide_modules = {{ default .Env.SERVER_WIDE_MODULES "" }} -; We can activate proxy_mode even if we are not behind a proxy, because -; it is used only if HTTP_X_FORWARDED_HOST is set in environ -proxy_mode = True -; csv_internal_sep = , -; db_template = template1 -; debug_mode = False -; email_from = False -; longpolling_port = 8072 -; osv_memory_age_limit = 1.0 -; osv_memory_count_limit = False -; smtp_password = False -; smtp_port = 25 -; smtp_server = localhost -; smtp_ssl = False -; smtp_user = False -; xmlrpc = True -; xmlrpc_interface = -; xmlrpc_port = 8069 -; xmlrpcs = True -; xmlrpcs_interface = -; xmlrpcs_port = 8071 -unaccent = {{ default .Env.UNACCENT "False" }} -{{ default .Env.ADDITIONAL_ODOO_RC "" }} diff --git a/7.0/Dockerfile b/7.0/Dockerfile deleted file mode 100644 index fd63525a..00000000 --- a/7.0/Dockerfile +++ /dev/null @@ -1,81 +0,0 @@ -FROM debian:jessie -MAINTAINER Camptocamp - -# create the working directory and a place to set the logs (if wanted) -RUN mkdir -p /odoo /var/log/odoo - -COPY ./base_requirements.txt /odoo -COPY ./install /install - -# Set Locale it needs to be present when installing python packages. -# Otherwise it can lead to issues. eg. when reading the setup.cfg -ENV LANG=C.UTF-8 \ - LC_ALL=C.UTF-8 - -# build and dev packages -ENV BUILD_PACKAGE \ - build-essential \ - python-dev \ - libffi-dev \ - libfreetype6-dev \ - libxml2-dev \ - libxslt1-dev \ - libsasl2-dev \ - libldap2-dev \ - libssl-dev \ - libjpeg-dev \ - libcups2-dev \ - zlib1g-dev \ - libfreetype6-dev \ - git - -ENV PURGE_PACKAGE npm - -# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf -RUN set -x; \ - /install/package_odoo_9.0_10.0.sh \ - && /install/disable_dst_root_cert-jessie.sh \ - && /install/setup-pip.sh \ - && /install/postgres.sh \ - && /install/dev_package.sh \ - && /install/kwkhtml_client.sh \ - && pip install -U "pip<21.0" "setuptools<45" \ - && pip install -r /odoo/base_requirements.txt \ - && /install/purge_dev_package_and_cache.sh - -# grab gosu for easy step-down from root and dockerize to generate template and -# wait on postgres -RUN /install/gosu.sh && /install/dockerize.sh - -COPY ./src_requirements.txt /odoo -COPY ./bin /odoo-bin -COPY ./bin-compat /odoo-bin-compat -COPY ./templates /templates -COPY ./before-migrate-entrypoint.d /before-migrate-entrypoint.d -COPY ./start-entrypoint.d /start-entrypoint.d -COPY ./MANIFEST.in /odoo -# Place coveragerc in workdir where coverage will be launched from -COPY ./.coveragerc / - -VOLUME ["/data/odoo", "/var/log/odoo"] - -# Expose Odoo services -EXPOSE 8069 8072 - -ENV ODOO_VERSION=7.0 \ - PATH=/odoo-bin:/odoo-bin-compat:$PATH \ - DB_HOST=db \ - DB_PORT=5432 \ - DB_NAME=odoodb \ - DB_USER=odoo \ - DB_PASSWORD=odoo \ - ODOO_BASE_URL=http://localhost:8069 \ - ODOO_REPORT_URL=http://localhost:8069 \ - # the place where you put the data of your project (csv, ...) - ODOO_DATA_PATH=/odoo/data \ - DEMO=False \ - ADDONS_PATH=/odoo/local-src,/odoo/src/addons \ - OPENERP_SERVER=/etc/odoo.cfg - -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["odoo"] diff --git a/7.0/MANIFEST.in b/7.0/MANIFEST.in deleted file mode 100644 index 5dff9997..00000000 --- a/7.0/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include odoo/data * diff --git a/7.0/base_requirements.txt b/7.0/base_requirements.txt deleted file mode 100644 index 6dd1b29c..00000000 --- a/7.0/base_requirements.txt +++ /dev/null @@ -1,83 +0,0 @@ -# Odoo dependencies -# python_version = 2.7 -# sys_platform != 'win32' -# this is a copy of Odoo dependencies with some bumped versions -Babel==1.3 -Jinja2==2.10.1 -Mako==1.0.0 -MarkupSafe==0.23 -Pillow==3.4.2 -Python-Chart==1.39 -PyYAML==4.2b1 -Werkzeug==0.9.6 -argparse==1.2.1 -decorator==3.4.0 -docutils==0.12 -feedparser==5.1.3 -gdata==2.0.18 -gevent==1.0.2 -greenlet==0.4.7 -jcconv==0.2.3 -lxml==3.3.5 -mock==1.0.1 -passlib==1.6.2 -psutil==5.7.0 -psycogreen==1.0 -psycopg2==2.7.1 -pyPdf==1.13 -pycups==1.9.73 -pydot==1.0.2 -pyparsing==1.5.7 -pyserial==2.7 -python-dateutil==1.5 -python-ldap==2.4.15 -python-openid==2.2.5 -pytz==2014.4 -pyusb==1.0.0b1 -qrcode==5.0.1 -reportlab==3.1.44 -requests==2.20.0 -simplejson==3.5.3 -six==1.10.0 -unittest2==0.5.1 -vatnumber==1.2 -vobject==0.6.6 -wsgiref==0.1.2 -xlwt==0.7.5 - -# Migration tools -ruamel.yaml==0.16.13 -ruamel.yaml.clib==0.2.2 -marabunta==0.10.6 -ERPpeek==1.7.1 - -# test / lint -# those libs and their dependencies are unpinned -# to always test with the last version of it -flake8 -pytest==4.6 -pytest-odoo -coverage==5.5 -watchdog==0.10.6 -pytest-cov==2.12.1 - -# Library dependency -argh==0.26.2 -atomicwrites==1.1.5 -attrs==18.1.0 -beautifulsoup4==4.6.0 -configparser==3.5.0 -enum34==1.1.6 -funcsigs==1.0.2 -importlib-metadata==2.1.1 -mccabe==0.6.1 -more-itertools==4.2.0 -pathtools==0.1.2 -pexpect==4.6.0 -ptyprocess==0.5.2 -py==1.5.3 -pycodestyle==2.3.1 -pyflakes==1.6.0 -unicodecsv==0.14.1 -wrapt==1.10.11 -zipp==1.2.0 diff --git a/7.0/bin-compat/anthem b/7.0/bin-compat/anthem deleted file mode 100755 index 3775b92a..00000000 --- a/7.0/bin-compat/anthem +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# "Hack" to avoid crashing tests on legacy Odoo versions - -set -e -echo "WARNING! Legacy project => Anthem will not do anything" -exit 0 diff --git a/7.0/bin-compat/odoo b/7.0/bin-compat/odoo deleted file mode 100755 index 77e50731..00000000 --- a/7.0/bin-compat/odoo +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# Compatibility with Odoo 10 -# where the 'odoo.py' command is renamed to 'odoo'. -# -# All the local scripts use 'odoo' so we can -# be compatible with both versions - -set -e - -exec openerp-server "$@" diff --git a/7.0/extra_requirements.txt b/7.0/extra_requirements.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/7.0/src_requirements.txt b/7.0/src_requirements.txt deleted file mode 100644 index 69b456a7..00000000 --- a/7.0/src_requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Requirements for the project itself and for Odoo. -# When we install Odoo with -e, odoo.py is available in the PATH and -# 'openerp' in the PYTHONPATH -# -# They are installed only after all the project's files have been copied -# into the image (with ONBUILD) --e . --e src diff --git a/7.0/templates/openerp.cfg.tmpl b/7.0/templates/openerp.cfg.tmpl deleted file mode 100644 index b21b811d..00000000 --- a/7.0/templates/openerp.cfg.tmpl +++ /dev/null @@ -1,50 +0,0 @@ -[options] -addons_path = {{ .Env.ADDONS_PATH }} -data_dir = /data/odoo -auto_reload = False -db_host = {{ .Env.DB_HOST }} -db_name = {{ .Env.DB_NAME }} -db_user = {{ .Env.DB_USER }} -db_password = {{ .Env.DB_PASSWORD }} -dbfilter = ^{{ default .Env.DB_FILTER .Env.DB_NAME }}$ -list_db = {{ default .Env.LIST_DB "False" }} -admin_passwd = {{ default .Env.ADMIN_PASSWD "" }} -db_maxconn = {{ default .Env.DB_MAXCONN "64" }} -limit_memory_soft = {{ default .Env.LIMIT_MEMORY_SOFT "2147483648" }} -limit_memory_hard = {{ default .Env.LIMIT_MEMORY_HARD "2684354560" }} -limit_request = {{ default .Env.LIMIT_REQUEST "8192" }} -limit_time_cpu = {{ default .Env.LIMIT_TIME_CPU "60" }} -limit_time_real = {{ default .Env.LIMIT_TIME_REAL "120" }} -log_handler = {{ default .Env.LOG_HANDLER "':INFO'" }} -log_level = {{ default .Env.LOG_LEVEL "info" }} -max_cron_threads = {{ default .Env.MAX_CRON_THREADS "2" }} -workers = {{ default .Env.WORKERS "4" }} -logfile = {{ default .Env.LOGFILE "None" }} -log_db = {{ default .Env.LOG_DB "False" }} -logrotate = True -syslog = {{ default .Env.SYSLOG "False" }} -running_env = {{ default .Env.RUNNING_ENV "dev" }} -without_demo = {{ default .Env.WITHOUT_DEMO "True" }} -; We can activate proxy_mode even if we are not behind a proxy, because -; it is used only if HTTP_X_FORWARDED_HOST is set in environ -proxy_mode = True -; csv_internal_sep = , -; db_template = template1 -; debug_mode = False -; email_from = False -; longpolling_port = 8072 -; osv_memory_age_limit = 1.0 -; osv_memory_count_limit = False -; smtp_password = False -; smtp_port = 25 -; smtp_server = localhost -; smtp_ssl = False -; smtp_user = False -; xmlrpc = True -; xmlrpc_interface = -; xmlrpc_port = 8069 -; xmlrpcs = True -; xmlrpcs_interface = -; xmlrpcs_port = 8071 -unaccent = {{ default .Env.UNACCENT "False" }} -{{ default .Env.ADDITIONAL_ODOO_RC "" }} diff --git a/8.0/Dockerfile b/8.0/Dockerfile deleted file mode 100644 index 6b7dab0b..00000000 --- a/8.0/Dockerfile +++ /dev/null @@ -1,82 +0,0 @@ -FROM debian:jessie -MAINTAINER Camptocamp - -# create the working directory and a place to set the logs (if wanted) -RUN mkdir -p /odoo /var/log/odoo - -COPY ./base_requirements.txt /odoo -COPY ./install /install - -# Set Locale it needs to be present when installing python packages. -# Otherwise it can lead to issues. eg. when reading the setup.cfg -ENV LANG=C.UTF-8 \ - LC_ALL=C.UTF-8 - -# build and dev packages -ENV BUILD_PACKAGE \ - build-essential \ - python-dev \ - libffi-dev \ - libfreetype6-dev \ - libxml2-dev \ - libxslt1-dev \ - libsasl2-dev \ - libldap2-dev \ - libssl-dev \ - libjpeg-dev \ - libcups2-dev \ - zlib1g-dev \ - libfreetype6-dev \ - git - -ENV PURGE_PACKAGE npm - -# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf -RUN set -x; \ - /install/package_odoo_9.0_10.0.sh \ - && /install/disable_dst_root_cert-jessie.sh \ - && /install/setup-pip.sh \ - && /install/postgres.sh \ - && /install/kwkhtml_client.sh \ - && /install/dev_package.sh \ - && pip install -U "pip<21.0" "setuptools<45" \ - && pip install -r /odoo/base_requirements.txt \ - && /install/purge_dev_package_and_cache.sh - -# grab gosu for easy step-down from root and dockerize to generate template and -# wait on postgres -RUN /install/gosu.sh && /install/dockerize.sh - -COPY ./src_requirements.txt /odoo -COPY ./bin /odoo-bin -COPY ./bin-py2 /odoo-bin/ -COPY ./bin-compat /odoo-bin-compat -COPY ./templates /templates -COPY ./before-migrate-entrypoint.d /before-migrate-entrypoint.d -COPY ./start-entrypoint.d /start-entrypoint.d -COPY ./MANIFEST.in /odoo -# Place coveragerc in workdir where coverage will be launched from -COPY ./.coveragerc / - -VOLUME ["/data/odoo", "/var/log/odoo"] - -# Expose Odoo services -EXPOSE 8069 8072 - -ENV ODOO_VERSION=8.0 \ - PATH=/odoo-bin:/odoo-bin-compat:$PATH \ - DB_HOST=db \ - DB_PORT=5432 \ - DB_NAME=odoodb \ - DB_USER=odoo \ - DB_PASSWORD=odoo \ - ODOO_BASE_URL=http://localhost:8069 \ - ODOO_REPORT_URL=http://localhost:8069 \ - # the place where you put the data of your project (csv, ...) - ODOO_DATA_PATH=/odoo/data \ - DEMO=False \ - ADDONS_PATH=/odoo/local-src,/odoo/src/addons \ - OPENERP_SERVER=/etc/odoo.cfg - -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["odoo"] diff --git a/8.0/MANIFEST.in b/8.0/MANIFEST.in deleted file mode 100644 index 5dff9997..00000000 --- a/8.0/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include odoo/data * diff --git a/8.0/base_requirements.txt b/8.0/base_requirements.txt deleted file mode 100644 index eb9f45c5..00000000 --- a/8.0/base_requirements.txt +++ /dev/null @@ -1,84 +0,0 @@ -# Odoo dependencies -# python_version = 2.7 -# sys_platform != 'win32' -# this is a copy of Odoo dependencies with some bumped versions -Babel==1.3 -Jinja2==2.10.1 -Mako==1.0.0 -MarkupSafe==0.23 -Pillow==3.4.2 -Python-Chart==1.39 -PyYAML==4.2b1 -Werkzeug==0.9.6 -argparse==1.2.1 -decorator==3.4.0 -docutils==0.12 -feedparser==5.1.3 -gdata==2.0.18 -gevent==1.0.2 -greenlet==0.4.7 -jcconv==0.2.3 -lxml==3.3.5 -mock==1.0.1 -passlib==1.6.2 -psutil==5.7.0 -psycogreen==1.0 -psycopg2==2.7.1 -pyPdf==1.13 -pycups==1.9.73 -pydot==1.0.2 -pyparsing==2.1.0 -pyserial==2.7 -python-dateutil==1.5 -python-ldap==2.4.15 -python-openid==2.2.5 -pytz==2014.4 -pyusb==1.0.0b1 -qrcode==5.0.1 -reportlab==3.1.44 -requests==2.20.0 -simplejson==3.5.3 -six==1.10.0 -unittest2==0.5.1 -vatnumber==1.2 -vobject==0.6.6 -wsgiref==0.1.2 -xlwt==0.7.5 - -# Migration tools -ruamel.yaml==0.16.13 -ruamel.yaml.clib==0.2.2 -marabunta==0.10.6 -ERPpeek==1.7.1 - -# test / lint -# those libs and their dependencies are unpinned -# to always test with the last version of it -flake8 -pytest==4.6 -pytest-odoo -coverage==5.5 -watchdog==0.10.6 -pytest-cov==2.12.1 - -# Library dependency -argh==0.26.2 -atomicwrites==1.1.5 -attrs==18.1.0 -beautifulsoup4==4.6.0 -certifi==2020.4.5.1 -configparser==3.5.0 -enum34==1.1.6 -funcsigs==1.0.2 -importlib-metadata==2.1.1 -mccabe==0.6.1 -more-itertools==4.2.0 -pathtools==0.1.2 -pexpect==4.6.0 -ptyprocess==0.5.2 -py==1.5.3 -pycodestyle==2.3.1 -pyflakes==1.6.0 -unicodecsv==0.14.1 -wrapt==1.10.11 -zipp==1.2.0 diff --git a/8.0/bin-compat/anthem b/8.0/bin-compat/anthem deleted file mode 100755 index 3775b92a..00000000 --- a/8.0/bin-compat/anthem +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# "Hack" to avoid crashing tests on legacy Odoo versions - -set -e -echo "WARNING! Legacy project => Anthem will not do anything" -exit 0 diff --git a/8.0/bin-compat/odoo b/8.0/bin-compat/odoo deleted file mode 100755 index 983037ce..00000000 --- a/8.0/bin-compat/odoo +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# Compatibility with Odoo 10 -# where the 'odoo.py' command is renamed to 'odoo'. -# -# All the local scripts use 'odoo' so we can -# be compatible with both versions - -set -e - -exec odoo.py "$@" diff --git a/8.0/extra_requirements.txt b/8.0/extra_requirements.txt deleted file mode 100644 index e2442655..00000000 --- a/8.0/extra_requirements.txt +++ /dev/null @@ -1,52 +0,0 @@ -# Extra python dependencies -algoliasearch==1.17.0 -Adyen==1.2.0 -cachetools==2.1.0 -cerberus==1.2 -boto3==1.7.40 -factur-x==0.3 -invoice2data==0.2.74 -magento==3.0 -mailjet-rest==1.3.0 -openupgradelib==1.3.2 -paramiko==2.4.2 -parse-accept-language==0.1.2 -paypalrestsdk==1.13.1 -phonenumbers==8.9.8 -pyquerystring==1.0.2 -pyOpenSSL==18.0.0 -pyquerystring==1.0.2 -pysimplesoap==1.16.2 -requests-mock==1.5.0 -slugify==0.0.1 -stripe==1.82.2 -unidecode==1.0.22 -vcrpy==1.12.0 - -# Library dependency -asn1crypto==0.24.0 -bcrypt==3.1.4 -botocore==1.10.40 -Cerberus==1.2 -certifi==2018.4.16 -cffi==1.11.5 -contextlib2==0.5.5 -cryptography==2.3.0 -dateparser==0.7.0 -futures==3.2.0 -idna==2.7 -ipaddress==1.0.22 -jmespath==0.9.3 -pdfminer.six==20170720 -pyasn1==0.4.3 -pycparser==2.18 -pycryptodome==3.6.6 -PyNaCl==1.2.1 -PyPDF2==1.26.0 -PySimpleSOAP==1.16.2 -pytesseract==0.2.2 -regex==2018.6.9 -s3transfer==0.1.13 -suds-jurko==0.6 -tzlocal==1.5.1 -Unidecode==1.0.22 diff --git a/8.0/src_requirements.txt b/8.0/src_requirements.txt deleted file mode 100644 index 69b456a7..00000000 --- a/8.0/src_requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Requirements for the project itself and for Odoo. -# When we install Odoo with -e, odoo.py is available in the PATH and -# 'openerp' in the PYTHONPATH -# -# They are installed only after all the project's files have been copied -# into the image (with ONBUILD) --e . --e src diff --git a/8.0/templates/openerp.cfg.tmpl b/8.0/templates/openerp.cfg.tmpl deleted file mode 100644 index b21b811d..00000000 --- a/8.0/templates/openerp.cfg.tmpl +++ /dev/null @@ -1,50 +0,0 @@ -[options] -addons_path = {{ .Env.ADDONS_PATH }} -data_dir = /data/odoo -auto_reload = False -db_host = {{ .Env.DB_HOST }} -db_name = {{ .Env.DB_NAME }} -db_user = {{ .Env.DB_USER }} -db_password = {{ .Env.DB_PASSWORD }} -dbfilter = ^{{ default .Env.DB_FILTER .Env.DB_NAME }}$ -list_db = {{ default .Env.LIST_DB "False" }} -admin_passwd = {{ default .Env.ADMIN_PASSWD "" }} -db_maxconn = {{ default .Env.DB_MAXCONN "64" }} -limit_memory_soft = {{ default .Env.LIMIT_MEMORY_SOFT "2147483648" }} -limit_memory_hard = {{ default .Env.LIMIT_MEMORY_HARD "2684354560" }} -limit_request = {{ default .Env.LIMIT_REQUEST "8192" }} -limit_time_cpu = {{ default .Env.LIMIT_TIME_CPU "60" }} -limit_time_real = {{ default .Env.LIMIT_TIME_REAL "120" }} -log_handler = {{ default .Env.LOG_HANDLER "':INFO'" }} -log_level = {{ default .Env.LOG_LEVEL "info" }} -max_cron_threads = {{ default .Env.MAX_CRON_THREADS "2" }} -workers = {{ default .Env.WORKERS "4" }} -logfile = {{ default .Env.LOGFILE "None" }} -log_db = {{ default .Env.LOG_DB "False" }} -logrotate = True -syslog = {{ default .Env.SYSLOG "False" }} -running_env = {{ default .Env.RUNNING_ENV "dev" }} -without_demo = {{ default .Env.WITHOUT_DEMO "True" }} -; We can activate proxy_mode even if we are not behind a proxy, because -; it is used only if HTTP_X_FORWARDED_HOST is set in environ -proxy_mode = True -; csv_internal_sep = , -; db_template = template1 -; debug_mode = False -; email_from = False -; longpolling_port = 8072 -; osv_memory_age_limit = 1.0 -; osv_memory_count_limit = False -; smtp_password = False -; smtp_port = 25 -; smtp_server = localhost -; smtp_ssl = False -; smtp_user = False -; xmlrpc = True -; xmlrpc_interface = -; xmlrpc_port = 8069 -; xmlrpcs = True -; xmlrpcs_interface = -; xmlrpcs_port = 8071 -unaccent = {{ default .Env.UNACCENT "False" }} -{{ default .Env.ADDITIONAL_ODOO_RC "" }} diff --git a/9.0/Dockerfile b/9.0/Dockerfile deleted file mode 100644 index ced82519..00000000 --- a/9.0/Dockerfile +++ /dev/null @@ -1,81 +0,0 @@ -FROM debian:jessie -MAINTAINER Camptocamp - -# create the working directory and a place to set the logs (if wanted) -RUN mkdir -p /odoo /var/log/odoo - -COPY ./base_requirements.txt /odoo -COPY ./install /install - -# Set Locale it needs to be present when installing python packages. -# Otherwise it can lead to issues. eg. when reading the setup.cfg -ENV LANG=C.UTF-8 \ - LC_ALL=C.UTF-8 - -# build and dev packages -ENV BUILD_PACKAGE \ - build-essential \ - python-dev \ - libffi-dev \ - libfreetype6-dev \ - libxml2-dev \ - libxslt1-dev \ - libsasl2-dev \ - libldap2-dev \ - libssl-dev \ - libjpeg-dev \ - zlib1g-dev \ - libfreetype6-dev \ - git - -ENV PURGE_PACKAGE npm - -# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf -RUN set -x; \ - /install/package_odoo_9.0_10.0.sh \ - && /install/disable_dst_root_cert-jessie.sh \ - && /install/setup-pip.sh \ - && /install/postgres.sh \ - && /install/kwkhtml_client.sh \ - && /install/dev_package.sh \ - && pip install -U "pip<21.0" "setuptools<45" \ - && pip install -r /odoo/base_requirements.txt \ - && /install/purge_dev_package_and_cache.sh - -# grab gosu for easy step-down from root and dockerize to generate template and -# wait on postgres -RUN /install/gosu.sh && /install/dockerize.sh - -COPY ./src_requirements.txt /odoo -COPY ./bin /odoo-bin -COPY ./bin-py2 /odoo-bin/ -COPY ./bin-compat /odoo-bin-compat -COPY ./templates /templates -COPY ./before-migrate-entrypoint.d /before-migrate-entrypoint.d -COPY ./start-entrypoint.d /start-entrypoint.d -COPY ./MANIFEST.in /odoo -# Place coveragerc in workdir where coverage will be launched from -COPY ./.coveragerc / - -VOLUME ["/data/odoo", "/var/log/odoo"] - -# Expose Odoo services -EXPOSE 8069 8072 - -ENV ODOO_VERSION=9.0 \ - PATH=/odoo-bin:/odoo-bin-compat:$PATH \ - DB_HOST=db \ - DB_PORT=5432 \ - DB_NAME=odoodb \ - DB_USER=odoo \ - DB_PASSWORD=odoo \ - ODOO_BASE_URL=http://localhost:8069 \ - ODOO_REPORT_URL=http://localhost:8069 \ - # the place where you put the data of your project (csv, ...) - ODOO_DATA_PATH=/odoo/data \ - DEMO=False \ - ADDONS_PATH=/odoo/local-src,/odoo/src/addons \ - OPENERP_SERVER=/etc/odoo.cfg - -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["odoo"] diff --git a/9.0/MANIFEST.in b/9.0/MANIFEST.in deleted file mode 100644 index 5dff9997..00000000 --- a/9.0/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include odoo/data * diff --git a/9.0/base_requirements.txt b/9.0/base_requirements.txt deleted file mode 100644 index 2da03d2a..00000000 --- a/9.0/base_requirements.txt +++ /dev/null @@ -1,93 +0,0 @@ -# Odoo dependencies -# python_version = 2.7 -# sys_platform != 'win32' -# this is a copy of Odoo dependencies with some bumped versions -Babel==2.3.4 -Jinja2==2.10.1 -Mako==1.0.4 -MarkupSafe==0.23 -Pillow==6.2.2 -Python-Chart==1.39 -PyYAML==4.2b4 -Werkzeug==0.16.0 -chardet==3.0.4 -colorama==0.3.9 -decorator==4.0.10 -docutils==0.12 -feedparser==5.2.1 -future==0.16.0 -gevent==1.1.2 -greenlet==0.4.10 -html2text==2018.1.9 -html5lib==1.0.1 -lxml==3.5.0 -mock==2.0.0 -odfpy==1.3.4 -ofxparse==0.16 -passlib==1.6.5 -psutil==5.7.0 -psycopg2==2.7.3.1 -pyPdf==1.13 -pyinotify==0.9.4 -pyparsing==2.1.10 -python-dateutil==2.5.3 -python-ldap==2.4.27 -python-openid==2.2.5 -python-stdnum==1.9 -pytz==2016.7 -reportlab==3.3.0 -requests==2.20.0 -roman==2.0.0 -simplejson==3.6.5 -six==1.10.0 -unittest2==1.1.0 -urllib3==1.24.2 -vatnumber==1.2 -vobject==0.9.3 -wsgiref==0.1.2 -XlsxWriter==0.9.3 -xlwt==1.1.2 -xlrd==1.0.0 -# version in debian has problems -pydot==1.2.3 -suds-jurko==0.6 - -# Migration tools -ruamel.yaml==0.16.13 -ruamel.yaml.clib==0.2.2 -marabunta==0.10.6 -anthem==0.13.0 - -# test / lint -# those libs and their dependencies are unpinned -# to always test with the last version of it -# DISCLAIMER: those are pinned to the last Python 2.7 compatible version -flake8==3.9.2 -pytest==4.6 -pytest-odoo -coverage==5.5 -watchdog==0.10.6 -pytest-cov==2.12.1 - -# Library dependency -argh==0.26.2 -atomicwrites==1.1.5 -attrs==18.1.0 -beautifulsoup4==4.6.0 -certifi==2020.4.5.1 -configparser==3.5.0 -enum34==1.1.6 -funcsigs==1.0.2 -importlib-metadata==2.1.1 -mccabe==0.6.1 -more-itertools==4.2.0 -pathtools==0.1.2 -pexpect==4.6.0 -ptyprocess==0.5.2 -py==1.5.3 -pycodestyle==2.3.1 -pyflakes==1.6.0 -unicodecsv==0.14.1 -wrapt==1.10.11 -zipp==1.2.0 -contextlib2==0.6.0 diff --git a/9.0/bin-compat/odoo b/9.0/bin-compat/odoo deleted file mode 100755 index 983037ce..00000000 --- a/9.0/bin-compat/odoo +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# Compatibility with Odoo 10 -# where the 'odoo.py' command is renamed to 'odoo'. -# -# All the local scripts use 'odoo' so we can -# be compatible with both versions - -set -e - -exec odoo.py "$@" diff --git a/9.0/extra_requirements.txt b/9.0/extra_requirements.txt deleted file mode 100644 index e2442655..00000000 --- a/9.0/extra_requirements.txt +++ /dev/null @@ -1,52 +0,0 @@ -# Extra python dependencies -algoliasearch==1.17.0 -Adyen==1.2.0 -cachetools==2.1.0 -cerberus==1.2 -boto3==1.7.40 -factur-x==0.3 -invoice2data==0.2.74 -magento==3.0 -mailjet-rest==1.3.0 -openupgradelib==1.3.2 -paramiko==2.4.2 -parse-accept-language==0.1.2 -paypalrestsdk==1.13.1 -phonenumbers==8.9.8 -pyquerystring==1.0.2 -pyOpenSSL==18.0.0 -pyquerystring==1.0.2 -pysimplesoap==1.16.2 -requests-mock==1.5.0 -slugify==0.0.1 -stripe==1.82.2 -unidecode==1.0.22 -vcrpy==1.12.0 - -# Library dependency -asn1crypto==0.24.0 -bcrypt==3.1.4 -botocore==1.10.40 -Cerberus==1.2 -certifi==2018.4.16 -cffi==1.11.5 -contextlib2==0.5.5 -cryptography==2.3.0 -dateparser==0.7.0 -futures==3.2.0 -idna==2.7 -ipaddress==1.0.22 -jmespath==0.9.3 -pdfminer.six==20170720 -pyasn1==0.4.3 -pycparser==2.18 -pycryptodome==3.6.6 -PyNaCl==1.2.1 -PyPDF2==1.26.0 -PySimpleSOAP==1.16.2 -pytesseract==0.2.2 -regex==2018.6.9 -s3transfer==0.1.13 -suds-jurko==0.6 -tzlocal==1.5.1 -Unidecode==1.0.22 diff --git a/9.0/src_requirements.txt b/9.0/src_requirements.txt deleted file mode 100644 index 69b456a7..00000000 --- a/9.0/src_requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Requirements for the project itself and for Odoo. -# When we install Odoo with -e, odoo.py is available in the PATH and -# 'openerp' in the PYTHONPATH -# -# They are installed only after all the project's files have been copied -# into the image (with ONBUILD) --e . --e src diff --git a/9.0/templates/openerp.cfg.tmpl b/9.0/templates/openerp.cfg.tmpl deleted file mode 100644 index b21b811d..00000000 --- a/9.0/templates/openerp.cfg.tmpl +++ /dev/null @@ -1,50 +0,0 @@ -[options] -addons_path = {{ .Env.ADDONS_PATH }} -data_dir = /data/odoo -auto_reload = False -db_host = {{ .Env.DB_HOST }} -db_name = {{ .Env.DB_NAME }} -db_user = {{ .Env.DB_USER }} -db_password = {{ .Env.DB_PASSWORD }} -dbfilter = ^{{ default .Env.DB_FILTER .Env.DB_NAME }}$ -list_db = {{ default .Env.LIST_DB "False" }} -admin_passwd = {{ default .Env.ADMIN_PASSWD "" }} -db_maxconn = {{ default .Env.DB_MAXCONN "64" }} -limit_memory_soft = {{ default .Env.LIMIT_MEMORY_SOFT "2147483648" }} -limit_memory_hard = {{ default .Env.LIMIT_MEMORY_HARD "2684354560" }} -limit_request = {{ default .Env.LIMIT_REQUEST "8192" }} -limit_time_cpu = {{ default .Env.LIMIT_TIME_CPU "60" }} -limit_time_real = {{ default .Env.LIMIT_TIME_REAL "120" }} -log_handler = {{ default .Env.LOG_HANDLER "':INFO'" }} -log_level = {{ default .Env.LOG_LEVEL "info" }} -max_cron_threads = {{ default .Env.MAX_CRON_THREADS "2" }} -workers = {{ default .Env.WORKERS "4" }} -logfile = {{ default .Env.LOGFILE "None" }} -log_db = {{ default .Env.LOG_DB "False" }} -logrotate = True -syslog = {{ default .Env.SYSLOG "False" }} -running_env = {{ default .Env.RUNNING_ENV "dev" }} -without_demo = {{ default .Env.WITHOUT_DEMO "True" }} -; We can activate proxy_mode even if we are not behind a proxy, because -; it is used only if HTTP_X_FORWARDED_HOST is set in environ -proxy_mode = True -; csv_internal_sep = , -; db_template = template1 -; debug_mode = False -; email_from = False -; longpolling_port = 8072 -; osv_memory_age_limit = 1.0 -; osv_memory_count_limit = False -; smtp_password = False -; smtp_port = 25 -; smtp_server = localhost -; smtp_ssl = False -; smtp_user = False -; xmlrpc = True -; xmlrpc_interface = -; xmlrpc_port = 8069 -; xmlrpcs = True -; xmlrpcs_interface = -; xmlrpcs_port = 8071 -unaccent = {{ default .Env.UNACCENT "False" }} -{{ default .Env.ADDITIONAL_ODOO_RC "" }}