2021-04-24T04:14:54 Eighth_Doctor: do you know if there is an API to set the default branch of a project? I only found it in webui and I see output in /api/0/package/bash/git/branches 2021-04-24T04:15:34 I think so? 2021-04-24T04:16:20 hmm I guess not 2021-04-24T04:16:30 it'd probably be a good idea to have such an API added 2021-04-24T04:16:38 patches welcome for that :) 2021-04-24T04:18:05 bmwiedemann: ^ 2021-04-24T04:18:40 IMHO, in a better design the webui uses the API, so that there is no way to expose functionality that is not available via API 2021-04-24T04:18:56 well, there is an internal API 2021-04-24T04:19:11 it's used by `pagure-admin`, but it's not currently exposed as a general API 2021-04-24T04:19:18 and the webUI has access to this API 2021-04-24T04:22:35 hold up 2021-04-24T04:22:39 there is an API endpoint for it 2021-04-24T04:24:33 it's just not documented for some reason :( 2021-04-24T04:25:02 bmwiedemann: https://pagure.io/pagure/blob/master/f/pagure/api/project.py#_717-770 2021-04-24T04:25:20 it was added in pagure 5.11, but updating the /api doc was missed 2021-04-24T04:25:50 you need an API token with `modify_project` ACL, which I'm sure you have 2021-04-24T04:28:21 OK. I'll test it. 2021-04-24T04:30:58 works 2021-04-24T04:41:40 Eighth_Doctor: the other interesting question is why /users has nginx return a 502 2021-04-24T06:41:39 Hi. The Chinese mailing list was closed some time ago. Now there are calls to re-open it. Can anyone do this for us? 2021-04-24T06:43:47 https://lists.opensuse.org/archives/list/users-zh@lists.opensuse.org/ 2021-04-24T08:54:28 does anyone know why we are running dnsmasq on forum.i.o.o ? 2021-04-24T08:55:35 GroverChouT: might be better to open a ticket. 2021-04-24T09:05:56 pjessen: sure, thanks. 2021-04-24T10:43:51 pjessen: IIRC forums do lots of DNS lookups (no idea why) and DOS'ed dnsmasq on anna/elsa 2021-04-24T10:57:34 cboltz_: hmm, okay. DOS - 10s of lookups per second? 2021-04-24T11:04:46 any idea what it was trying to resolve? 2021-04-24T11:15:31 *** cboltz_ is now known as cboltz 2021-04-24T11:27:21 *** cboltz_ is now known as cboltz 2021-04-24T11:27:47 the lookups were enough to cause DNS timeouts on anna/elsa, and setting up dnsmasq on forums.i.o.o fixed that 2021-04-24T11:27:57 we also had lots of DNS queries from matrix.i.o.o that day (which then also got its own pdns-recursor that day), so the forums were not the only heavy DNS user 2021-04-24T11:28:49 (and in hindsight, it might not be 100% clear if both really need their own DNS, or if having it on one of them would be enough) 2021-04-24T13:12:32 I was only worried about violating the KISS principle :-) 2021-04-24T13:32:13 well, I did break pdns-recursor on matrix later and it was hell to use the vpn so I would say just one wouldn't have been enough 2021-04-24T14:14:49 looking at forum.i.o.o right now, it has done some 600-700 queries over an hour. this may not be representative though 2021-04-24T15:07:25 pjessen, not related to the RSS feed? 2021-04-24T16:54:09 malcolmlewis: I can't say, I'm only looking at some total numbers from dnsmasq. 2021-04-24T16:58:06 I have put in a cronjob to generate some hourly stats, maybe we should check back in a week. 2021-04-24T16:59:46 I just have a gut feeling that a local dns cacher is way overkill, especially given that we already have nscd for just that purpose. KISS. 2021-04-24T22:29:03 *** henne is now known as Guest274