#56 Remove FEK_helper and use global functions instead.
Closed: Fixed by lruzicka. Opened by lruzicka.

Currently, fedora-easy-karma includes a pseudo-utility class FEK_helper, which only contains @staticmethod methods.

This approach is inconsistent with the rest of the code, where:

  • some helpers are inside FEK_helper,
  • some helpers are global functions (color, wrap etc. in the same script).

The existence of a static-only class (FEK_helper) creates unnecessary structural overhead and makes the code less readable.

Proposed Solution

Refactor the FEK_helper class by:

  • Removing the class entirely.
  • Moving all static methods to become standalone top-level utility functions in the same script.
  • Grouping them logically in the file (e.g. under # --- Text formatting utilities --- comment block).

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

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

Commit c2203bb4 fixes this issue

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

Please continue any further discussion there.

Metadata
Related Pull Requests