slaprunner: keep old recipe eggs otherwise instance can't be upgraded
As we have runners with a section deployed using collective.recipe.shelloutput, if collective.recipe.shelloutput isn't in the SR folder anymore thisi section can't be uninstalled (as the uninstall method is defined in the egg). The output of buildout for this error was : While: Installing. Uninstalling runner-sshkeys-publickey-fingerprint-shelloutput. Installing recipe collective.recipe.shelloutput. Getting distribution for 'collective.recipe.shelloutput'. Error: We don't have a distribution for collective.recipe.shelloutput and can't install one in offline (no-install) mode. While: Installing switch_softwaretype. The cause was f936ea2c
Showing
-
Owner
Since
collective.recipe.shelloutput
does not have azc.buildout.uninstall
entry point, that's stupid. We should fix buildout to remember which egg needs to be there for uninstall.Another thing is that we want to remove all usage of
collective.recipe.shelloutput
. Now that it's available again, people of less discouraged from using it. That's not the first time I want to prevent usage of broken recipes or even full eggs. Another buildout feature we should implement. -
Owner
Since
collective.recipe.shelloutput
does not have azc.buildout.uninstall
entry point, that's stupid. We should fix buildout to remember which egg needs to be there for uninstall.Ah that's nice idea.
Please register or sign in to comment