Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse RepoConfig only once #2005

Merged
merged 1 commit into from
Mar 14, 2021
Merged

Parse RepoConfig only once #2005

merged 1 commit into from
Mar 14, 2021

Conversation

fthomas
Copy link
Member

@fthomas fthomas commented Mar 14, 2021

Instead of reading and parsing a repo's config twice in RepoCacheAlg
and BuildToolDispatcher we now only parse it once in RepoCacheAlg
and then pass that value to BuildToolDispatcher.

Instead of reading and parsing a repo's config twice in `RepoCacheAlg`
and `BuildToolDispatcher` we now only parse it once in `RepoCacheAlg`
and then pass that value to `BuildToolDispatcher`.
@fthomas fthomas added this to the 0.10.0 milestone Mar 14, 2021
@codecov
Copy link

codecov bot commented Mar 14, 2021

Codecov Report

Merging #2005 (0c7fa38) into master (fc51ba0) will decrease coverage by 0.05%.
The diff coverage is 18.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2005      +/-   ##
==========================================
- Coverage   78.75%   78.70%   -0.06%     
==========================================
  Files         131      131              
  Lines        2264     2263       -1     
  Branches       57       59       +2     
==========================================
- Hits         1783     1781       -2     
- Misses        481      482       +1     
Impacted Files Coverage Δ
...org/scalasteward/core/application/StewardAlg.scala 45.45% <0.00%> (+2.59%) ⬆️
...org/scalasteward/core/repocache/RepoCacheAlg.scala 0.00% <0.00%> (ø)
...ain/scala/org/scalasteward/core/edit/EditAlg.scala 58.62% <25.00%> (ø)
...lasteward/core/buildtool/BuildToolDispatcher.scala 80.00% <75.00%> (-2.36%) ⬇️

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 fc51ba0...0c7fa38. Read the comment docs.

@fthomas fthomas merged commit 9231c0f into master Mar 14, 2021
@fthomas fthomas deleted the topic/parse-repo-config-once branch March 14, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant