Commit Graph

257 Commits

Author SHA1 Message Date
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
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
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 05a8bba0a8.
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
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
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
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
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
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
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
8db831b53c httpx: always use raise_for_status()
otherwise we ignore 404 etc..
2023-05-07 00:14:15 +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
Christoph Reiter
514c16f963 arch: provides should only be a fallback
fallout from the arch/aur split
2023-04-13 00:38:43 +02:00
Christoph Reiter
2a7248c28a outofdate: don't show empty tooltips if there is no update date 2023-04-11 20:16:49 +02:00
Christoph Reiter
1cbe7cd7d4 outofdate: don't split the form
so we can filter with both the related and the repo field at once
2023-04-11 20:13:00 +02:00
Christoph Reiter
61b3837deb more generic text 2023-04-11 20:09:28 +02:00
Christoph Reiter
37550241be wording 2023-04-11 20:09:27 +02:00
Christoph Reiter
5569252cee Generalize external references and handle AUR separately
Remove all cygwin/arch specific code from the core models to make
it easier to add more references.
2023-04-11 20:02:55 +02:00
Christoph Reiter
6b244070f8 Merge data structures for cygwin/arch infos 2023-04-11 19:33:08 +02:00
Christoph Reiter
99b6fa73a0 ExtInfo: add an explicit label for the URLs 2023-04-11 19:14:10 +02:00
Christoph Reiter
5ce37b851f oops 2023-04-11 16:43:36 +02:00
Christoph Reiter
3ee1d07e63 pkgmeta: allow None in references
to mean the package doesn't exist there
2023-04-09 17:30:33 +02:00
Christoph Reiter
ea4549fa1d Update frontend deps 2023-04-09 17:27:37 +02:00
Christoph Reiter
d8de6db6e6 Update Python dependencies 2023-04-09 17:23:44 +02:00
Christoph Reiter
5bc7ddc3c3 Update deps 2023-03-24 13:50:56 +01:00
Christoph Reiter
8dcc5b99e3 Link to archlinux.org instead of www.archlinux.org
www.archlinux.org redirects to archlinux.org now, so link to the
new location.
2023-03-17 11:29:00 +01:00
Christoph Reiter
04112a7613 Update frontend deps 2023-03-05 11:41:44 +01:00
Christoph Reiter
37181a7aca Use reuse for license checks 2023-03-05 11:37:18 +01:00
Christoph Reiter
b919295fd6 package: fix crash if a package is provided by more then one package 2023-03-05 10:51:19 +01: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