slaprunner: correctly patch software release path on import
usually, the software release path is : in a web runner : /srv/slapgrid/slappartXX/srv/runner/project/buildout.cfg in a test node : /srv/slapgrid/slappartX/srv/testnode/xx/inst/test0-XX/srv/runner/project/buldout.cfg the previous regex was replacing in all slappartX and test0-X by the new test0-Y which of course would make an existing path : /srv/slapgrid/test0-Y/.../test0-Y/... This commit only replace the latest occurence in order to have compatible code in the "normal" case, and in the test nodes
Showing
Please register or sign in to comment