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

Epoch formatting: set whole seconds precision #1022

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Nov 20, 2023

There was a change in fmt-10.0.0 which adds support for sub-second precision printing.
Given that we want only whole seconds on the output round the time point to std::chrono::seconds.

Closes: #1020

common/utils/string.hpp Outdated Show resolved Hide resolved
@ppisar
Copy link
Contributor

ppisar commented Nov 20, 2023

The test failures are unrelated: DNF 5 CI timed out and a Rawhide builds failed because of a new libxml2 (PR #1024).

There was a change in fmt-10.0.0 which adds support for subsecond
precision printing.
Given that we want only whole seconds on the output round the time point
to `std::chrono::seconds`.

Closes: rpm-software-management#1020
@kontura
Copy link
Contributor Author

kontura commented Nov 20, 2023

Updated and rebased to fix the libmlx2 problem.

@ppisar
Copy link
Contributor

ppisar commented Nov 20, 2023

There is a new failure in testing-farm:fedora-rawhide-x86_64 regarding importing PGP subkeys ("Policy rejects F87F747B8C608731: No binding signature at time 2023-11-20T13:54:38Z"). That's unrelated and probably caused by a time race (e.g. the key is signed in the same second when it is used).

Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

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

Now the updateinfo tests pass. Great.

@ppisar ppisar added this pull request to the merge queue Nov 20, 2023
Merged via the queue into rpm-software-management:main with commit 74696a2 Nov 20, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

CI tests fail in testing-farm because advisory time stamps are printed with subsecond resolution
2 participants