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

[RFE] add new directory for manually executed scripts #61

Closed pirat89 closed 8 years ago

pirat89 commented 9 years ago

We need add new directory, which separate scripts that will be executed/run only by user. E.g. installation of another packages after all needed repositories are available, etc. For now it can be something like "/root/preupgrade/noauto_postupgrade.d". Name will be picked lated.

pirat89 commented 9 years ago

In addition, API should provides path to this directory.

phracek commented 8 years ago

The reason of this directory is for upgrades or migrations? Who will take care about scripts? Like permissions etc.

pirat89 commented 8 years ago

I think that in future it could be usable in both cases. However for migration it has more benefits now probably.

Only thing what PA should create&provides is place for these scripts. I think that everything else is about contents, which describes usage of the script, copy it, ....

phracek commented 8 years ago

Merged to rhel-5 branch to.

pirat89 commented 8 years ago

@phracek API doesn't provides path to the directory

phracek commented 8 years ago

Fixed by commit https://github.com/phracek/preupgrade-assistant/commit/c33e6edb1d9aa7e7dab8f13d32fa5088afaf054d