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
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
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
b6190a960b
package -> packages
...
for consistency
2024-09-15 17:07:03 +02:00
Christoph Reiter
106f1e42ec
More 404 reponses when things couldn't be found
2024-09-15 16:35:03 +02:00
Christoph Reiter
1c1d538324
pkgextra: get rid of internal flag
2024-01-24 08:36:46 +01:00
Christoph Reiter
eacb03962c
fix the tests
2024-01-12 18:01:25 +01:00
Christoph Reiter
eab53769bd
Split up the code for the different external sources
2024-01-12 17:40:21 +01:00
Christoph Reiter
c746ac14b9
Remove pgp support
...
With the signatures being removed from the package DBs this is not needed
anymore
2023-11-04 18:51:59 +01:00
Christoph Reiter
f2ed76293f
Rename pkgmeta to pkgextra
...
So things are consistent
2023-09-17 18:59:12 +02:00
Christoph Reiter
cdd119e863
Parse the pkgmeta data from the srcinfo json file
...
See https://github.com/msys2/MSYS2-packages/issues/4019
2023-09-17 18:59:12 +02:00
Christoph Reiter
f1459923ca
base packages: pull the "base" package description from the SRCINFO
...
When parsing the SRCINFO we only get out the sub packages and the
package fields override the base fields, but the base description
has some vlaue on its own, as it is a description for all contained
packages.
Store the base description away and when fetching the description
for the pacman DB package we look up the description from the SRCINFO
base package if possible.
The onyl downside here is that they come from different sources, so
might be out of sync, but still better then before I guess.
2023-08-18 06:55:38 +02:00
Christoph Reiter
7ca9efda81
fetch: also parse cygwin mingw64 packages
...
Register them under a separate "cygwin-mingw64" name.
2023-05-20 09:59:55 +02:00
Christoph Reiter
6b244070f8
Merge data structures for cygwin/arch infos
2023-04-11 19:33:08 +02:00
Christoph Reiter
54f4164f02
cygwin: still skip test versions
2023-01-24 19:37:49 +01:00
Christoph Reiter
bbb3458aad
cygwin: always take the newest version available
...
In case a previous version obsoleted a package that might still stay
around and come first in setup.ini, so always take the newest version
in case there are multiple entries.
2023-01-24 19:29:32 +01:00
Christoph Reiter
e0b0ae48da
Add a base group collection
...
This is conceptionally similar to a pkgbase, but for groups.
Something like this doesn't really exist on the PKGBUILD level,
but end users can't really work with pkgbase with pacman either,
so for them that doesn't matter.
It still gives the end user the same structure as with packages,
there is a base thing that has multiple instances for each environment,
and searching might be a bit easier.
The UX could be improved, but the basics are there at least.
Fixes #47
2022-12-26 12:00:45 +01:00
Christoph Reiter
290ee4440d
Rename group -> groups
...
my initial naming wasn't the best. base/package remains, but that is
trickier to change
I mainly wanted to see how to handle renames with fastapi here
2022-12-26 12:00:45 +01:00
Christoph Reiter
ec9760f6d4
Extract the upstream versions at parsing time
...
It was a mix of everything right now, make sure we only work
with upstream versions after parsing.
2022-07-31 08:59:22 +02:00
Christoph Reiter
3e694dee87
Add a mirror stats page
2021-06-30 17:29:20 +02:00
Christoph Reiter
07088bd6e6
Switch to keyserver.ubuntu.com for linking key IDs
...
pool.sks-keyservers.net no longer exists
2021-06-26 12:26:22 +02:00
Christoph Reiter
f83dec1783
api: mark builds as new if their result isn't in the repo yet
2021-05-14 11:44:38 +02:00
Christoph Reiter
3ed2dde45a
More vercmp fixes
2021-04-13 22:01:48 +02:00
Christoph Reiter
6d00fa7c7a
vercmp: 1.0.0.r101 is newer than 1.0.0
2021-03-24 12:41:13 +01:00
Christoph Reiter
fb20eb77d0
Add a traffic stats page
...
hacky iframe include..
2021-03-01 10:28:35 +01:00
Christoph Reiter
5634f178e5
Merge the package removals in the update queue
...
And add an API for it as well
2021-01-23 10:16:38 +01:00
Christoph Reiter
ab1ab27afa
Fix srcinfo parsing
...
It didn't take into account that split packages can re-define
their dependencies, leading to wrong and missing dependencies.
2021-01-15 13:21:43 +01:00
Christoph Reiter
c7ee6eb2bb
Don't hide VCS packages
...
Treat them like all other packages. They used to cause various problems
by hitting edge cases, but this should all be fixed now.
2020-10-01 19:15:20 +02:00
Christoph Reiter
7fa9ae1ac6
Remove the python2 removal page
...
It mostly shows direct reverse deps Python 2 now, which can be seen on
the Python 2 package page.
2020-09-18 10:31:57 +02:00
Christoph Reiter
a3a869b195
Work around a fastapi testclient bug with a middleware
2020-08-18 20:56:49 +02:00
Christoph Reiter
f2083b84c7
Remove appveyor srcinfo creation
...
This is now handled by the package repos in their CI
Fixes #28
2020-08-18 20:26:57 +02:00
Christoph Reiter
eef82bc198
ignore empty optdepend messages
2020-08-14 15:11:52 +02:00
Christoph Reiter
98572b281b
Show the last packager
2020-07-26 19:48:19 +02:00
Christoph Reiter
b9f40d85cf
Add a package index
2020-07-05 12:53:32 +02:00
Christoph Reiter
5bc5948bf3
packages: show who signed the package and when
...
Fixes #23
2020-07-04 10:41:00 +02:00
Christoph Reiter
41210d8f37
Port to FastAPI
2020-05-26 09:05:50 +02:00
Christoph Reiter
0bb4b0e659
Split app up into multiple modules
...
It's time..
2020-05-24 10:16:38 +02:00
Christoph Reiter
bf01b34838
Move Python app into its own directory
2020-05-24 09:09:49 +02:00