-
-
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
[16][MIG ] module_analysis #2609
Conversation
fixup! [ADD] new module module_analysis fixup! fixup! [ADD] new module module_analysis fixup! fixup! fixup! [ADD] new module module_analysis fixup! fixup! fixup! fixup! [ADD] new module module_analysis IMP exception message fixup! fixup! fixup! fixup! fixup! [ADD] new module module_analysis [REF] remove use of cloc. use pygount librairy instead fixup! [REF] remove use of cloc. use pygount librairy instead fixup! fixup! [REF] remove use of cloc. use pygount librairy instead Apply suggestions from code review Co-Authored-By: David Beal <david.beal@akretion.com> Update module_analysis/views/menu.xml Co-Authored-By: David Beal <david.beal@akretion.com> Update module_analysis/tests/test_module.py Co-Authored-By: David Beal <david.beal@akretion.com> Update module_analysis/readme/CONFIGURE.rst Co-Authored-By: David Beal <david.beal@akretion.com> [IMP] handle encoding [UPD] Update module_analysis.pot [UPD] README.rst [UPD] README.rst
Currently translated at 100.0% (35 of 35 strings) Translation: server-tools-12.0/server-tools-12.0-module_analysis Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_analysis/zh_CN/ [UPD] README.rst
Currently translated at 100.0% (35 of 35 strings) Translation: server-tools-13.0/server-tools-13.0-module_analysis Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-module_analysis/it/
[MIG] module_analysis: Migration to 15.0
…cause the analysis is partial (it also make the update slower) ; Add instead a cron task that is executed nightly to update analysis automatically
Currently translated at 97.2% (35 of 36 strings) Translation: server-tools-15.0/server-tools-15.0-module_analysis Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-module_analysis/it/
Analyse can take some time and a cron task can do it every day if needed, no need to recompute it in real time
…e there is no post install hook anymore
9997e77
to
1416e8d
Compare
You'll tell me if it is acceptable for you, else I'll remove the commit so we can go forward |
I have no clear point of view. So, it's as you wish on that topic ! |
Thanks @legalsylvain I always forget to check the readme files... |
module_analysis/readme/CONFIGURE.rst
Outdated
|
||
* Check the box 'Analyse Installed modules' | ||
* Run manually the action : 'Update Module Analysis' | ||
|
||
.. image:: ../static/description/base_module_update.png |
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.
I guess that line has to be removed. (and the according png file).
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.
I've added the line => To run an update manually, you can run the scheduled action manually.
The image is indeed to remove
good idea ! |
… cron. Usefull if we want to analyse the code for uninstalled modules for instance
9e6bce0
to
bb94bdf
Compare
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.
looks good, I tested it in a customer project and the analysis worked well
@legalsylvain |
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.
Thanks !
/ocabot merge nobump
This PR has the |
Sorry @legalsylvain you are not allowed to merge. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
/ocabot merge nobump |
Thanks ! |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at c0064d6. Thanks a lot for contributing to OCA. ❤️ |
Replace #2608
Sorry I guess I did a wrong manipulation, I could not reopen the other after a force push.
@legalsylvain