Commit Graph

108 Commits

Author SHA1 Message Date
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
d42899e01f security: show git version as well, like everywhere else 2024-12-06 18:09:44 +01:00
Christoph Reiter
b6190a960b package -> packages
for consistency
2024-09-15 17:07:03 +02:00
Christoph Reiter
1178edde11 Sort repos by priority and not by name
Use the order of the repos in the config as the order for everything else.
selection inputs, package groupes etc
2024-09-15 15:42:14 +02:00
Christoph Reiter
a2d66ef817 package: fix missing version info for all provides/conflicts/replaces 2024-08-28 08:24:33 +02:00
Christoph Reiter
0ec93350fe preload the fonts 2024-08-09 23:41:41 +02:00
Christoph Reiter
4fd8eb8cc3 Change the styling a bot for the sub-list headings
So it looks different to the main list headings in mobile view.
Not ideal.. but maybe better?
2024-07-23 17:41:28 +02:00
Christoph Reiter
461f08c905 package removals: show more context
add links, and show the dependency type
2024-07-23 09:33:11 +02:00
Christoph Reiter
fd3925efa0 Only show an outdated banner if the git version is too old
And not the version in the repo.
If the new version is in git, there is usually nothing to do, except
waiting for it to reach the repo.
2024-07-23 00:14:27 +02:00
Christoph Reiter
da40892968 Only show the git version in case it is different
In the common case it is the same, so avoid showing it twice
2024-07-22 23:50:28 +02:00
Christoph Reiter
1436216386 base: remove repo list
Now that the repos are listed via the sections of the binary packages,
there is no point it listing them again at the top.
2024-07-22 23:14:42 +02:00
Christoph Reiter
cd4a9ac00c more compact 2024-07-20 17:13:38 +02:00
Christoph Reiter
97e57e0098 Move the source-only tarball to the binary package file section
While it's in theory a base package property, it's rarely used/usefull,
so put it to the other file stuff for now.
2024-07-20 17:07:15 +02:00
Christoph Reiter
433371ad98 Move external links into a sub list
To separate it visually from the rest
2024-07-20 17:05:37 +02:00
Christoph Reiter
0daf0070de Add a link to the "source-only tarball" 2024-07-20 16:46:25 +02:00
Christoph Reiter
8b69672ee7 Fix error in case all vulns of a package have been ignored
We guarded in various places by whether vulns exist and then used
worst_vulnerability to select a color, but in case all are ignored
worst_vulnerability is None and things fail.

Introduce all_vulnerabilities/active_vulnerabilities/worst_active_vulnerability
properties and make sure that worst_active_vulnerability is always guarded
properly.
2024-06-30 16:01:53 +02:00
Christoph Reiter
f0d1065951 base: group binary packages by repo
since it's not obvious which package name prefix belongs
to which repo/env
2024-06-30 15:31:15 +02:00
Christoph Reiter
02d3a1bd02 Respect the new ignore_vulnerabilities field
It'a a list of CVE IDs or GHSA IDs which whould be ignored.
In lists we still show them, but at the end and with strike through.
For picking the worst for the tooltip button color we ignore them.
On the security page, of all are ignored, the package is skipped.
2024-03-28 11:28:12 +01:00
Christoph Reiter
fa0ec2f99a security: link the docs 2024-03-27 17:54:06 +01:00
Christoph Reiter
4ef880434b Add a page listing all found vulnerabilities
Also add some info to the package base if there is enough metadata
available for vulnerability matching.
2024-03-27 10:30:12 +01:00
Christoph Reiter
b2462470bc outofdate: also show vulnerabilities for unlinked packages
So we can priorize them for linking to other distros
2024-03-25 11:25:34 +01:00
Christoph Reiter
9bdd3d22b1 Expose matched CVEs on the outofdate and the package pages 2024-03-24 11:34:00 +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
505dfeec0a queue: make the tooltip content a bit more compact
it's quite hard to read on mobile otherwise
2023-11-02 17:48:59 +01:00
Christoph Reiter
4f5dad3f86 Handle missing package signatures correctly
They are optional now, which means they are availabel as detached signatures
and no longer available in the package database.
2023-11-01 19:14:42 +01:00
Christoph Reiter
14a224cafa Link to new documentation for how to update a package 2023-10-15 19:36:19 +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
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
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
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
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
7bd958cca3 Link to pypi if we know the pypi name 2023-07-02 14:45:22 +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
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
99b6fa73a0 ExtInfo: add an explicit label for the URLs 2023-04-11 19:14:10 +02: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
eeac72400b queue: show active cycles 2023-01-20 09:57:12 +01:00
Christoph Reiter
6a1303be83 Partly revert 9c609e66d4
we still want to link to the base package in the queue if possible
2023-01-06 09:19:32 +01:00
Christoph Reiter
41614992ff package: move the required/provided by lists to the bottom
To make clear that this info depends on other packages, and since
those lists can be quite long it's best to have all the other package
information before it.
2023-01-06 08:15:50 +01:00
Christoph Reiter
e66f96801a Remove package_name() function
We now parse/split all PKGBUILD fields properly, so all package names
that end up in the templates should be valid already.
2023-01-06 08:10:45 +01:00
Christoph Reiter
4a65e2d54b Be more explicit about showing virtual packages
Up until now we would show a list of packages and providing
packages. That's confusing when you don't scroll down and not
really obvious.

Instead if it's a virtual package show a simple page listing
the providing packages.

And in case a package of that name exists, show the other packages
providing the same name inline ("Provided By")
2023-01-06 07:59:29 +01:00
Christoph Reiter
9c609e66d4 queue: don't use the srcpkg to display information
Instead just use the srcinfo and the packages. In case a package moves between bases
it would look up the old srcpkg and display outdated names.

This is a leftover from when we had no srcinfo data.
2023-01-05 19:24:05 +01:00
Christoph Reiter
0aaa362d5a Remove skipped packages
With multiple sources, including cygwin, this doesn't make much sense.
We can mark some packages as internal in the future.
2022-12-29 06:49:39 +01:00
Christoph Reiter
256514bc41 Less guessing with the arch name mapping
Instead of doing regex and using the extracted package name, just
use the real pkgbase everywhere. This might mean more mappings are needed,
but it's more clear what it changes.

The next step is to move the mapping into the packaging repos.
2022-12-29 06:05:39 +01:00