Hi,

I'm writing a some migrations scripts (for saas-3 branch). And as I'm quite new to it, some of the task I have to do seem to me quite generic, and I usually check in openupgrade/*.py to see if a function was not already written for this purpose...

I didn't find any stuff related to "install new unmet dependencies".

The case is simple:

``document_page`` module content was moved towards a new ``website_blog`` that now depends on other modules ``website_mail`` and which in turn require ``website``.

Naturally I get these errors while updating all:

ERROR: module website_mail: Unmet dependencies: website
ERROR: module website_blog: Unmet dependencies: website_mail

What is the best way to tackle with these ? I'm willing to write some code to install both of these if document_page was used in first place, but it seems a very generic "install_all_unmet_dependency()" function would be welcome...

Do you share my analysis ? And if no, could you elaborate ? If yes, please share your ideas about how you would proceed (can we mark the modules to be installed ?). I would be happy to implement it and share this implementation.

All my work on openupgrade will be released quite soon and will need a thorough review by the community...

--
Valentin LAB
Ingénieur Développement

tel:  +33 6 71 39 62 13
mail: [email protected]

--
Mailing list: https://launchpad.net/~openupgrade-drivers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openupgrade-drivers
More help   : https://help.launchpad.net/ListHelp

Reply via email to