missing nsp.conf breaks mv_update_development

Bug #647611 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Confirmed
Low
Priya Ravindran

Bug Description

if you delete /var/www/mvhub/$USER/conf/nsp.conf (or whatever $MV_CONFIG_FILE points to) because the file is broken and you'd expect mv_update_development to just regenerate it, you will be disappointed.

app-mvhub/project-tools/bin/mv_update_development breaks because the conf file is used to get BASE.dir and other things.

The assumption is that if nsp.conf is missing for a user , some other user is running mv_update on behalf of a new user.

apart from this bug, this kludge makes the code awkward and hard to follow.

possible solutions:
   gobal /etc/mvhub-dev.conf
       [PATHS]
            base=/var/www/mvhub/
            unique_sub_dir=$USER

   appt-mvhub/project-tools/templates/template.conf

Tags: defect
Priya Ravindran (priya)
Changed in mvhub:
assignee: nobody → Priya Ravindran (priya)
Revision history for this message
Priya Ravindran (priya) wrote :

in the first place why are we deleting /var/www/mvhub/$USER/conf/nsp.conf?

Revision history for this message
Dan MacNeil (omacneil) wrote :

edited description to (hopefully) address Priya's concern

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.