bbfsdev / bbfs

Big brother file system (distributed file system)
14 stars 5 forks source link

fix issue268 #269

Closed genadyp closed 10 years ago

genadyp commented 10 years ago

Fix for #268

1.No Params.init run while Log suppose that Params were initialized. Solution: fixed in fix_content_data 2.There is no check of an instance line that was read from old-format file. Solution: check was added 3.We suppose that delimiter in the old format files is a comma, but actually, in this specific case '<' was used as a delimiter. Solution: additional parameter, that contains fields delimiter was added to fix_content_data executable and appropriate methods of ContentData. Default value was set to comma.

  1. Params.init no more demands from user an input. Motivation: there are a number of executables and tests that use Params.init but have no ARGV array.
  2. command line help was added for bin/fix_content_data
bbfsdev commented 10 years ago

Looks good to me. Please merge and create a patch. 1.7.1