Re: F30 System-Wide Change proposal (update): DNF Better Counting (was: DNF UUID)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 14.01.19 17:15, Ben Cotton (bcotton@xxxxxxxxxx) wrote:

> # Add a new "countme" variable. This variable will:
> #* Start as a "true" value,
> #* Reset to a "false" value the first time the client successfully
> makes a request to Fedora mirror servers, and
> #* Be reset to a "true" value after seven days.

This works correctly if all clients do a dnf run at least once a
week. Is this really expected?

Maybe use this instead:

   "count=fresh"   → this is the first dnf invocation on a fresh install
   "count=monthly" → this is used the first time in every 29.53 day
                     cycle, except if this is a fresh install
                     (i.e. count=fresh is sent instead)
   "count=weekly"  → this is used the first time in every 7 day cycle,
                     except if this is a fresh install or also the
                     first time in the 29.53 day cycle (i.e. only if
                     neither count=fresh nor count=monthly are sent)

If neither of those three cases apply no argument is sent.

The above allows to do stats:

1. systems active every week
2. systems active every month
3. systems that survive a week
4. systems that survive a month

(And of course all stats derived from the above: systems that didn't
survive the first week, and so on).

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux