mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Always retrieve dependency providers
Since commit 16765d5
(Track providers in the official repositories,
2015-10-21), we know all packages and virtual provisions from the
official repositories. Always obtain and display all providers from both
the official repositories and the AUR.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
b74a87abfc
commit
5d119c02ea
1 changed files with 8 additions and 11 deletions
|
@ -326,17 +326,14 @@ function pkg_depend_link($name, $type, $cond, $arch, $pkg_id) {
|
||||||
$desc = '(unknown)';
|
$desc = '(unknown)';
|
||||||
}
|
}
|
||||||
|
|
||||||
$providers = array();
|
/*
|
||||||
if (is_null($pkg_id)) {
|
* TODO: We currently perform one SQL query per nonexistent package
|
||||||
/*
|
* dependency. It would be much better if we could annotate dependency
|
||||||
* TODO: We currently perform one SQL query per nonexistent
|
* data with providers so that we already know whether a dependency is
|
||||||
* package dependency. It would be much better if we could
|
* a "provision name" or a package from the official repositories at
|
||||||
* annotate dependency data with providers so that we already
|
* this point.
|
||||||
* know whether a dependency is a "provision name" or a package
|
*/
|
||||||
* from the official repositories at this point.
|
$providers = pkg_providers($name);
|
||||||
*/
|
|
||||||
$providers = pkg_providers($name);
|
|
||||||
}
|
|
||||||
|
|
||||||
$link = htmlspecialchars($name);
|
$link = htmlspecialchars($name);
|
||||||
foreach ($providers as $provider) {
|
foreach ($providers as $provider) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue