Closed mmorel-35 closed 3 weeks ago
This probably deserves a bit of refactoring. This is based on https://github.com/sashamelentyev/usestdlibvars work.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 70 | 71 | 98.59% | ||
<!-- | Total: | 78 | 79 | 98.73% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | 0.2% |
Covered Lines: | 2247 |
Relevant Lines: | 2395 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 61 | 62 | 98.39% | ||
<!-- | Total: | 69 | 70 | 98.57% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | 0.1% |
Covered Lines: | 2238 |
Relevant Lines: | 2386 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 63 | 68 | 92.65% | ||
<!-- | Total: | 71 | 76 | 93.42% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | -0.02% |
Covered Lines: | 2240 |
Relevant Lines: | 2392 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 63 | 68 | 92.65% | ||
<!-- | Total: | 71 | 76 | 93.42% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | -0.02% |
Covered Lines: | 2240 |
Relevant Lines: | 2392 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 63 | 68 | 92.65% | ||
<!-- | Total: | 71 | 76 | 93.42% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | -0.02% |
Covered Lines: | 2240 |
Relevant Lines: | 2392 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 69 | 76 | 90.79% | ||
<!-- | Total: | 77 | 84 | 91.67% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | -0.08% |
Covered Lines: | 2246 |
Relevant Lines: | 2400 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 76 | 94.74% | ||
<!-- | Total: | 80 | 84 | 95.24% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | 0.04% |
Covered Lines: | 2249 |
Relevant Lines: | 2400 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 76 | 94.74% | ||
<!-- | Total: | 80 | 84 | 95.24% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | 0.04% |
Covered Lines: | 2249 |
Relevant Lines: | 2400 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 76 | 94.74% | ||
<!-- | Total: | 80 | 84 | 95.24% | --> |
Totals | |
---|---|
Change from base Build 9608177733: | 0.04% |
Covered Lines: | 2249 |
Relevant Lines: | 2400 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 76 | 94.74% | ||
<!-- | Total: | 80 | 84 | 95.24% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | 0.04% |
Covered Lines: | 2289 |
Relevant Lines: | 2442 |
I now understand why @ldez (hi :wave:) expects PR to do not rewriting history during code review.
It's something I have been doing for a while, even in this project. But now I'm facing the way @mmorel-35 does, which I would have done too, I can see how difficult it is yo track the changes made between each iterations.
Here there is only one commit, and I have to read everything again and again instead of seeing the small changes made by each reviews
I repeat it's something I have done many times, even recently, so I don't blame you @mmorel-35, but now I understand Ludovic's guidance
@mmorel-35 I have no idea what you changed with your last commit. I reviewed everything and spotted things I found. But I have no idea if it's new code or not.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 80 | 90.0% | ||
<!-- | Total: | 80 | 88 | 90.91% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 75 | 83 | 90.36% | ||
<!-- | Total: | 83 | 91 | 91.21% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2292 |
Relevant Lines: | 2449 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 75 | 83 | 90.36% | ||
<!-- | Total: | 83 | 91 | 91.21% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2292 |
Relevant Lines: | 2449 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 75 | 83 | 90.36% | ||
<!-- | Total: | 83 | 91 | 91.21% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2292 |
Relevant Lines: | 2449 |
@ccoVeille , I wonβt squash my commit but please @Antonboom , remove the "update my_file.go" from the content of the squashed commit of the pull-request. It makes my eyes bleed are totally useless comments.
Thanks for taking my workflow suggestion into account.
I do hate to see a log like that. But for reviewing it's way simpler.
Please note, I'm OK with you to rearrange the commits in the way you intend. But many only once you get an approval for the PR. Anx with a message like in the PR like "squashing previously reviewd changes"
I dislike squashed PR too, that's why I'm suggesting that.
Also squashing when merging would nuke the respective contribution of each developer. Think about Anton "maintainer review" commit.
At least, GitHub doesn't nuke authors who contributed as it adds the Co-Authored-By
tag in the squashed commit message.
But I do think it's way easier for reviewing with atomic and iterative commits.
Thanks again for baring with me
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 75 | 83 | 90.36% | ||
<!-- | Total: | 83 | 91 | 91.21% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2292 |
Relevant Lines: | 2449 |
@ccoVeille , @Antonboom , I won't be able to use a terminal in the next 10 days so if you want to take over this work frrom here, please feel free to do it .
Sute, thanks for letting us know.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 72 | 80 | 90.0% | ||
<!-- | Total: | 80 | 88 | 90.91% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 73 | 85 | 85.88% | ||
<!-- | Total: | 81 | 93 | 87.1% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.3% |
Covered Lines: | 2290 |
Relevant Lines: | 2451 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 77 | 85 | 90.59% | ||
<!-- | Total: | 85 | 93 | 91.4% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2294 |
Relevant Lines: | 2451 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/http_const.go | 77 | 85 | 90.59% | ||
<!-- | Total: | 85 | 93 | 91.4% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2294 |
Relevant Lines: | 2451 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9673069496: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 9743211634: | -0.1% |
Covered Lines: | 2289 |
Relevant Lines: | 2446 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/checkers/helpers_basic_type.go | 12 | 14 | 85.71% | ||
internal/checkers/http_const.go | 64 | 70 | 91.43% | ||
<!-- | Total: | 87 | 95 | 91.58% | --> |
Totals | |
---|---|
Change from base Build 10661004539: | -0.1% |
Covered Lines: | 2288 |
Relevant Lines: | 2445 |
Closes #141