[ditrack commit] r1800 - issues/etc

Ivan Glushkov gli.work at gmail.com
Sat Aug 4 05:00:36 PDT 2007


On Wed, 01 Aug 2007 04:12:57 +0400, Vlad Skvortsov <vss at 73rus.com> wrote:

> Ivan Glushkov wrote:
>> Hi.
>>
>>
>>> What was the reason for changing the default format? Here is the format
>>> string used previously:
>>>
>>> "%-4s %-8s %-8s %-6s %s"
>>>
>>> (changed in r1803).
>>>
>>
>> I exemined the output of 'list' command, and i could't say it's
>> nice-looking. The reason is that the length of our variables is
>> greater then the field width in listing format.
>> For example,  "0.7-mustfix" is 11 symbols length while the field's
>> width for Dui-in was 8 symbols.
>> It could be 2 solutions for this problem:
>>  - not to use so large words in fields
>>  - to enlarge the fields themselves
>>
>> I also propose to increase Status field to 8 (to allow for example  
>> "reopened").
>
> I'm not in favor of this change for the following reasons:
> 1) the lengths you are talking about are specific to the DITrack project  
> only -- I believe most projects would have "normal" version numbers;
> 2) we should strive to keep as compatible to previous versions as  
> possible (users might have scripts depending on the output format --  
> these scripts should continue to work);
> 3) smaller fields for version and status allow more room for a title (it  
> is arguable what looks 'uglier' -- misaligned fields or wrapping lines  
> in a standard 80-column terminal window),
>
> I'm proposing to revert these changes.
>

I returned to the previous default fields width in r1847. But i made it  
only for dt-createdb and all tests (repo archives also).
For our project i left configuration file unchanged.

Ivan.


More information about the Dev mailing list