Skip to Content

Contributors

Re: How to use /ocabot merge correctly?

Thank you for the explanation. I am more clear now. 


Note: it seem everyone could edit the page, correct?

On Mon, Feb 17, 2020 at 10:47 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:
About the version number idea, it's depicted in contributing guidelines:


Regards.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by Kitti Upariphutthiphong - 08:46 - 18 Feb 2020

Reference

  • How to use /ocabot merge correctly?
    Dear community,

    We have seen this document, yet it not tell in great detail. https://odoo-community.org/blog/the-oca-blog-1/post/the-oca-github-bot-can-now-merge-pull-requests-92 so may we ask in detailed here,

    1) What is the difference between /ocabot merge patch/minor/major and the symantic of x.y.z - breaking.feature.fix in another document. Is it so that,
      - /ocabot merge patch, 13.0.1.0.0 -> 13.0.1.0.1 (patch = fix)
      - /ocabot merge minor, 13.0.1.0.0 -> 13.0.1.1.0 (minor = feature)
      - /ocabot merge major, 13.0.1.0.0 -> 13.0.2.0.0 (major = breaking)

    2) For the new [ADD] module, should be click merge manually, or use /ocabot merge (don't want to add any digit, but we test it and it seem to try to change last digit).

    3) What is "/ocabot merge" alone, it default to patch or minor?

    4) What is the practice to work with some module that has HISTORY. For example, some author (not the PSC), may add in history as new Minor revision, 13.0.1.0.0 -> 13.0.1.1.0 but the merger think it is just a fix. And so, he might do /ocabot merge patch . This could result in the version diff between HISTORY and manifest file?

    Thank you!
    Kitti U.






    by Kitti Upariphutthiphong - 10:10 - 17 Feb 2020