11 Commits

Author SHA1 Message Date
Hugo Locurcio
c89583e0a1 Use HTTPS in compose-fetcher.js to remove SSH authentication requirement
The repository is public and is only accessed for reading,
so it doesn't need SSH to be cloned.
2025-12-10 01:03:35 +01:00
Rémi Verschelde
5d2cfdfed2 Replace node-fetch by builtin Node fetch API 2025-11-10 13:48:24 +01:00
Thaddeus Crews
4c69f71cfa Integrate GRAPHQL_TOKEN enhancements & checks 2025-06-26 10:27:50 -05:00
Winston
ebd926b99a Move json de-serialization into retry logic 2025-02-12 12:50:39 +01:00
Rémi Verschelde
d12bf295f9 compose-fetcher: Update node-fetch to 2.7.0 and increase max retries to 10
The library update seems to replace the abrupt closing of the app with no error
with actually raising an exception which we already handled.

So now failures look like this:

    Requesting batch 10/17 of commit and pull request data.
    Failed with status 502, retrying (1/10)...
    Error fetching pull request data: FetchError: Invalid response body while trying to fetch https://api.github.com/graphql: Premature close
   Terminating with an exit code 1.
2025-01-17 00:27:54 +01:00
Raul Santos
cae87233dd Fix classifier for .NET/C# PRs
The area prefix regex didn't include the `.` or `#` characters so it wasn't matching PRs with the prefix `[C#]` or `[.NET]`.

Also added a special case for `.NET` since some PRs use that as the prefix, but the classifier expects the group name `C#` instead.
2024-09-19 20:52:36 +02:00
Yuri Sizov
f8097af283 Pre-process PRs when publishing the database
This moves some processing from the frontend
to the server, which should speed things up a bit,
but costs slightly more in downloading.

We'll make more use of this data with further
improvements, so it makes sense to prepare the
data on the server.
2023-11-26 23:11:40 +01:00
Yuri Sizov
3a2c4debd7 Make data files more VCS friendly 2023-11-26 22:25:49 +01:00
Yuri Sizov
afc916a3c3 Extract main classes from the compose database script 2023-11-26 21:56:29 +01:00
Yuri Sizov
ee45aa13f5 Extract some commonly used methods to a shared file 2023-11-26 21:35:31 +01:00
Yuri Sizov
2b954b13ea Initial commit 2023-03-21 17:37:03 +01:00