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

feat: Make the cloud linter start and end dates configurable #329

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

nand4011
Copy link
Contributor

@nand4011 nand4011 commented Aug 1, 2024

Add optional arguments to the cloud-linter command that take a start and end date in YYYY-MM-DD form. If the start-date isn't provided, it defaults to end-date - 30. If end-date isn't provided, it defaults to today.

Make the process resources function argument orders consistent.

Delete some commented out code.

@nand4011 nand4011 requested a review from a team August 1, 2024 07:11
@nand4011 nand4011 force-pushed the linter-configurable-duration branch from fcd2c37 to 447cf56 Compare August 1, 2024 07:12
Copy link
Contributor

@cprice404 cprice404 left a comment

Choose a reason for hiding this comment

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

couple of minor questions / nits that probably aren't blockers.

We may want @eaddingtonwhite to pull down and run it before merging, if he has time.

momento/src/commands/cloud_linter/linter_cli.rs Outdated Show resolved Hide resolved
momento/src/commands/cloud_linter/linter_cli.rs Outdated Show resolved Hide resolved
@nand4011 nand4011 requested a review from cprice404 August 2, 2024 22:48
Add optional arguments to the cloud-linter command that take a start and
end date in YYYY-MM-DD form. If the start-date isn't provided, it
defaults to end-date - 30. If end-date isn't provided, it defaults to
today.

Make the process resources function argument orders consistent.

Delete some commented out code.
@nand4011 nand4011 force-pushed the linter-configurable-duration branch from 078ab2d to 0ab862b Compare August 5, 2024 16:44
Ignore too many arguments lint errors. This needs to be fixed, but it
would be a larger change and I want to unblock.
@nand4011 nand4011 force-pushed the linter-configurable-duration branch from 0ab862b to 1aad9c2 Compare August 5, 2024 16:59
@cprice404
Copy link
Contributor

@malandis to pull this down and help review UX if he gets to it before I do.

momento-cli-opts/src/lib.rs Outdated Show resolved Hide resolved
momento/src/commands/cloud_linter/linter_cli.rs Outdated Show resolved Hide resolved
@nand4011 nand4011 requested a review from malandis August 9, 2024 02:12
@nand4011 nand4011 merged commit e30bea2 into main Aug 9, 2024
3 checks passed
@nand4011 nand4011 deleted the linter-configurable-duration branch August 9, 2024 17:42
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.

3 participants