]> git.ipfire.org Git - thirdparty/libsolv.git/log
thirdparty/libsolv.git
11 years agoRevert "openSUSE-13.1's rpm ignores obsoletes in -i mode" SuSE-Code-13_1-Branch
Michael Schroeder [Fri, 16 May 2014 15:20:24 +0000 (17:20 +0200)] 
Revert "openSUSE-13.1's rpm ignores obsoletes in -i mode"

The problem was fixed in a better way with the last commit.
This reverts commit e071a609194910866f604e72addb55c4fc1a6c20.

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 agofix basename optimization for STRINGEND
Michael Schroeder [Mon, 3 Mar 2014 14:02:45 +0000 (15:02 +0100)] 
fix basename optimization for STRINGEND

broken with commit 0804020d92975c20a683f490f81339c14555b2d4

11 years agoadapt repo->end in repo_empty() function
Michael Schroeder [Tue, 25 Mar 2014 17:40:51 +0000 (18:40 +0100)] 
adapt repo->end in repo_empty() function

11 years agofix access to freed memory if we had to allocate a new schema when serializing a key
Michael Schroeder [Tue, 25 Mar 2014 18:01:20 +0000 (19:01 +0100)] 
fix access to freed memory if we had to allocate a new schema when serializing a key

11 years agofix pool_job2str message for lock ;)
Michael Schroeder [Tue, 1 Apr 2014 14:34:38 +0000 (16:34 +0200)] 
fix pool_job2str message for lock ;)

11 years agoadd changes, bump version
Michael Schroeder [Thu, 15 May 2014 09:46:25 +0000 (11:46 +0200)] 
add changes, bump version

11 years agoopenSUSE-13.1's rpm ignores obsoletes in -i mode
Michael Schroeder [Thu, 15 May 2014 09:44:11 +0000 (11:44 +0200)] 
openSUSE-13.1's rpm ignores obsoletes in -i mode

Adapt the pool default to this.

11 years agouse sed instead of grep to get rid of the <?xml...> line
Michael Schroeder [Thu, 15 May 2014 09:43:43 +0000 (11:43 +0200)] 
use sed instead of grep to get rid of the <?xml...> line

This allows us to parse files with no newlines.

11 years agoadd changes, bump version
Michael Schroeder [Fri, 21 Feb 2014 17:02:32 +0000 (18:02 +0100)] 
add changes, bump version

11 years agomake addfilelist more resistant against corrupt rpms
Michael Schroeder [Mon, 13 Jan 2014 17:25:50 +0000 (18:25 +0100)] 
make addfilelist more resistant against corrupt rpms

11 years agofix typos in pool_job2str
Michael Schroeder [Thu, 23 Jan 2014 13:22:49 +0000 (14:22 +0100)] 
fix typos in pool_job2str

11 years agofix bug in solver_get_unneeded that could lead to an endless loop
Michael Schroeder [Fri, 21 Feb 2014 14:13:54 +0000 (15:13 +0100)] 
fix bug in solver_get_unneeded that could lead to an endless loop

11 years agochange last commit to check for SOLVER_TRANSACTION_KEEP_PSEUDO
Michael Schroeder [Tue, 18 Feb 2014 14:42:07 +0000 (15:42 +0100)] 
change last commit to check for SOLVER_TRANSACTION_KEEP_PSEUDO

11 years agoAlways return IGNORE for pseudo packages in RPM_ONLY mode
Michael Schroeder [Tue, 18 Feb 2014 14:34:40 +0000 (15:34 +0100)] 
Always return IGNORE for pseudo packages in RPM_ONLY mode

The example codes already expect this behavior.

11 years agofix pseudo packages obsoleting other pseudo packages
Michael Schroeder [Tue, 18 Feb 2014 14:25:01 +0000 (15:25 +0100)] 
fix pseudo packages obsoleting other pseudo packages

This was broken with commit #ea033e29, which fixed pseudo packages
obsoleting real packages.

11 years agofix unbalanced === BASE-SuSE-Code-13_1-Branch
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
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

11 years agocosmetics: change comments
Michael Schroeder [Fri, 23 Aug 2013 13:45:49 +0000 (15:45 +0200)] 
cosmetics: change comments

11 years agorefactor a bit
Michael Schroeder [Fri, 23 Aug 2013 09:50:28 +0000 (11:50 +0200)] 
refactor a bit

11 years agomake unarmor() more flexible, make sure pgp mpis are minimal
Michael Schroeder [Fri, 23 Aug 2013 09:32:47 +0000 (11:32 +0200)] 
make unarmor() more flexible, make sure pgp mpis are minimal

11 years agofix decisioncnt handling
Michael Schroeder [Wed, 21 Aug 2013 15:26:49 +0000 (17:26 +0200)] 
fix decisioncnt handling

11 years agoadd changes
Michael Schroeder [Wed, 21 Aug 2013 12:46:17 +0000 (14:46 +0200)] 
add changes

11 years agoadd solver->describe_decision() method
Michael Schroeder [Wed, 21 Aug 2013 12:39:14 +0000 (14:39 +0200)] 
add solver->describe_decision() method

11 years agomake solver_describe_decision always return a rule, add solver_rule2solvable()
Michael Schroeder [Wed, 21 Aug 2013 12:34:46 +0000 (14:34 +0200)] 
make solver_describe_decision always return a rule, add solver_rule2solvable()

that way users of describe_decision have the correct rule, they can use
solver_rule2solvable to get the id of the solvable.

11 years agofix indent in debug message
Michael Schroeder [Wed, 21 Aug 2013 09:41:47 +0000 (11:41 +0200)] 
fix indent in debug message

11 years agoadd unset() method for solvables
Michael Schroeder [Wed, 21 Aug 2013 09:41:17 +0000 (11:41 +0200)] 
add unset() method for solvables

11 years agoMerge pull request #37 from miksa/master
Michael Schroeder [Tue, 20 Aug 2013 16:34:54 +0000 (09:34 -0700)] 
Merge pull request #37 from miksa/master

Add mipsel architecture

12 years agoAdd mipsel architecture 37/head
Mikko Hurskainen [Wed, 7 Aug 2013 14:14:27 +0000 (17:14 +0300)] 
Add mipsel architecture

12 years agoadd back armv7hnl for the Fedora guys
Michael Schroeder [Tue, 30 Jul 2013 14:32:04 +0000 (16:32 +0200)] 
add back armv7hnl for the Fedora guys

12 years agoadd support for SHA-224 (not really used yet, though)
Michael Schroeder [Tue, 30 Jul 2013 09:29:37 +0000 (11:29 +0200)] 
add support for SHA-224 (not really used yet, though)

12 years agocleanup solv_pgpvrfy a bit
Michael Schroeder [Fri, 26 Jul 2013 09:07:39 +0000 (11:07 +0200)] 
cleanup solv_pgpvrfy a bit

12 years agotreat v4 self-sig without key expires as unlimited lifetime
Michael Schroeder [Thu, 25 Jul 2013 16:07:21 +0000 (18:07 +0200)] 
treat v4 self-sig without key expires as unlimited lifetime

12 years agoget rid of a (wrong) gcc warning
Michael Schroeder [Thu, 25 Jul 2013 15:46:56 +0000 (17:46 +0200)] 
get rid of a (wrong) gcc warning

12 years agorename rpmdb_pubkey to pubkey
Michael Schroeder [Thu, 25 Jul 2013 15:38:52 +0000 (17:38 +0200)] 
rename rpmdb_pubkey to pubkey

12 years agorepo_rpmdb_pubkey: collect signatures into flexarray, support verification
Michael Schroeder [Thu, 25 Jul 2013 15:13:40 +0000 (17:13 +0200)] 
repo_rpmdb_pubkey: collect signatures into flexarray, support verification

12 years agoadd slow but small dsa/rsa implementation
Michael Schroeder [Thu, 25 Jul 2013 15:12:25 +0000 (17:12 +0200)] 
add slow but small dsa/rsa implementation

12 years agoMerge pull request #36 from scarabeusiv/master
Michael Schroeder [Thu, 25 Jul 2013 13:13:42 +0000 (06:13 -0700)] 
Merge pull request #36 from scarabeusiv/master

Respect LDFLAGS on one more instance

12 years agoRespect LDFLAGS on one more instance 36/head
Tomas Chvatal [Wed, 24 Jul 2013 20:15:28 +0000 (22:15 +0200)] 
Respect LDFLAGS on one more instance

12 years agosupport -k option in rpms2solv to convert a gpg pubkey
Michael Schroeder [Mon, 22 Jul 2013 13:51:02 +0000 (15:51 +0200)] 
support -k option in rpms2solv to convert a gpg pubkey

12 years agoMerge pull request #35 from scarabeusiv/master
Michael Schroeder [Tue, 23 Jul 2013 13:54:22 +0000 (06:54 -0700)] 
Merge pull request #35 from scarabeusiv/master

Fix linkingflags override by actually appending

12 years agoFix linkingflags override by actually appending 35/head
Tomáš Chvátal [Mon, 22 Jul 2013 10:17:00 +0000 (12:17 +0200)] 
Fix linkingflags override by actually appending

12 years agosupport replchar parameter in (currently unused) solv_replacebadutf8
Michael Schroeder [Wed, 17 Jul 2013 11:49:13 +0000 (13:49 +0200)] 
support replchar parameter in (currently unused) solv_replacebadutf8

12 years agorefactor a bit, no functional changes
Michael Schroeder [Fri, 12 Jul 2013 17:04:55 +0000 (19:04 +0200)] 
refactor a bit, no functional changes

12 years agobring installcheck up to speed
Michael Schroeder [Fri, 12 Jul 2013 09:48:52 +0000 (11:48 +0200)] 
bring installcheck up to speed

- noarch packages should not be part of an archlock
- the archlock part is no longer needed as we have infarch rules
- it makes no sense to try to install all packages and do the nocheck
  filtering on the results

12 years agorefactor a bit, no functional changes
Michael Schroeder [Wed, 10 Jul 2013 16:21:37 +0000 (18:21 +0200)] 
refactor a bit, no functional changes

12 years agofix copy/paste bug in repo_rpmdb_pubkey.c
Michael Schroeder [Wed, 10 Jul 2013 14:54:15 +0000 (16:54 +0200)] 
fix copy/paste bug in repo_rpmdb_pubkey.c

12 years agofix another edge case will dup mode and multiversion packages [bnc#828389]
Michael Schroeder [Wed, 10 Jul 2013 14:52:00 +0000 (16:52 +0200)] 
fix another edge case will dup mode and multiversion packages [bnc#828389]

12 years agoExtend pool arch table with extra armv5 stuff
Dirk Mueller [Mon, 8 Jul 2013 17:20:04 +0000 (19:20 +0200)] 
Extend pool arch table with extra armv5 stuff

Clean up the list of ARM related architectures
to those that exist in Kernel 3.10.0

12 years agofix testcase handling of haiku's compat deps
Michael Schroeder [Fri, 5 Jul 2013 16:07:24 +0000 (18:07 +0200)] 
fix testcase handling of haiku's compat deps

12 years agobe more tolerant about bad xml: an empty epoch attribute means no epoch
Michael Schroeder [Thu, 4 Jul 2013 15:49:47 +0000 (17:49 +0200)] 
be more tolerant about bad xml: an empty epoch attribute means no epoch

12 years agofix memset calls in sha2.c
Michael Schroeder [Thu, 4 Jul 2013 14:37:44 +0000 (16:37 +0200)] 
fix memset calls in sha2.c

12 years agofix spelling errors
Michael Schroeder [Tue, 2 Jul 2013 11:59:25 +0000 (13:59 +0200)] 
fix spelling errors

12 years agosupport haiku's compat deps in the testcase parser
Michael Schroeder [Mon, 1 Jul 2013 16:14:41 +0000 (18:14 +0200)] 
support haiku's compat deps in the testcase parser

12 years agorepo_updateinfoxml: rename datanum to handle
Michael Schroeder [Mon, 1 Jul 2013 15:57:18 +0000 (17:57 +0200)] 
repo_updateinfoxml: rename datanum to handle

12 years agoMerge pull request #34 from dirkmueller/master
Michael Schroeder [Mon, 1 Jul 2013 15:46:55 +0000 (08:46 -0700)] 
Merge pull request #34 from dirkmueller/master

Add armv6hl and fallback from armv7hl to armv6hl

12 years agoAdd armv6hl and fallback from armv7hl to armv6hl 34/head
Dirk Mueller [Mon, 1 Jul 2013 15:41:34 +0000 (17:41 +0200)] 
Add armv6hl and fallback from armv7hl to armv6hl

12 years agodelete stray comment
Michael Schroeder [Wed, 26 Jun 2013 15:22:31 +0000 (17:22 +0200)] 
delete stray comment

12 years agomake sure we don't see REPOKEY_TYPE_REL_IDARRAY outside of a stored solv file
Michael Schroeder [Fri, 21 Jun 2013 15:43:42 +0000 (17:43 +0200)] 
make sure we don't see REPOKEY_TYPE_REL_IDARRAY outside of a stored solv file

12 years agoadd another workaround so that the filtered filelist gets omitted when the complete...
Michael Schroeder [Fri, 21 Jun 2013 14:11:24 +0000 (16:11 +0200)] 
add another workaround so that the filtered filelist gets omitted when the complete file list is requested

12 years agoadd ppc64p7 (from Dinar Valeev)
Michael Schroeder [Fri, 21 Jun 2013 12:24:36 +0000 (14:24 +0200)] 
add ppc64p7 (from Dinar Valeev)

12 years agouse correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag
Michael Schroeder [Fri, 21 Jun 2013 09:41:43 +0000 (11:41 +0200)] 
use correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag

Fixes iterating over the complete file list when there is mo matcher.

12 years agominor docu fixes
Michael Schroeder [Tue, 18 Jun 2013 14:10:57 +0000 (16:10 +0200)] 
minor docu fixes

12 years agotestsolv: add '-l <selection>' option to list packages instead of running the test
Michael Schroeder [Tue, 18 Jun 2013 13:02:39 +0000 (15:02 +0200)] 
testsolv: add '-l <selection>' option to list packages instead of running the test

12 years agoDo recommends pruning after selecting the highest versions
Michael Schroeder [Tue, 18 Jun 2013 12:37:09 +0000 (14:37 +0200)] 
Do recommends pruning after selecting the highest versions

Michael Andres convinced me that is is what most users want. It
doesn't break any test cases, so let's hope it makes the world
a better place ;)

12 years agofix berkeley db link logic, don't rely on FEDORA being set
Michael Schroeder [Tue, 18 Jun 2013 09:25:55 +0000 (11:25 +0200)] 
fix berkeley db link logic, don't rely on FEDORA being set

12 years agoadd conflicts to old libsatsolver packages
Michael Schroeder [Tue, 18 Jun 2013 09:08:41 +0000 (11:08 +0200)] 
add conflicts to old libsatsolver packages

12 years agoadd changes
Michael Schroeder [Mon, 17 Jun 2013 13:57:08 +0000 (15:57 +0200)] 
add changes

12 years agosolv_cmp_version_part_haiku(): Fix copy and paste bug
Ingo Weinhold [Sun, 16 Jun 2013 23:23:10 +0000 (01:23 +0200)] 
solv_cmp_version_part_haiku(): Fix copy and paste bug

12 years agorepo_haiku: Translate B_PACKAGE_ARCHITECTURE_SOURCE to ARCH_SRC
Ingo Weinhold [Thu, 30 May 2013 21:41:02 +0000 (23:41 +0200)] 
repo_haiku: Translate B_PACKAGE_ARCHITECTURE_SOURCE to ARCH_SRC