Christoph Reiter
59c64cffe5
Update deps
2025-07-11 19:18:26 +02:00
Christoph Reiter
f5c0590e89
mcp: allow CORS
2025-07-10 08:11:36 +02:00
Christoph Reiter
dc9720df54
Update deps
2025-07-10 08:05:36 +02:00
Christoph Reiter
809daefa3f
Add some more MCP tools
...
One for listing the repos, and one for searching packages
2025-07-07 20:07:25 +02:00
Christoph Reiter
1c703c66d7
Add an example MCP server
...
Only provides one tool for vercmp() as a test.
Since the mcp session can only be instanciated once I needed to
adjust the test client usage in the test suite a bit and make
it a shared session fixture.
2025-07-06 17:32:20 +02:00
Christoph Reiter
b15cb4fff3
don't cache git_version
...
it depends on the external srcinfos
2025-06-30 17:30:13 +02:00
Christoph Reiter
457d9817d8
clean up _licenses_to_html
...
don't require a request object, it's not needed there
2025-06-29 11:04:19 +02:00
Christoph Reiter
279d81c584
some more perf fixes
2025-06-29 11:02:06 +02:00
Christoph Reiter
82775f74ab
Optimize/cache some things for /outofdate
2025-06-28 21:58:05 +02:00
Christoph Reiter
ab422966a2
fix reuse
2025-06-28 21:07:56 +02:00
Christoph Reiter
402cb14acc
Add a minimal docker compose file
2025-06-28 21:01:49 +02:00
Christoph Reiter
0236e6e067
Update deps
2025-06-28 21:01:40 +02:00
Christoph Reiter
cade6e9685
vercmp: add fast path for when the versions or parts are equal
...
We compare the same versions a lot, for example downstream with upstream,
or git with pacman repo.
2025-06-28 20:52:13 +02:00
Christoph Reiter
793616a5b7
vercmp: reduce get_type() calls
...
only do it once per version part
2025-06-28 20:51:05 +02:00
Christoph Reiter
4b1ed99678
Update deps
2025-06-13 10:32:19 +02:00
Christoph Reiter
df25e8f900
Port from zstandard to pyzstd
...
better maintained, will be the base for the stdlib version
2025-06-02 09:18:51 +02:00
Christoph Reiter
5bcfc9d4b1
Update frontend deps
2025-06-02 09:02:43 +02:00
Christoph Reiter
37f4692120
Update deps
2025-06-02 09:01:27 +02:00
Christoph Reiter
6ec08756be
Update deps
2025-05-25 15:43:03 +02:00
Christoph Reiter
e9c7ce78e6
Update deps
2025-05-04 19:50:50 +02:00
Christoph Reiter
538f3eb9a5
Remove msys2-arm/msys2-autobuild
...
depends on https://github.com/msys2/msys2-autobuild/pull/113
2025-04-16 20:02:45 +02:00
Christoph Reiter
9371a2395d
Update deps
2025-04-11 10:36:15 +02:00
Christoph Reiter
7e2db84064
Update deps
...
and fix some new flake8 warnings
2025-04-01 19:34:55 +02:00
Christoph Reiter
b40daf8b11
Link to crates.io and rubygems.org if PURLs are available
2025-02-25 08:50:59 +01:00
Christoph Reiter
1bfc1927c8
Remove leftover code for pypi references
2025-02-25 08:49:01 +01:00
Christoph Reiter
2039923f25
Fix matching of pypi references
...
Now that we use purls we need to convert them to pypi project names
before looking them up.
2025-02-17 08:24:01 +01:00
Christoph Reiter
0909a67fa4
pypi: support extracting project names from PURL references
...
For example "pkg:pypi/django@1.11.1" -> django
This means we can get rid of the non-purl "pypi" mapping in PKGBUILDS
2025-02-16 20:34:35 +01:00
Christoph Reiter
b29a9d37f4
Update deps
2025-02-16 19:17:48 +01:00
Christoph Reiter
a19180130b
pkgextra: allow multiple values for reference mapping
...
Since we added PURLs instead of key->value we map to key->list[value]
since the keys are not longer unique.
2025-02-16 19:12:52 +01:00
Christoph Reiter
7f4f822e9b
make newer mypy happy
...
it can't figure out that .version can never be None there,
so refactor to add asserts
2025-02-07 16:11:13 +01:00
Christoph Reiter
75a8642223
Update deps
2025-02-07 16:04:23 +01:00
Christoph Reiter
9887129d68
Update deps
2025-01-25 07:29:21 +01:00
Christoph Reiter
48fab4d6c6
CI: test with 3.13 and update actions/setup-python
2025-01-17 19:04:03 +01:00
Christoph Reiter
863b35e117
Higher prio to WAITING_FOR_BUILD
2025-01-17 19:01:17 +01:00
Christoph Reiter
04fbe06c18
Fix queue sorting for real
...
It was passing the display text to the sort function, not the
enum value, so only worked by accident. Refactor/rename things a
bit to make this more clear.
Also give the unknown/unprocessed state a higher priority, so it
shows up before the finished builds. Same for manual builds, since
they require user action.
2025-01-17 18:51:34 +01:00
Christoph Reiter
2adcca84ae
queue: sort by status first
...
It was sorted by change date before, which does not say when
something was merged but when it was commited.
At least for me, I want to see if there are any problems and what is
currently building when looking at the queue, and only then what already
is there. Might be different for other users.
Sort by the status priority instead. The priority is the same one used to
decide the most important build status to show in the list for the
different build types.
2025-01-17 13:25:14 +01:00
Christoph Reiter
04fc810176
flake8
2025-01-17 11:35:41 +01:00
Christoph Reiter
b4dd495b8d
base: add option to filter by repo
...
mostly useful to show only cygwin packages for example
2025-01-17 11:29:38 +01:00
Christoph Reiter
bf40a8d007
pypi: stop guessing the pypi name based on the package name
...
To avoid false positives in case there is "python-foo" and "foo" in the repo.
Also rename/comment some things to make them more clear.
2025-01-17 11:06:18 +01:00
Christoph Reiter
0219cf6979
Update deps
2025-01-17 10:46:10 +01:00
Christoph Reiter
b6a05b9f93
pypi: don't use it just as a fallback for new versions
...
In case Arch and pypi both had the package we would prefer Arch.
While that helps in case Arch tries to keep older versions to keep
everything compatible, there are cases where things are outdated
in Arch and updates happend despite being in conflict,
so in reality we need to check ourselves anyway.
2024-12-26 12:44:17 +01:00
Christoph Reiter
2b9af9419c
sbom: adjust for sbom mapping changes
...
The "name" of the sbom components no longer contain the pkgbase
we can use to map vulns. Instead components now have one ore more
properties with the key "msys2:pkgbase" and the value being the pkgbase.
2024-12-23 15:32:57 +01:00
Christoph Reiter
6b994cc5ad
frontend: update deps; add min-width to theme switcher to avoid layout shift
2024-12-19 09:05:54 +01:00
Christoph Reiter
1ef2cef6a8
Update deps
2024-12-19 08:51:39 +01:00
Christoph Reiter
201f234c02
security: use "vulnerability reporting" everywhere
...
We are just reporting what others found, so avoid "scanning"
2024-12-19 08:50:20 +01:00
Christoph Reiter
429377548e
Update deps
2024-12-18 08:00:07 +01:00
Christoph Reiter
c9a38147cd
drop clang32
2024-12-18 07:58:31 +01:00
Christoph Reiter
e6e5bc74ad
security: list all the packages missing vuln metadata
...
It's a bit of a wall of text right now, but we need to show them
somewhere so we can fix them.
2024-12-14 10:53:14 +01:00
Christoph Reiter
73aa5d60bf
outofdate: fix total package number in case a repo filter is active
...
only count packages for the active filter
2024-12-14 10:48:46 +01:00
Christoph Reiter
d42899e01f
security: show git version as well, like everywhere else
2024-12-06 18:09:44 +01:00