Improve searching of local and remote packages.
modified libpkg/pkg_jobs.c
@@ -50,8 +50,8 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -621,7 +621,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -630,7 +630,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -647,9 +647,13 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -676,7 +680,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -695,7 +699,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -704,7 +708,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -712,7 +716,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -752,7 +756,7 @@ pkg_jobs_add_universe(struct pkg_jobs *j, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -846,12 +850,15 @@ pkg_jobs_test_automatic(struct pkg_jobs *j, struct pkg *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -880,11 +887,11 @@ new_pkg_version(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -995,6 +1002,41 @@ pkg_jobs_process_remote_pkg(struct pkg_jobs *j, struct pkg *p,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1022,11 +1064,8 @@ pkg_jobs_try_remote_candidate(struct pkg_jobs *j, const char *pattern,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1146,7 +1185,7 @@ pkg_jobs_find_remote_pkg(struct pkg_jobs *j, const char *pattern,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1155,16 +1194,15 @@ pkg_jobs_find_remote_pkg(struct pkg_jobs *j, const char *pattern,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
| - | |
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1251,10 +1289,11 @@ pkg_jobs_find_remote_pattern(struct pkg_jobs *j, struct job_pattern *jp,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1265,6 +1304,12 @@ get_local_pkg(struct pkg_jobs *j, const char *uid, unsigned flag)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1277,10 +1322,11 @@ get_local_pkg(struct pkg_jobs *j, const char *uid, unsigned flag)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1288,6 +1334,12 @@ get_remote_pkg(struct pkg_jobs *j, const char *uid, unsigned flag)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1470,7 +1522,7 @@ pkg_jobs_newer_than_local(struct pkg_jobs *j, struct pkg *rp, bool force)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1516,9 +1568,9 @@ pkg_conflicts_add_missing(struct pkg_jobs *j, const char *uid)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|