#53 Merge all wrapping methods into one.
Closed: Fixed by lruzicka. Opened by lruzicka.

Currently, Fedora Easy Karma uses three independent ways to wrap displayed content:

  1. --wrap-width that wraps some of the content, e.g. the title.
  2. --wrap-bugs that wraps the bug information.
  3. --wrap-rpms that wraps the rpms information.

I think that it does not make sense. Either I need to use wrapping to make the lines a little shorter, or I do not need it. Therefore, all the above options should be merged into one, say --width or --linewidth that should wrap the entire output accordingly.

WDYT, @kparal ?


Yes! Probably --width or --maxwidth.

Also, I think by default we should wrap by $COLUMNS (at least that's envvar used in bash, not sure about other shells - there should be a fallback number if we can't determine it), which reflects the current terminal width. And if people want to override it, they can use the option above, possibly with values <= 0 acting as no wrapping.

Metadata Update from @lruzicka:
- Custom field story_points adjusted to 1

Fix in https://pagure.io/fedora-easy-karma/pull-request/54

Commit 8e9a16ec fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/fedora-easy-karma/issues/53

Please continue any further discussion there.

Metadata
Related Pull Requests