Remove useless explicit egg dependencies
-
mentioned in merge request !235 (merged)
-
mentioned in merge request !253 (closed)
-
Owner
I have tested erp5 and erp5testnode SR. I didn't test erp5testnode completely and I don't know if it needs
supervisor
scripts, so I kept it as a precaution. I simply missed slaprunner: I didn't notice that my changes would affect it. The fact is that doing:[eggs] recipe = zc.recipe.egg eggs = ... ${slapos-cookbook:eggs}
is questionable, because both sections generate the same scripts with different sys.path.
About @jerome suggestion to do
dependent-scripts = true
, it may sometimes be too much. For slaprunner SR,slapos.core
can also be listed explicitly to[eggs]
. -
Owner
because both sections generate the same scripts with different sys.path.
I also saw that slaprunner SR was generating same scripts twice. It seems wrong. It can also cause problem when updating software release "in place" like testnode does.
About @jerome suggestion to do
dependent-scripts = true
, it may sometimes be too much. For slaprunner SR,slapos.core
can also be listed explicitly to[eggs]
.The approach I tried in !253 (closed) seems to add a lot of scripts (I continue this discussion in the MR)