YannickB / odoo-hosting

Other
64 stars 50 forks source link

[IMP] clouder: Path and Environment Handling #144

Closed lasley closed 7 years ago

lasley commented 7 years ago

[IMP] clouder: Centralize and improve path/str handling …

lasley commented 7 years ago

Alright this seems to work in local & is ready to review assuming CI goes 🍏

I updated the changelog in the PR description to contain a complete list of changes made (also documented in my commit msg)

Couple notes to bring out of the changelog:

cc @t3ddftw

lasley commented 7 years ago

@YannickB - I deployed a few containers, but yeah good call with the One Click deploy.

I'm going to wait for @t3ddftw to give us a review as well - lots of changes here that I'd like more eyes on.

YannickB commented 7 years ago

Ok. During the oneclick process, note that the last step (the duplication of Odoo instance into a test install) was already broken before your changes. Everything else was working.

In general oneclick is the best way to check all the code, we can't use travis here because it's obviously kinda difficult to test an infrastructure installation with unit test (but I still hope we'll find a solution one day to automatise this part).

lasley commented 7 years ago

I've got us covered on the testing of external services via unit tests, no problem (connector-carepoint coverage, connector-dns coverage).

Big undertaking though so I want to make sure we've got major changes done before tackling that.

YannickB commented 7 years ago

That's good to know, agree we have other priorities but that's something I have in mind since quite a long time, good to see we have some clues.

lasley commented 7 years ago

You're spammy @t3ddftw - please use the "review" feature instead of "single comment"

lasley commented 7 years ago

Thanks for the reviews @YannickB & @t3ddftw - comments attended to. Haven't functionally reviewed fully yet, so still WIP.

Description of latest changes:

In hindsight, the top two I probably should have done in separate PRs.

YannickB commented 7 years ago

Ok looks good enough for me, let me know when I can merge.

lasley commented 7 years ago

FYI there's an issue with this that I have been resolving. Probably shouldn't have made so many changes at once - debugging has been a real pain. Too late now though 😆

lasley commented 7 years ago

Alright this seems to work now.

I had to remove the transaction handling for the moment in order to minimize the scope of this ticket troubleshooting. I left the centralization of it in though, which will make for an easier refactor once I study the environment a bit more. I'm going to make an issue for that.

YannickB commented 7 years ago

Ok, should I merge it now ?

lasley commented 7 years ago

Yup we're good to merge 👍

YannickB commented 7 years ago

And done, thanks for everything