On Mo, 14.01.19 17:15, Ben Cotton (bcot...@redhat.com) 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to