diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-01-17 14:46:39 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-01-17 14:48:22 +0200 |
commit | b3df78ed03b3739d01220f9bf2f00ab8df61425f (patch) | |
tree | 3e06ec9de1b517fba8bdee5c3a234193e0a775b9 /src/apk_database.h | |
parent | eaaba3ee893c7fb3c5a258f0609d8ab6e4637804 (diff) | |
download | apk-tools-b3df78ed03b3739d01220f9bf2f00ab8df61425f.tar.gz apk-tools-b3df78ed03b3739d01220f9bf2f00ab8df61425f.tar.bz2 apk-tools-b3df78ed03b3739d01220f9bf2f00ab8df61425f.tar.xz apk-tools-b3df78ed03b3739d01220f9bf2f00ab8df61425f.zip |
solver, upgrade: properly detect missing repository tags
* upgrade needs explicit check so we don't try self-upgrade
(which would print additional messages on screen)
* add can fix problems, so check against the new world
* merge the code in few places
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 485afbe..ef3aa65 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -130,7 +130,6 @@ struct apk_database { unsigned int local_repos; int performing_self_update : 1; int permanent : 1; - int missing_tags : 1; int compat_newfeatures : 1; int compat_notinstallable : 1; int compat_old_world : 1; @@ -195,6 +194,7 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts); void apk_db_close(struct apk_database *db); int apk_db_write_config(struct apk_database *db); int apk_db_permanent(struct apk_database *db); +int apk_db_check_world(struct apk_database *db, struct apk_dependency_array *world); struct apk_package_array *apk_db_get_pending_triggers(struct apk_database *db); struct apk_package *apk_db_pkg_add(struct apk_database *db, struct apk_package *pkg); |