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

Improve service config with examples, more defaults #160

Merged
merged 9 commits into from May 13, 2024

Conversation

aasseman
Copy link
Collaborator

@aasseman aasseman commented May 4, 2024

Explanations in the commit messages.

@aasseman aasseman requested a review from gusinacio May 4, 2024 00:02
@aasseman aasseman self-assigned this May 4, 2024
@aasseman aasseman force-pushed the aasseman/improve-service-config branch from 620f3f2 to 712976d Compare May 8, 2024 01:30
@aasseman
Copy link
Collaborator Author

aasseman commented May 8, 2024

Rebased onto latest main

Copy link

github-actions bot commented May 8, 2024

Pull Request Test Coverage Report for Build 9070262101

Details

  • 36 of 37 (97.3%) changed or added relevant lines in 3 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.5%) to 67.718%

Changes Missing Coverage Covered Lines Changed/Added Lines %
common/src/indexer_service/http/indexer_service.rs 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
common/src/tap/checks/deny_list_check.rs 1 93.64%
service/src/cli.rs 1 0.0%
Totals Coverage Status
Change from base Build 9069974480: 0.5%
Covered Lines: 3520
Relevant Lines: 5198

💛 - Coveralls

@aasseman aasseman marked this pull request as ready for review May 8, 2024 02:04
service/minimal-config-example.toml Outdated Show resolved Hide resolved
service/maximal-config-example.toml Outdated Show resolved Hide resolved
service/maximal-config-example.toml Show resolved Hide resolved
@aasseman aasseman requested a review from gusinacio May 10, 2024 23:34
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
The tests ensure that the config files are up to date with the code.
I also looks like freezing `serde_spanned` is not needed anymore + needed to remove it to be able to add `toml`.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Points to the example config files on github.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
So that we can give examples for the shell expansion functionality in comments
in the example config files.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
@aasseman aasseman force-pushed the aasseman/improve-service-config branch from 4723649 to 5771eb6 Compare May 13, 2024 21:48
@aasseman
Copy link
Collaborator Author

Rebased onto latest main

Copy link
Contributor

@gusinacio gusinacio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aasseman aasseman merged commit 3dcd0f5 into main May 13, 2024
8 checks passed
@aasseman aasseman deleted the aasseman/improve-service-config branch May 13, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants