BIND 10 #260: More suggestions to bindctl

BIND 10 Development do-not-reply at isc.org
Wed Jun 30 08:43:18 UTC 2010


#260: More suggestions to bindctl
-------------------------+--------------------------------------------------
 Reporter:  shane        |       Owner:                      
     Type:  enhancement  |      Status:  new                 
 Priority:  minor        |   Milestone:  feature backlog item
Component:  bind-ctl     |    Keywords:                      
Sensitive:  0            |  
-------------------------+--------------------------------------------------
 I looked at ticket #220, and had a few more suggestions to bindctl.

 First, we should document that when have a variable named `dir` that it
 '''must''' have os.sep (usually '/') at the end.

 Second, if `_get_saved_user_info` has an error of some kind, it should
 probably report it, rather than silently returning empty information. This
 sort of behavior can be very frustrating for users!

 I don't know if it is critical or not, but it might be safer when writing
 a file to write to a temporary file and then rename it to the "real" file.
 That way if there is an error (like a full disk) we are never left with a
 partially-written file.

 Finally, what does the `traceback.print_exc()` output look like? I would
 prefer not to give users output that is for developers, but I don't know
 how this looks.

-- 
Ticket URL: <http://bind10.isc.org/ticket/260>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list