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

Synchronize date output between calev-core and systemd-analyze #580

Merged
merged 2 commits into from
May 27, 2024

Conversation

mmateu
Copy link
Contributor

@mmateu mmateu commented May 25, 2024

The patch includes a fix for differences between the library and systemd cli mentioned in #553. Test "expression for the daily run on some month with potential next run on next year should start at the beginning of the month next year" verifies problem from the issue, but I added some more tests to be sure.

@eikek
Copy link
Owner

eikek commented May 26, 2024

Thank you very much! The tests are nice, I think you could have also added more lines to this file : https://github.com/eikek/calev/blob/master/modules/core/.jvm/src/test/resources/com/github/eikek/calev/trigger-data.txt -- it is used to create test cases. But obviously, the current way is also fine.

To make the format checker happy, could you maybe run sbt fix over the changes? Thanks for that!! (you can test locally all the ci checks by running sbt lint)

@mmateu
Copy link
Contributor Author

mmateu commented May 26, 2024

I am glad I could help. Can't wait for the next version of calev.

@eikek eikek added the bug Something isn't working label May 27, 2024
@eikek eikek merged commit 37f2ab6 into eikek:master May 27, 2024
5 checks passed
@eikek
Copy link
Owner

eikek commented May 27, 2024

A new release is just being made and should be available soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent output dates between calev-core and systemd cli
2 participants