Comments (8)
Hello @legalsylvain
That sounds all the rage. However I believe Travis free plans have a max execution time of ~12 minutes and my feeling is that it will not fit. Worth a double check. Also some OCA people are setting up a dedicated runbot system, may be it could be hacked into doing what you want (not on Travis infrastructure then).
Well this is just my hot feeling, it's probably worth a try or more investigation.
from openupgrade.
Hi @rvalyi,
Ok thanks about the information about max execution time. I think that it can fit at the beginning, but maybe not if all modules are done. (That was not the case for 7.0). We have to check that.
And without talking about the infrastructure, what is your point of view about the idea as such ?
thanks.
from openupgrade.
@legalsylvain yes, that may be possible with just a few module, not sure. Well the idea itself is great as I said.
from openupgrade.
This completely depends on demo data migration and if these datas are complete and non-iterferal with migration scripts.
It shouldn't be too difficult to do for version 8.0 of OpenUpgrade:
language: python
python:
- "2.7"
env:
- VERSION="7.0" ODOO_REPO="odoo/odoo"
- VERSION="7.0" ODOO_REPO="OCA/OCB"
virtualenv:
system_site_packages: true
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- git clone https://github.com/${ODOO_REPO}.git ${HOME}/new-version -b ${VERSION} --depth=1
script:
- ${HOME}/Odoo/openerp_server -d OpenUpgrade -i all --without-demo=False --stop-after-init
- coverage run ./scripts/migrate.py -d OpenUpgrade
- ${HOME}/new-version/openerp_server -d OpenUpgrade --stop-after-init | grep ERROR
after_success:
coveralls
Not tested, just quickly typed, the commands and paths are probably different.
from openupgrade.
Hi @bwrsandman (or other) I tried few days ago to realize this script.
I don't know exactly how to realize that and I'm limited by my level in shell script.
(https://github.com/grap-openupgrade/OpenUpgrade/blob/8.0-Travis/.travis.yml)
I would like to install on V7 only modules marked as done in modules70-80.rst file.
I tried:
- ADDONS_LIST =""
- for module in `cat openerp/openupgrade/doc/source/modules70-80.rst | grep -i "|.*Done" | cut -d"|" -f2` ; do if [ -z "$ADDONS_LIST" ] ; then ADDONS_LIST=$module; else ADDONS_LIST=$ADDONS_LIST,$module; fi; done
But I don't know how to use it after.
Any help is welcome.
from openupgrade.
It's reasonable to add OCB specific support into current MQT scripts, or at worse, add there additional scripts for OCB.
The question is: what would be the test strategy? @bwrsandman script above on only a specific list of modules?
from openupgrade.
@legalsylvain try this:
ADDONS_LIST=`grep -i "^|.*|\s*Done" openerp/openupgrade/doc/source/modules70-80.rst |\
cut -d"|" -f2 |\
xargs echo |\
sed 's/ /,/g'`
from openupgrade.
Done. Closing...
from openupgrade.
Related Issues (20)
- Migrating from 14 to 15 using OpenUpgrade error HOT 2
- [15.0 =>16.0] insert or update on table "stock_route_product" violates foreign key constraint "stock_route_product_route_id_fkey" HOT 3
- Inherited view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition on `res_partner_views.xml` HOT 1
- I have done the procedure correctly, in the web script there is nothing to convert the fields report_header from text to html thats why i get this error. HOT 1
- Migrated Data not in Views but Exist in Database HOT 4
- account move line data is not showing HOT 1
- module 'openupgradelib.openupgrade' has no attribute 'get_model2table' HOT 1
- Error installing Openupgrade Framework 14.0 on odoo 13.0 HOT 2
- Accounting HOT 1
- Accounting Invoice display_type is only assigning product to all products HOT 8
- AttributeError: module 'openupgradelib.openupgrade_160' has no attribute 'fill_analytic_distribution' HOT 2
- psycopg2.errors.ForeignKeyViolation: insert or update on table "stock_route_product" violates foreign key constraint "stock_route_product_route_id_fkey" HOT 2
- [13.0 --> 14.0] Generation of account.fiscal.position.tax in l10n_es HOT 2
- [15.0 to 16.0] module mail: creating or updating database tables - ERROR : psycopg2.errors.InvalidDatetimeFormat: invalid input syntax for type timestamp: "" HOT 1
- [13.0] Error in apriori HOT 3
- [15.0] hr_expense: wrong amount update to 0.0 for some expense journal items HOT 5
- account.payment.method.line not connecting when migrating from 14 -> 15 HOT 3
- [16.0]Website Migration, in multilingual custom views
- [15.0] website: Contact Us web page failing to migrate HOT 1
- [16.0][account] minor: aml quantity should be False instead of 1.0 for tax lines and payment term lines in v16 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openupgrade.