Bug #17684
crontab code is generating wrong path to the launcher again..
Start date:
09/11/2017
Due date:
% Done:
100%
Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Description
Since the latest rework and version we're getting /home/poms/current/poms/current/cron/launcher
instead of $HOME/current/poms/cron/launcher -- the code in there to add a current link path is borked now that $POMS_DIR has the /current in it already...
Associated revisions
History
#1 Updated by Anna Mazzacane over 3 years ago
- Target version changed from v2_1_1 to v2_2_1
#2 Updated by Marc Mengel over 3 years ago
- Status changed from New to Resolved
So the bug was in the code that tried to replace .../vx_y/poms in $POMS_DIR with .../current/poms. I changed it so it only tries to change it if:
1) there isn't already a "current" in the POMS_DIR
2) the directory it tries to rewrite it to actually exists.
so in our current virtualenv installs, it won't mess things up.
#3 Updated by Marc Mengel over 3 years ago
- % Done changed from 0 to 100
#4 Updated by Anna Mazzacane over 3 years ago
- Status changed from Resolved to Closed
fix for issue #17685 and issue #17684