upgrades-migrations / preupgrade-assistant

The Preupgrade Assistant performs an assessment of the system from the "upgradeability" point of view. Disclaimer: It was fun. R.I.P. :-)
GNU General Public License v3.0
13 stars 15 forks source link

postmigrate (and others) directory is not provided in API #224

Closed pirat89 closed 6 years ago

pirat89 commented 7 years ago

PA doesn't provide API to work with all directories which are part of the tarball and have special usability for modules.

AloisMahdal commented 7 years ago

I don't think I understand. The tarball is product of PA, modules can't possibly have chance to work with it; so what dso you mean by "directories which are part of the tarball"?

What is the issue here?

pirat89 commented 7 years ago

.. these are directories like kickstart, podupgrade.d, cleanconf, ..... modules are quired to put something into this directories and this has to be hardcoded usually now. That's wront, isn't it?

bocekm commented 7 years ago

@pirat89 please provide full list of directories that are missing in API. I or @MajoDurco will add them there.

bocekm commented 7 years ago

Basically, the directories are in settings.py -> preupgrade_dirs, except common and hooks.

pirat89 commented 6 years ago

Resolved by PR https://github.com/upgrades-migrations/preupgrade-assistant/pull/363