OCA / odoo-module-migrator

Python library to migrate odoo base code from a version to another
GNU Affero General Public License v3.0
123 stars 112 forks source link

Release odoo-module-migrator on pypi #66

Closed baimont closed 1 year ago

baimont commented 1 year ago

Last version of odoo-module-migrator on pypi is 0.3.1 and dates from Nov 19, 2019

can we have a more recent release on pypi?

legalsylvain commented 1 year ago

Hi. For the time being, the publication was done manually. (by me ;-)) I think we should introduce same automatic release publication as for the other OCA tools. Could you make a PR on that topic ?

thanks !

baimont commented 1 year ago

Hi. For the time being, the publication was done manually. (by me ;-)) I think we should introduce same automatic release publication as for the other OCA tools. Could you make a PR on that topic ?

thanks !

No idea how to do that actually ^^

Should I copy https://github.com/OCA/openupgradelib/blob/master/.github/workflows/publish.yml in odoo-module-migrator repo and it will magically work?

legalsylvain commented 1 year ago

I guess. You can also take a look on that file https://github.com/acsone/git-aggregator/blob/master/.github/workflows/ci.yml#L44 Once done, I think maintainers should add some secrets in the github private configuration part.

bealdav commented 1 year ago

Hi all, just seen that https://pypi.org/project/odoo-module-migrator is not on the right version.

@legalsylvain is the comment in #68 solved ?

What have to be done for a right published version ?

Thanks

pleirb commented 1 year ago

For use with pip3 install odoo-module-migrator is quite outdated. It must be used from the source following these indications: https://github.com/OCA/odoo-module-migrator/blob/master/DEVELOP.rst What a great job! Thank you so much!

legalsylvain commented 1 year ago

What have to be done for a right published version ?

I have no idea, but I gave access right to the OCA user, some monthes ago. @sbidoul. Any idea ? Thanks !

sbidoul commented 1 year ago

Had lost track of this. I have configured the publish workflow using the shiny new trusted publisher feature of PyPI. @legalsylvain please create a GitHub release and let's see how it goes.

legalsylvain commented 1 year ago

Hi @sbidoul Thanks for your answer :

Thanks !