← Back to team overview

holland-coredev team mailing list archive

[Bug 671969] Re: Fix mk-config output

 

This should be corrected in master/1.0.5 now.  Comment ordering is
retained properly and a new --minimal option will strip comments from
the configuration.   Optional parameters are commented out as before.

** Changed in: holland-backup
    Milestone: None => 1.0.6

** Changed in: holland-backup
     Assignee: (unassigned) => Andrew Garner (muzazzi)

** Changed in: holland-backup
   Importance: Undecided => Medium

** Changed in: holland-backup
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Holland
Discuss, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/671969

Title:
  Fix mk-config output

Status in Holland Backup Framework:
  Fix Committed

Bug description:
  mk-config is jumbling the output when reading the config spec. This seems to be caused by how "key = None" settings are commented out from the configspec in configobj and lose the original comment block. This causes commented out settings to not be associated with the right comments in several cases.

Also, it was requested that a --terse/--minimal option be supported to generate configuration without any comments from the configspec.





References