-
-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15.0][UPD] apriori + analysis + coverage #3460
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hum. thanks for this work.
- do you know why there are such changes between few monthes ?
- Some changes are annoying. I don't know how to handle the
account
case (for exemple). Do you have an idea ?
thanks.
regards.
|
Hum, I'm not sure : I'm mean,
AFAIU, the current upgrade.txt file in the folder 15.0.1.2 should be a diff of 15.0.1.1 and 15.0.1.2 (maybe minor). What do we do ? Option A) We assume two revision.15.0.1.1 and 15.0.1.2 and we provides script for both "migrations". We have to change the upgrade.txt file 15.0.1.2 to be only the diff between 15.0.1.1 and 15.0.1.2. And we should take care that in the migration, the execution will be the following :
So, in the pre-migration of the 15.0.1.2 the database is not totally a "15.0.1.1" (15.0.1.1/post-migration.py has not been executed). I faced similar issue when upgrading queue_job. (see : https://github.com/OCA/queue/tree/12.0/queue_job/migrations) Option B) : we remove all the 15.0.1.1 folder. but it requires to rebase / adapt all the current (#3284) for instance. CC : @StefanRijnhart, @pedrobaeza : what do you think ? |
Everything should be done directly in |
Then does it make sense to keep the name |
The folder name must always match the latest version |
Well, I'm in favour of this solution (for simplicity). But I'm not very confortable with the fact to say to 15.0 contributors, to add extra work to rebase and recheck diff, and fix some stuff. The work provided here #3287 is important, and it lacks code review. (we should talk about that topic in the next coming soon Openupgrade Strategy meeting).
It doesn't work. And it doesn't solve the main problem. (1 folder or two folders)
well, it is possible to have multiple folders, but it's a mess. |
4c05688
to
43f03f4
Compare
Complain to Odoo, not to us. The work is the same even if the PR is merged: the scripts must be passed to the other folder and recheck the diff. If not, migration may not work. |
c74c3be
to
e23b900
Compare
fea6394
to
e0c5e77
Compare
Ready |
e0c5e77
to
8d2aed3
Compare
openupgrade_scripts/scripts/mail_group/15.0.1.0/upgrade_analysis_work.txt
Outdated
Show resolved
Hide resolved
8d2aed3
to
924d469
Compare
I tested the mail_group scripts in local, I fixed some things, and now it works like a charm :) |
924d469
to
5d65bf2
Compare
Here it goes.