Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Codestyle: update from 6.x to 8.x (see precursor #720) #726

Merged
merged 9 commits into from
Dec 8, 2020

Conversation

sming
Copy link
Contributor

@sming sming commented Nov 20, 2020

Codestyle: update from 6.x to 8.x #726

Use Case Resolved: start process of tidying up codebase

NOTE: this just updates checkstyle from 6.x to 8.x. The major piece of work remaining is to correct all the offending code.

  • I am a heroic dev
  • who wants to know precisely what the squad considers legitimate code formatting
  • so that when it comes to code review, there is no need for back-and-forth debate as to our coding style

Design & Implementation Notes

  • added checkstyle config for bad indentation
  • also upgraded 6.13 → 8.37

Use Case Resolved: avoidable debate during code review that wastes time

  • I am a heroic dev
  • who wants to know precisely what the squad considers legitimate code formatting
  • so that when it comes to code review, there is no need for back-and-forth debate as to our coding style

Design & Implementation Notes

  • added checkstyle config for bad indentation
  • also upgraded 6.13 → 8.37

also upgraded 6.13 → 8.37
@sming sming added the codebase quality high level issues pertaining to improvements / problems with the codebase's quality label Nov 20, 2020
Basically some modules changed parent and
others were retired.
- a lot (many, many files) of Heroic's java code
is incorrectly indented with 2 spaces unfortunately,
which means the build fails. Hence commenting
this out for now.
- a lot (many, many files) of Heroic's java code
is incorrectly separated, hence leaving that big
task for another issue/card.

Signed-off-by: Peter Kingswell <peterk@spotify.com>
@sming sming self-assigned this Nov 28, 2020
@sming sming linked an issue Nov 28, 2020 that may be closed by this pull request
@sming sming changed the title Codestyle: enforce consistent statement-spacing and indentation (Issue #720) Codestyle: update from 6.x to 8.x #720 Nov 28, 2020
@sming sming changed the title Codestyle: update from 6.x to 8.x #720 Codestyle: update from 6.x to 8.x (see precursor #720) Nov 28, 2020
Signed-off-by: Peter Kingswell <peterk@spotify.com>
@codecov
Copy link

codecov bot commented Nov 28, 2020

Codecov Report

Merging #726 (5b67913) into master (6c472e3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #726   +/-   ##
=========================================
  Coverage     54.94%   54.95%           
- Complexity     3103     3104    +1     
=========================================
  Files           739      739           
  Lines         20143    20143           
  Branches       1312     1312           
=========================================
+ Hits          11067    11069    +2     
+ Misses         8608     8607    -1     
+ Partials        468      467    -1     
Impacted Files Coverage Δ Complexity Δ
...m/spotify/heroic/http/tracing/OpenCensusUtils.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...ic/metric/bigtable/api/BigtableDataClientImpl.java 20.77% <ø> (ø) 4.00 <0.00> (ø)
...ain/java/com/spotify/heroic/shell/QuoteParser.java 71.11% <100.00%> (ø) 24.00 <0.00> (ø)
...com/spotify/heroic/aggregation/simple/MinBucket.kt 55.55% <0.00%> (+11.11%) 5.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c472e3...5b67913. Read the comment docs.

@sming sming marked this pull request as ready for review November 29, 2020 15:22
@sming sming merged commit 08a9405 into master Dec 8, 2020
@sming sming deleted the feature/checkstyle-enforce-indentation branch December 8, 2020 19:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
codebase quality high level issues pertaining to improvements / problems with the codebase's quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codestyle: update from 6.x to 8.x
2 participants