-
Notifications
You must be signed in to change notification settings - Fork 15
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
Accept any number of whitespaces when parsing %changelog entry timestamp #81
Conversation
b8ae9af
to
9b6c05f
Compare
Build failed. ✔️ pre-commit SUCCESS in 2m 28s |
recheck |
Build succeeded. ✔️ pre-commit SUCCESS in 2m 25s |
Actually, I'm thinking reversing the logic to fallback to the old timestamp format if parsing fails would be safer. |
@lachmanfrantisek could you have another look? I've added commit 82cf6ad. |
Build succeeded. ✔️ pre-commit SUCCESS in 1m 38s |
Signed-off-by: Nikola Forró <nforro@redhat.com>
Try to match the extended timestamp format rather than the classic one, so that if there is no match, the format is considered to be classic. Signed-off-by: Nikola Forró <nforro@redhat.com>
82cf6ad
to
bda8de3
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 1m 43s |
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 1m 46s |
Fixes #80.