Goutte / git-spend

Sum the time-tracking "/spend" commands of commit messages.
MIT License
11 stars 1 forks source link

Improve the overall reliability #9

Closed Goutte closed 6 months ago

Goutte commented 6 months ago

Spend directives now need to be at the beginning of a line. We're reading from the raw body (subject + body) of a commit to make sure to catch directives hidden in the subject as the newlines in the subject are removed upstream.

To do so we forked our go dependency git-log.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.24%. Comparing base (65196e6) to head (4d3572e). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9 +/- ## ======================================= Coverage 98.23% 98.24% ======================================= Files 12 12 Lines 623 625 +2 ======================================= + Hits 612 614 +2 Misses 8 8 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/Goutte/git-spend/pull/9/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Antoine+Goutenoir) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/Goutte/git-spend/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Antoine+Goutenoir) | `91.84% <100.00%> (+0.02%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/Goutte/git-spend/pull/9/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Antoine+Goutenoir) | `43.52% <25.00%> (-55.20%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Antoine+Goutenoir#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.