platform/upstream/libsolv.git
10 years agoenable appdata support for suse
Michael Schroeder [Mon, 9 Dec 2013 10:54:13 +0000 (11:54 +0100)]
enable appdata support for suse

10 years agosolv example: add autopackages on SUSE systems
Michael Schroeder [Fri, 6 Dec 2013 14:36:11 +0000 (15:36 +0100)]
solv example: add autopackages on SUSE systems

10 years agoimplement lock-stepping for infarch packages in implicitobsoleteusescolors mode
Michael Schroeder [Wed, 4 Dec 2013 17:41:42 +0000 (18:41 +0100)]
implement lock-stepping for infarch packages in implicitobsoleteusescolors mode

Makeing the infarch rules weak when implicitobsoleteusescolors is set
is too simplistic, lets hope that the lock-step approach is good enough.

10 years agoadd changes, bump VERSION
Michael Schroeder [Tue, 3 Dec 2013 13:34:26 +0000 (14:34 +0100)]
add changes, bump VERSION

10 years agosupport appdata parsing in tools, support SUSE auto-pattern generation
Michael Schroeder [Tue, 3 Dec 2013 12:17:39 +0000 (13:17 +0100)]
support appdata parsing in tools, support SUSE auto-pattern generation

10 years agopysolv: more python3 adaptions
Michael Schroeder [Fri, 22 Nov 2013 10:25:04 +0000 (11:25 +0100)]
pysolv: more python3 adaptions

10 years agosupport DELTA_LOCATION_BASE for completeness...
Michael Schroeder [Thu, 21 Nov 2013 12:56:26 +0000 (13:56 +0100)]
support DELTA_LOCATION_BASE for completeness...

10 years agotweak python version detection, add Datamatch.binary()
Michael Schroeder [Wed, 20 Nov 2013 11:58:09 +0000 (12:58 +0100)]
tweak python version detection, add Datamatch.binary()

Also no longer misuse swig's cdata typemap.

10 years agofix Chksum.add() method also for perl/ruby
Michael Schroeder [Tue, 19 Nov 2013 15:54:21 +0000 (16:54 +0100)]
fix Chksum.add() method also for perl/ruby

10 years agoport to python3
Michael Schroeder [Tue, 19 Nov 2013 15:18:41 +0000 (16:18 +0100)]
port to python3

10 years agotweak findproblemrule heuristic for conflicts
Michael Schroeder [Mon, 18 Nov 2013 18:00:18 +0000 (19:00 +0100)]
tweak findproblemrule heuristic for conflicts

Return conflict instead of requires if one of the required package
conflicts with an installed package.

10 years agorename repo_find_pubkeys to repo_find_all_pubkeys, add repo_find_pubkey
Michael Schroeder [Mon, 18 Nov 2013 13:47:43 +0000 (14:47 +0100)]
rename repo_find_pubkeys to repo_find_all_pubkeys, add repo_find_pubkey

10 years agosplit repo_find_pubkeys from repo_verify_sigdata
Michael Schroeder [Mon, 18 Nov 2013 10:31:05 +0000 (11:31 +0100)]
split repo_find_pubkeys from repo_verify_sigdata

10 years agoCreate a real type for a checksum handle
Michael Schroeder [Thu, 14 Nov 2013 15:35:09 +0000 (16:35 +0100)]
Create a real type for a checksum handle

Should be completely compatible, as the handle
was of type "void *" before.

10 years agoMerge pull request #39 from andreas-schwab/master
Michael Schroeder [Tue, 12 Nov 2013 11:48:37 +0000 (03:48 -0800)]
Merge pull request #39 from andreas-schwab/master

Add m68k architecture

10 years agoAdd m68k architecture
Andreas Schwab [Mon, 11 Nov 2013 15:50:21 +0000 (16:50 +0100)]
Add m68k architecture

11 years agoMerge pull request #38 from k0da/master
Michael Schroeder [Wed, 6 Nov 2013 12:01:11 +0000 (04:01 -0800)]
Merge pull request #38 from k0da/master

Add ppc64le architecture

11 years agoAdd ppc64le architecture
Dinar Valeev [Tue, 5 Nov 2013 22:03:19 +0000 (23:03 +0100)]
Add ppc64le architecture

This commit adds PowerPC64 Little Endian architecture

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
11 years agodo not rewrite the command line repo
Michael Schroeder [Thu, 31 Oct 2013 12:58:12 +0000 (13:58 +0100)]
do not rewrite the command line repo

11 years agosolv example: always internalize the "installed" repo, support '-i' option
Michael Schroeder [Thu, 31 Oct 2013 12:52:09 +0000 (13:52 +0100)]
solv example: always internalize the "installed" repo, support '-i' option

11 years agomake keyid of master key available in subkeys
Michael Schroeder [Wed, 30 Oct 2013 12:08:07 +0000 (13:08 +0100)]
make keyid of master key available in subkeys

11 years agosolvsig_verify: error out early if the checksum is finished
Michael Schroeder [Wed, 30 Oct 2013 11:51:42 +0000 (12:51 +0100)]
solvsig_verify: error out early if the checksum is finished

11 years agobindings: sig verification only works with ENABLE_PGPVRFY
Michael Schroeder [Tue, 29 Oct 2013 16:01:03 +0000 (17:01 +0100)]
bindings: sig verification only works with ENABLE_PGPVRFY

11 years agoplug weakrulemap memory map if the solver gets re-run
Michael Schroeder [Tue, 29 Oct 2013 15:05:24 +0000 (16:05 +0100)]
plug weakrulemap memory map if the solver gets re-run

11 years agosupport signature verification in bindings
Michael Schroeder [Tue, 29 Oct 2013 14:18:52 +0000 (15:18 +0100)]
support signature verification in bindings

11 years agorepo_add_keydir: put flags last (as with the other repo_add calls)
Michael Schroeder [Tue, 29 Oct 2013 14:18:22 +0000 (15:18 +0100)]
repo_add_keydir: put flags last (as with the other repo_add calls)

11 years agodelete solv_verify_sig, sort keys in verify
Michael Schroeder [Tue, 29 Oct 2013 13:05:03 +0000 (14:05 +0100)]
delete solv_verify_sig, sort keys in verify

11 years agorefactor a bit, add some comments
Michael Schroeder [Tue, 29 Oct 2013 09:55:30 +0000 (10:55 +0100)]
refactor a bit, add some comments

11 years agosupport ADD_WITH_SUBKEYS/ADD_MULTIPLE_PUBKEYS/ADD_WITH_KEYSIGNATURES
Michael Schroeder [Mon, 28 Oct 2013 18:18:37 +0000 (19:18 +0100)]
support ADD_WITH_SUBKEYS/ADD_MULTIPLE_PUBKEYS/ADD_WITH_KEYSIGNATURES

11 years agoadd repo_add_keyring() and repo_add_keydir() functions
Michael Schroeder [Mon, 28 Oct 2013 12:25:15 +0000 (13:25 +0100)]
add repo_add_keyring() and repo_add_keydir() functions

11 years agoadd repo_verify_sigdata, refactor solv_parse_sig into solvsig_create/free/verify
Michael Schroeder [Fri, 25 Oct 2013 12:43:26 +0000 (14:43 +0200)]
add repo_verify_sigdata, refactor solv_parse_sig into solvsig_create/free/verify

11 years agoterminate solvable2str() string when there is no arch
Michael Schroeder [Fri, 25 Oct 2013 12:06:21 +0000 (14:06 +0200)]
terminate solvable2str() string when there is no arch

11 years agocleanup code a bit. remove unused choice calculation in order code.
Michael Schroeder [Thu, 24 Oct 2013 12:47:39 +0000 (14:47 +0200)]
cleanup code a bit. remove unused choice calculation in order code.

11 years agocosmetic sigpkg -> sigpkt, clone the hash before finishing it
Michael Schroeder [Wed, 23 Oct 2013 11:20:49 +0000 (13:20 +0200)]
cosmetic sigpkg -> sigpkt, clone the hash before finishing it

11 years agosupport :any in testcases
Michael Schroeder [Fri, 18 Oct 2013 13:58:01 +0000 (15:58 +0200)]
support :any in testcases

11 years agosmall improvement in :any parsing
Michael Schroeder [Fri, 18 Oct 2013 10:01:39 +0000 (12:01 +0200)]
small improvement in :any parsing

11 years agosupport debian multiarch annotation
Michael Schroeder [Fri, 18 Oct 2013 09:54:07 +0000 (11:54 +0200)]
support debian multiarch annotation

11 years agosimplify packagelink code a bit
Michael Schroeder [Thu, 17 Oct 2013 15:19:16 +0000 (17:19 +0200)]
simplify packagelink code a bit

11 years agono longer ask the nscallback for pruduct buddies
Michael Schroeder [Thu, 17 Oct 2013 10:00:29 +0000 (12:00 +0200)]
no longer ask the nscallback for pruduct buddies

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:29:42 +0000 (18:29 +0200)]
remove trailing whitespace

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:29:13 +0000 (18:29 +0200)]
remove trailing whitespace

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:25:15 +0000 (18:25 +0200)]
remove trailing whitespace

11 years agofix a bug in the application link code
Michael Schroeder [Wed, 16 Oct 2013 16:15:53 +0000 (18:15 +0200)]
fix a bug in the application link code

11 years agoadd is_noinst_pseudo_package(), use it for filtering installs
Michael Schroeder [Wed, 16 Oct 2013 14:29:02 +0000 (16:29 +0200)]
add is_noinst_pseudo_package(), use it for filtering installs

11 years agoadd repo_autopattern (SUSE only for now)
Michael Schroeder [Wed, 16 Oct 2013 14:14:15 +0000 (16:14 +0200)]
add repo_autopattern (SUSE only for now)

11 years agomake 'solv info' work with command line packages
Michael Schroeder [Wed, 16 Oct 2013 14:13:33 +0000 (16:13 +0200)]
make 'solv info' work with command line packages

11 years agofix typo in find_pattern_link
Michael Schroeder [Wed, 16 Oct 2013 13:00:29 +0000 (15:00 +0200)]
fix typo in find_pattern_link

11 years agoadd some comments about what linked packages are
Michael Schroeder [Wed, 16 Oct 2013 10:13:46 +0000 (12:13 +0200)]
add some comments about what linked packages are

11 years agomake pattern translations also look at the linked packages
Michael Schroeder [Wed, 16 Oct 2013 10:06:07 +0000 (12:06 +0200)]
make pattern translations also look at the linked packages

11 years agorefactor most of the linked pkg code into a seperate source file
Michael Schroeder [Wed, 16 Oct 2013 09:57:50 +0000 (11:57 +0200)]
refactor most of the linked pkg code into a seperate source file

11 years agoDeprecate PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION. Fix spelling bugs.
Michael Schroeder [Tue, 15 Oct 2013 15:13:16 +0000 (17:13 +0200)]
Deprecate PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION. Fix spelling bugs.

11 years agoOnly complile "patchcheck" for SUSE systems
Michael Schroeder [Tue, 15 Oct 2013 12:17:17 +0000 (14:17 +0200)]
Only complile "patchcheck" for SUSE systems

11 years agoget rid of unused variables if ENABLE_LINKED_PKGS is not set
Michael Schroeder [Tue, 15 Oct 2013 12:13:30 +0000 (14:13 +0200)]
get rid of unused variables if ENABLE_LINKED_PKGS is not set

11 years agoadapt testcase to latest change
Michael Schroeder [Tue, 15 Oct 2013 12:10:55 +0000 (14:10 +0200)]
adapt testcase to latest change

11 years agoFix obsoletes handling in multiversion mode (hopefully for the last time)
Michael Schroeder [Tue, 15 Oct 2013 11:57:58 +0000 (13:57 +0200)]
Fix obsoletes handling in multiversion mode (hopefully for the last time)

Seems like rpm does not really obsolete packages in multiversion mode,
but instead reports a conflict.

11 years agomake linked package support a condition build option
Michael Schroeder [Tue, 15 Oct 2013 11:17:42 +0000 (13:17 +0200)]
make linked package support a condition build option

11 years agomark PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION as obsolete
Michael Schroeder [Tue, 15 Oct 2013 10:04:46 +0000 (12:04 +0200)]
mark PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION as obsolete

11 years agoremove obsolete DISTPRODUCT/DISTVERSION parsing
Michael Schroeder [Tue, 15 Oct 2013 10:03:55 +0000 (12:03 +0200)]
remove obsolete DISTPRODUCT/DISTVERSION parsing

11 years agoremove obsolete states, add support for product type, fix flags parsing
Michael Schroeder [Tue, 15 Oct 2013 10:03:08 +0000 (12:03 +0200)]
remove obsolete states, add support for product type, fix flags parsing

11 years agoExtend product link support to patterns/applications
Michael Schroeder [Mon, 14 Oct 2013 15:40:27 +0000 (17:40 +0200)]
Extend product link support to patterns/applications

Also implement own product link code, in case the
nscallback does not return a buddy.
Includes two bugfix: the ruleinfo introspection now
know about links, and there's an extra link pass to
pick up linked packages.

11 years agoparse appdata in solv example
Michael Schroeder [Mon, 14 Oct 2013 15:38:23 +0000 (17:38 +0200)]
parse appdata in solv example

Also support a '-d' option to increase the debug level.

11 years agoENABLE_RPMDB_BYRPMHEADER
Michael Andres [Thu, 10 Oct 2013 08:46:09 +0000 (10:46 +0200)]
ENABLE_RPMDB_BYRPMHEADER

11 years agoadd repo_appdata to parse AppStream's appdata files
Michael Schroeder [Wed, 9 Oct 2013 11:37:15 +0000 (13:37 +0200)]
add repo_appdata to parse AppStream's appdata files

11 years agofix installation of header files
Michael Andres [Tue, 8 Oct 2013 12:48:40 +0000 (14:48 +0200)]
fix installation of header files

11 years agoadd reorder_dq_for_jobrules() workaround
Michael Schroeder [Tue, 8 Oct 2013 11:18:30 +0000 (13:18 +0200)]
add reorder_dq_for_jobrules() workaround

Jobrules are fulfilled before installed packages are kept, thus
the enhances/supplements of the packages cannot work.

11 years agoadd --type and --arch filter support
Michael Schroeder [Fri, 4 Oct 2013 14:44:38 +0000 (16:44 +0200)]
add --type and --arch filter support

11 years agorefactor selection code, add SELECTION_SKIP_KIND, add support for arch/kind filtering
Michael Schroeder [Fri, 4 Oct 2013 14:43:52 +0000 (16:43 +0200)]
refactor selection code, add SELECTION_SKIP_KIND, add support for arch/kind filtering

11 years agorepo_haiku: /boot/common no longer exists
Ingo Weinhold [Tue, 1 Oct 2013 16:21:17 +0000 (18:21 +0200)]
repo_haiku: /boot/common no longer exists

11 years agofix unbalanced ===
Michael Schroeder [Tue, 24 Sep 2013 11:18:44 +0000 (13:18 +0200)]
fix unbalanced ===

11 years agofix two small glitches in xcode filter
Michael Schroeder [Tue, 24 Sep 2013 11:13:43 +0000 (13:13 +0200)]
fix two small glitches in xcode filter

11 years agoadd changes
Michael Schroeder [Tue, 24 Sep 2013 09:14:39 +0000 (11:14 +0200)]
add changes

11 years agodo not add back cleandeps_updatepkgs packages [bnc#841781]
Michael Schroeder [Mon, 23 Sep 2013 14:34:25 +0000 (16:34 +0200)]
do not add back cleandeps_updatepkgs packages [bnc#841781]

11 years agoadd changes, bump version to 0.4.0 upstream/0.4.0
Michael Schroeder [Mon, 23 Sep 2013 09:42:32 +0000 (11:42 +0200)]
add changes, bump version to 0.4.0

This is done mainly so that openSUSE 13.1 will have a new minor
version of libsolv. In the future we hope to do this only for
ABI changes.

11 years agoalso save/restore pool pos in repodata load callback
Michael Schroeder [Mon, 23 Sep 2013 09:42:02 +0000 (11:42 +0200)]
also save/restore pool pos in repodata load callback

11 years agoinclude repo_pubkey.h in repo_pubkey.c
Michael Schroeder [Mon, 23 Sep 2013 09:29:54 +0000 (11:29 +0200)]
include repo_pubkey.h in repo_pubkey.c

11 years agoadd problem2str() convenience function to API
Michael Schroeder [Mon, 23 Sep 2013 09:27:47 +0000 (11:27 +0200)]
add problem2str() convenience function to API

11 years agoplug mem leak in selection_make_matchdeps
Michael Schroeder [Fri, 20 Sep 2013 16:33:01 +0000 (18:33 +0200)]
plug mem leak in selection_make_matchdeps

11 years agosplit DEP_PRE into DEP_PRE_IN and DEP_PRE_UN
Michael Schroeder [Fri, 20 Sep 2013 16:28:05 +0000 (18:28 +0200)]
split DEP_PRE into DEP_PRE_IN and DEP_PRE_UN

With a later commit we may use DEP_PRE_IN for uninstalled packages
and DEP_PRE_UN for installed ones.

11 years agobindings: add stringification shortcut for problems
Michael Schroeder [Fri, 20 Sep 2013 13:15:59 +0000 (15:15 +0200)]
bindings: add stringification shortcut for problems

Also fixes bugs in the rbsolv example.

11 years agoadd solver_rule2rules: learnt rule introspection
Michael Schroeder [Fri, 13 Sep 2013 15:39:35 +0000 (17:39 +0200)]
add solver_rule2rules: learnt rule introspection

11 years agoadd solv_memdup and solv_memdup2 inline helper functions
Michael Schroeder [Fri, 13 Sep 2013 14:30:53 +0000 (16:30 +0200)]
add solv_memdup and solv_memdup2 inline helper functions

11 years agorename selection_make_deps to selection_make_matchdeps, add marker support
Michael Schroeder [Mon, 9 Sep 2013 10:07:29 +0000 (12:07 +0200)]
rename selection_make_deps to selection_make_matchdeps, add marker support

Also add pool_intersect_evrs.

11 years agomake sure that the ttransaction_info contains only packages that have the transacts...
Michael Schroeder [Fri, 6 Sep 2013 15:48:59 +0000 (17:48 +0200)]
make sure that the ttransaction_info contains only packages that have the transacts bit set

can happen if transaction_create_decisionq is called with a decisionq
that doesn't match the pool's obsolete flags.

11 years agoadd pool_whatmatchesdep and selection_make_deps to query for packages intersecting...
Michael Schroeder [Wed, 4 Sep 2013 16:54:57 +0000 (18:54 +0200)]
add pool_whatmatchesdep and selection_make_deps to query for packages intersecting a dependency

11 years agooptimization: check key storage before doing the forward
Michael Schroeder [Wed, 4 Sep 2013 13:00:06 +0000 (15:00 +0200)]
optimization: check key storage before doing the forward

11 years agoadd solv_depmarker function to simplify the bindings
Michael Schroeder [Wed, 4 Sep 2013 09:45:26 +0000 (11:45 +0200)]
add solv_depmarker function to simplify the bindings

11 years agooops, fix last commit
Michael Schroeder [Tue, 3 Sep 2013 14:08:13 +0000 (16:08 +0200)]
oops, fix last commit

11 years agofix mem leak in last commit
Michael Schroeder [Tue, 3 Sep 2013 13:12:43 +0000 (15:12 +0200)]
fix mem leak in last commit

11 years agoSOLVER_TRANSACTION_RPM_ONLY: check if only pseudo packages obsolete us
Michael Schroeder [Tue, 3 Sep 2013 12:52:56 +0000 (14:52 +0200)]
SOLVER_TRANSACTION_RPM_ONLY: check if only pseudo packages obsolete us

Before, packages obsoleted by patterns of products where not erased.

11 years agomake sure that the selection only contains installed packages if SELECTION_INSTALLED_...
Michael Schroeder [Fri, 30 Aug 2013 12:16:12 +0000 (14:16 +0200)]
make sure that the selection only contains installed packages if SELECTION_INSTALLED_ONLY is used

11 years agosolv example: use gpgv instead of gpg to verify sigs
Michael Schroeder [Wed, 28 Aug 2013 15:24:47 +0000 (17:24 +0200)]
solv example: use gpgv instead of gpg to verify sigs

11 years agoadd solv_chksum_create_clone to clone a (unfinished) checksum
Michael Schroeder [Mon, 26 Aug 2013 16:37:42 +0000 (18:37 +0200)]
add solv_chksum_create_clone to clone a (unfinished) checksum

11 years agocreate a copy of the sig data so that it can be freed later
Michael Schroeder [Fri, 23 Aug 2013 17:25:41 +0000 (19:25 +0200)]
create a copy of the sig data so that it can be freed later

11 years agorefactor a bit
Michael Schroeder [Fri, 23 Aug 2013 17:10:38 +0000 (19:10 +0200)]
refactor a bit

11 years agooops, revert unwanted commit chunks
Michael Schroeder [Fri, 23 Aug 2013 16:07:53 +0000 (18:07 +0200)]
oops, revert unwanted commit chunks

11 years agosolv_parse_sig: clear return values at the beginning
Michael Schroeder [Fri, 23 Aug 2013 16:06:04 +0000 (18:06 +0200)]
solv_parse_sig: clear return values at the beginning

11 years agorefactor, add experimental solv_parse_sig and solv_verify_sig
Michael Schroeder [Fri, 23 Aug 2013 14:45:20 +0000 (16:45 +0200)]
refactor, add experimental solv_parse_sig and solv_verify_sig

11 years agoconstify solv_pgpvrfy
Michael Schroeder [Fri, 23 Aug 2013 14:43:07 +0000 (16:43 +0200)]
constify solv_pgpvrfy

11 years agoadd forgotten repo/repodata_lookup_binary
Michael Schroeder [Fri, 23 Aug 2013 14:42:21 +0000 (16:42 +0200)]
add forgotten repo/repodata_lookup_binary

11 years agoremove unused res var
Michael Schroeder [Fri, 23 Aug 2013 13:46:20 +0000 (15:46 +0200)]
remove unused res var