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

Man page section about "countme" isn't entirely clear on system age #1972

Closed
dmnks opened this issue Jul 28, 2023 · 2 comments
Closed

Man page section about "countme" isn't entirely clear on system age #1972

dmnks opened this issue Jul 28, 2023 · 2 comments
Assignees

Comments

@dmnks
Copy link
Contributor

dmnks commented Jul 28, 2023

The "longevity bucket" reported in the countme flag is in fact based on the repository age, not system age as one would assume after reading the text:

countme
              boolean

              [...] The following 4 buckets are defined, based on how many full weeks have passed
              since the beginning of the week when this system was installed [...]

That's because the countme cookie file stored in /var/lib/dnf/repos/ is per-repository. This is by design, it's just that we never documented this properly.

The man page should instead say something along the lines of "when this repository was first accessed". I'll think about the exact wording a bit more and will submit a patch later.

(This came out of a discussion I had with some folks in the Fedora community about the countme feature.)

@dmnks dmnks self-assigned this Jul 28, 2023
@mattdm
Copy link
Contributor

mattdm commented Jul 28, 2023

The intent of this value is to count time since installation. The system docs reflect that correctly. Can we invert the sense of this issue? That is, the problem isn't the documentation — the docs describe exactly what it should be doing. I'm sorry I missed that before!

@dmnks
Copy link
Contributor Author

dmnks commented Jul 28, 2023

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

No branches or pull requests

2 participants