Open gfcapalbo opened 9 months ago
@thomaspaulb @Hussam-Suleiman let me know if :
In my opinion, if this script can't support all Odoo installation versions we can freeze it until the next waft version.
In my opinion, if this script can't support all Odoo installation versions we can freeze it until the next waft version.
this message refers to https://github.com/sunflowerit/waftlib/pull/41 ? this is just an addition to that. I respond in that MR.
I think:
Meanwhile, @gfcapalbo I would let this rest, and #41 as well, until we make a decision on Waft 2.0
PS. Also, Waft 2.0 has a separate Python3 for tools, so there, we can also use it for Odoo <=10.0
Sure, last week ended up being quite filled nevertheless though.
@thomaspaulb Added a connection check before looking to remove non-existing branches. if the repo cannot be reached, nothing will be done to change the yaml.
depends on #41 , removes dead merges and puts them in a comment at the end of the yaml. Could not do comment in place because of PyYaml limitations. would have to do indepth mod of the DUmper, and may not even be possible.
rualmel seems to make it possible if this solution is not okay https://copyprogramming.com/howto/how-to-insert-a-comment-line-to-yaml-in-python-using-ruamel-yaml
currently given input:
Where "origin felafel" is a branch that does not exist:
Don't know if this addition is useful , but i had an issue so i did it.
Possible problems: