-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[IMP] upgrade_analysis: generate coverage module file #2206
[IMP] upgrade_analysis: generate coverage module file #2206
Conversation
Good idea! I would prefer though to not use a new rendering templating system. I think you can do it by QWeb, isn't it? |
Can you generate non XMlL files and control rst lines and spaces properly with qweb? I'm not sure but may be. |
AFAIK, you can generate what you want. Just use |
Thanks all for your reviews ! @pedrobaeza said here.
Fixed. I added a sorted. @StefanRijnhart said here
Well, I'd like to keep the possibility to have an agnostic module I updated the file here : OCA/OpenUpgrade#2964 Could you take a look ?
Never tried. allways saw html / xml generated via qweb. I'll take a look. |
@legalsylvain current result is fine, thanks. |
Oh wait, can you compute the column width in an earlier pass to prevent this
|
4b87950
to
014fcb4
Compare
Indeed. However, I just tried during 1 hour to use qweb to generate text. It's a mess to handle correctly return lines (not having a lot of As this module doesn't have to be installed on any production, and it's just for technical purpose (openupgrade analysis or custom analysis), I propose to to let the mako dependency. If it's a problem, we can add it in the roadmap section if you want.
@StefanRijnhart,
Hope all is OK for you. |
Isn't t-raw + html code ( |
I don't know but unfortunately i have no time to investigate. |
430cd8f
to
c12f05e
Compare
I added some improvments
The diff result is available here : OCA/OpenUpgrade@6050b84 What do you think ? |
c12f05e
to
0d77336
Compare
I prefer this to not be done. It's not the same to not have changes in the analysis file than being
OK, but note that this should be changed to |
Hi Pedro. Thanks for your review. I refactored to have three columns.
The result is here. https://github.com/OCA/OpenUpgrade/blob/f6db860bb5c856637a115d8d9ef6367786031291/docsource/modules140-150.rst. CC : @StefanRijnhart |
OK, that seems better. Maybe I would rephrase the sentence to |
Thanks for updating your review !
Well, in fact the message is displayed if there are no changes in database AND in XML element. (https://github.com/OCA/OpenUpgrade/blob/15.0/openupgrade_scripts/scripts/account_check_printing/15.0.1.0/upgrade_analysis.txt) But if you think it's better, I'm with you. Note : I saw that some info was cumulative : i propose to remove " |
Yes, please remove |
127025f
to
2bc790a
Compare
Done. For me, this is ready to merge, except if #2206 (comment) is a blocking point. if so, I'll make the change. Let me know. CC : @StefanRijnhart, @pedrobaeza |
Yes, please |
…uld be filled by openupgrader, and a column that is automatically filled when importing apriori and making analysis
2bc790a
to
5b4f3cc
Compare
done. |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at d1ec921. Thanks a lot for contributing to OCA. ❤️ |
Generate coverage file automatically. see : OCA/OpenUpgrade#2964
try to change for qweb templating. Tried. Not fun.CC : @pedrobaeza, @StefanRijnhart