728 Commits

Author SHA1 Message Date
Christoph Reiter
1d9111ad45 CI: Update to actions/checkout@v4 2023-10-15 12:07:23 +02:00
Christoph Reiter
82b4e4e4ee Require Python 3.10
Ubuntu 22.04 should be enough
2023-10-15 12:06:56 +02:00
Christoph Reiter
3297b2aada Update deps 2023-10-15 12:05:58 +02:00
Christoph Reiter
39b6214728 licenses: stop deduplicating licenses and sorting them
just output them as they are in the file.
2023-10-06 19:09:58 +02:00
Christoph Reiter
05a72b5e4e Update python deps 2023-10-06 18:46:01 +02:00
Christoph Reiter
f3924eee87 Show all package URLs again
Add them all as separate rows with the URO, instead of inline with just the label.

Seeing the URL has some value, if the URL is for github you already
know what to expect before going there etc.
2023-09-20 07:55:59 +02:00
Christoph Reiter
a22ae3694d Update deps 2023-09-20 07:53:13 +02:00
Christoph Reiter
5b89363b09 More exact typing 2023-09-17 21:04:51 +02: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
b2843b55f1 Some more logging
configure the root logger to log INFO for all loggers to stdout and
add our own logger which logs from DEBUG and up.
2023-08-19 23:43:21 +02:00
Christoph Reiter
9842240ba7 Revert "Hide the version epoch in most places"
This reverts commit 05a8bba0a8405b4521015ab35a4259fe176fa642.
2023-08-18 08:05:43 +02:00
Christoph Reiter
05a8bba0a8 Hide the version epoch in most places
It's only relevant for schema changes and downgrades and only
useful for deciding if a version is newer, which website users
rarely need to do.

Let's just hide it by default. It's still part of the package file name
if really needed.
2023-08-18 07:21:34 +02:00
Christoph Reiter
f47a474d7e base/packages: move the package description down to the list
it's easily missed muted at the top, just put it where all the other
package information is.
2023-08-18 06:59:08 +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
3f0c1ae9cf fetch: reduce update interval
now that we send cache request headers we can ask more often
2023-08-15 22:08:20 +02:00
Christoph Reiter
789c72ae75 fetch: send cache request headers when checking for changes
Up until now it only did a HEAD request and compared the returned
cache headers to see if something changed. By also sending the
request cache headers, the other side can potentially respond from their
caching layer and not hit any actual service.

With this we can reduce the checking interval without harming any
external service.
2023-08-15 22:04:23 +02:00
Christoph Reiter
30110d1c78 Update deps 2023-08-14 20:27:49 +02:00
Biswapriyo Nath
db7437c58d package: Rephrase the issue related words
The previous words sounds like user want to introduce an issue.

Also FYI, bugs are any insect or insectlike invertebrate. Those
are not related to programming or computer and live in wild :-)
2023-08-12 18:17:47 +02:00
Christoph Reiter
3011b7ad2b Update dependencies 2023-07-29 21:37:38 +02:00
Christoph Reiter
03f3583d2b Only compare to the main external version when showing the update note
Since we now have a concept of main and fallback versions we shouldn't
compare the repo version to all versions, but ignore the fallback ones
if there are others.
2023-07-22 18:34:30 +02:00
Christoph Reiter
0149efb907 pkgmeta: add multiple URL fields
This allows us to specifiy multiple URLs for each project in addition
to the homepage that is defined by the PKGBUILD.

This is similar to what Python packages can do, which then gets
exposed on pypi. But while they allow free form text we specify
a fixed set with a specific purpose, so we can pontentially re-use them
in the future, and also to make it more clear what we expect them to
point to.
2023-07-22 18:15:48 +02:00
Christoph Reiter
b5a6db9025 Split the pkgmeta code into its own file 2023-07-22 17:43:47 +02:00
Christoph Reiter
e5881a4d4c Update frontend deps 2023-07-18 08:21:52 +02:00
Christoph Reiter
1725bfd5b9 Update Python dependencies 2023-07-18 08:18:39 +02:00
Christoph Reiter
19d9b01421 Move the request update button to the footer
It affects multiple pages and not just the queue. Hopefully less confusing.
2023-07-04 08:59:34 +02:00
Christoph Reiter
6205afaa1c Update deps 2023-07-04 08:49:37 +02:00
Christoph Reiter
22c2b00ac2 Add a basic API for getting a list of package that need to be updated 2023-07-03 20:14:17 +02:00
Christoph Reiter
515198449c Add proper pypi integration
We now fetch the cached pypi API responses and extract the version
and the oldest date of any version artifact
2023-07-03 19:55:50 +02:00
Christoph Reiter
7bd958cca3 Link to pypi if we know the pypi name 2023-07-02 14:45:22 +02:00
Christoph Reiter
8a932a71d2 Update frontend deps 2023-06-30 21:39:53 +02:00
Christoph Reiter
980cd257a3 Update Python deps 2023-06-30 21:37:16 +02:00
Christoph Reiter
7f84e3a9cf Update Python deps 2023-06-23 18:27:45 +02:00
Christoph Reiter
c9da456283 Update frontend deps 2023-06-20 18:07:33 +02:00
Christoph Reiter
29cb2a56e7 parse_repo: log the correct URL in case we don't load the files DB 2023-06-20 18:00:28 +02:00
Christoph Reiter
b5ee0007ee Update Python dependencies 2023-06-20 17:58:12 +02:00
Christoph Reiter
aab5373c6e Update dependencies 2023-05-29 12:20:54 +02:00
Christoph Reiter
75872f30e3 fetch: don't download the db including the package files
there really is no need to, we only need the version really.
2023-05-21 21:05:46 +02:00
Christoph Reiter
081835a3ee update_arch_versions: move to new arch repo layout
testing, community* are gone; core-testing, extra-testing are new
also remove multilib, likely doesn't include anything that helps us.

and switch to a different mirror which apparently updates more often.
2023-05-21 21:05:16 +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
b56e7095fd Update frontend deps 2023-05-19 16:15:19 +02:00
Christoph Reiter
093787b63d Update Python deps 2023-05-19 16:12:41 +02:00
Christoph Reiter
78a636b3c8 Always prefer Arch versions over AUR and Cygwin
AUR contains dev versions we don't care about and cywin
sometimes uses a different versioning scheme.

Only if there is no matching Arch package consider the other ones
2023-05-12 21:35:11 +02:00
Christoph Reiter
05dd0e71d6 Update dependencies 2023-05-11 22:13:52 +02:00
Christoph Reiter
8db831b53c httpx: always use raise_for_status()
otherwise we ignore 404 etc..
2023-05-07 00:14:15 +02:00
Christoph Reiter
b9a95aeb24 Update frontend deps 2023-05-06 12:02:23 +02:00
Christoph Reiter
bcba064883 Update deps 2023-05-06 11:57:38 +02:00
Christoph Reiter
d006089bdd queue: filter on build types instead of repos
previously the src build types were merged with the repos
they were connected with, so msys-src with msys etc.

Usually when filtering for "mingw64" one doesn't want to know the
build status of "mingw-src", so skip all that and just leak the
build types to the frontend as is.
2023-05-06 11:53:17 +02:00
Christoph Reiter
37bf16b7d3 oops
fixes arch versions not being updated
2023-04-25 09:41:13 +02:00
Christoph Reiter
96c1dc7365 Make sure to keep a reference to asyncio tasks
as suggested in the docs
2023-04-22 20:33:31 +02:00