[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix Data Service can now poll for new revisions/branches
From: |
Christopher Baines |
Subject: |
Re: Guix Data Service can now poll for new revisions/branches |
Date: |
Thu, 12 Oct 2023 12:52:14 +0100 |
User-agent: |
mu4e 1.10.5; emacs 28.2 |
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi Christopher,
>
> Christopher Baines <mail@cbaines.net> writes:
>
>> Hey,
>>
>> As has happened before in the past, at the moment we're not getting
>> emails to guix-commits for the main guix.git repository. This impacts
>> the data service instances as they use these emails to know when there
>> are new revisions to process.
>>
>> I've now added the ability to configure the data service to poll the
>> repository for changes and I've enabled this on both data.guix.gnu.org
>> and data.qa.guix.gnu.org, which should mean they'll be shortly back up
>> to date.
>>
>> This sounds easy, but it was a little tricky to implement, as I didn't
>> want to remove the email feature in favour of polling, at least not
>> yet. It's also had a large impact on data.qa.guix.gnu.org, as now it's
>> learned about lots of older branches that it didn't know about before.
>
> Ludovic recently implemented a mechanism to notify Cuirass of new
> commits via the Savannah server-side git hook; perhaps you could use
> that as well? It should be cheaper than polling on the git repo.
Yeah, there's also this UDP thing that Giovanni mentioned:
https://lists.gnu.org/archive/html/guix-devel/2023-09/msg00153.html
Both approaches should be easier to implement now that polling is
implemented.
signature.asc
Description: PGP signature