8 Commits

Author SHA1 Message Date
Christoph Reiter
42b02362e1 Use ruff to upgrade code 2025-08-26 22:05:51 +02:00
Christoph Reiter
dad6671556 cache: old files didn't contain _ 2024-03-03 07:40:34 +01:00
Christoph Reiter
bf9a4e2862 cache: version the file using the library version instead
so we don't have to care about this in the future.
2024-03-03 07:37:29 +01:00
Christoph Reiter
719254cb89
bump the cache file
looks like it's not compatible anymore
2024-03-03 06:59:02 +01:00
Christoph Reiter
79a45bf6c7 Require a user confirmation for manual uploads
We currently allow some users to manually upload packages (in case
they take too long for CI, or to bootstrap things).

In case of an account takeover this would allow an attacker to upload/replace
files in staging. To reduce the risk a bit ask for confirmation when downloading
the manually uploaded files.

Also add a "--noconfirm" option so we can avoid the questions in the staging
download script.

Ideally we would require users to sign their files, but this helps a bit at least.
2023-09-16 14:07:08 +02:00
Christoph Reiter
e3bb36afac more type annotations 2023-03-24 14:09:24 +01:00
Christoph Reiter
88871c4cb0 Rename _PathLike to PathLike
it's no longer internal
2023-03-23 11:17:10 +01:00
Christoph Reiter
87f0603c87 Split the code up into separate modules
with minimal code changes
2023-03-22 09:59:05 +01:00