-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
RFC : Generating the analysis files automatically in a cronjob #4707
Comments
you can now check out the action and the PR this created. Will PR this to 18.0 when the init PR is merged, but we could also already do the same for older versions, the version specific parts are the two variables at the beginning, the python/postgres version and the sed expressions for choosing a different version of gevent/greenlet. As we see there we've new entries now already, I suggest to run this every week. The PR action seems to be smart enough to update an existing open PR, so I don't expect any problems with too many PRs opened. |
That's great! I may also suggest to do it daily with the master branch. This way we could kind of monitor live the changes been done in each Odoo modules, that could then be used a bit like I did in https://github.com/akretion/odoo-module-diff-analysis to highlight the very commits and their detailed explanation from Odoo that really impact the migration of each module and help people (or even possibly AI in simple cases) writing the migration scripts... |
|
That is a very great result ! Thanks !
@rvalyi, It's not possible, as master branch doesn't exist in the OCA.
@hbrunn, do you mean that the bot will :
|
not by opening a new commit, but by force-pushing over it, you can see that in hbrunn#15 where I ran the v18 update multiple times. BTW I parametrized the action so that we can call it for different versions, as the cron part needs to happen on the main branch. The other branches could take the same file to have automatic updates for changes to apriori.py. Last thing unsolved is how to deal with |
If I understand correctly, the bot generates new PR automatically, (that is great, and saves time regarding manual update for the time being), then openupgrade reviewers has to :
The problem I see is for the reviewers. If I review a PR one day, and I come back the next week, and the commit I reviewed disappeared (erased by a new commit), I think it will be harder to review. If commits are accumulated each time, it's maybe easier for reviewers. What do you think ?
I like this proposal ! It is then very easy to meld the two files, to see the differences. |
updating the existing PR should be doable, will look into this |
Hi. following the proposal of @hbrunn here.
I'm also looking into generating the analysis files automatically in a cronjob so that we always have the latest analysis on github without human intervention.
I propose to talk about that interesting topic here.
rational : (if I understand correctly, correct me if I'm wrong @hbrunn ).
(Exemple : 17.0 -> 18.0)
Proposal
Question : if the PR is created in an OCA branch, only maintainers can work on it. (maybe it's not a huge problem...)
what do you think ?
CC : @OCA/openupgrade-maintainers
The text was updated successfully, but these errors were encountered: