On Sat, 25 Jul 2026, 14:57 Bill Allombert, <[email protected]> wrote:

> On Sat, Jul 25, 2026 at 01:14:32PM +0100, Richard Lewis wrote:
> > The following message is a courtesy copy of an article
> > that has been posted to gmane.linux.debian.devel.general as well.
> >
> > Bill Allombert <[email protected]> writes:
> >
> > > Dear Debian developers,
> > >
> > > I am trying to fix bug #1089172
> > > popularity-contest: migrate cron job to systemd timer on Linux ports
> > >
> > > While this is reasonable thing to do, popcon has a number of unusual
> requirements,
> > > hence the open-minded in the subject...
> >
> > Could you say what the unusual requirements are? i couldnt tell from the
> bug
>
>





> Specifically for the timer:
> 1/ the report need to be sent about once a week at some random time to
> minimize congestion
> on the server side.
>
> 2/ if the host is not powered or not online at the time the report is to be
> sent, sending the report need to be retried later, about one time per day.
>
> This is done currently by the /etc/cron.daily/popularity-contest running
> every
> day at some time determined randomly at installation time in
> /etc/cron.d/popularity-contest.
>


i think this is actually  fairly simple:  as you've already implemented
this in the cron script,  we just need to ensure systemd and cron can
coexist

my only questions are: 1..s there any way to test this  - i think there are
no tests in the package at all, but is there maybe some option i can pass
to output the report not actually send it?

and 2. how do i even build the package?

i did a git clone and "gbp buildpackage" and it failed with:

                     install -m 644 debian-popcon.gpg
debian/popularity-contest/usr/share/popularity-contest/
    install: cannot stat 'debian-popcon.gpg': No such file or directory


there's no .gpg file in the repository... what am i missing?

Reply via email to