]> git.ipfire.org Git - thirdparty/libsolv.git/log
thirdparty/libsolv.git
11 years agoadd changes, bump version SuSE-Code-12_3-Branch
Michael Schroeder [Fri, 21 Feb 2014 16:56:59 +0000 (17:56 +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 agoadd changes
Michael Schroeder [Tue, 3 Sep 2013 14:25:18 +0000 (16:25 +0200)] 
add changes

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.

12 years agoadd changes, bump version
Michael Schroeder [Thu, 11 Jul 2013 09:05:01 +0000 (11:05 +0200)] 
add changes, bump version

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 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 a couple of leaks in the bindings
Michael Schroeder [Tue, 4 Jun 2013 14:45:31 +0000 (16:45 +0200)] 
fix a couple of leaks in the bindings

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 agoadd changes, bump version
Michael Schroeder [Fri, 17 May 2013 16:06:56 +0000 (18:06 +0200)] 
add changes, bump version

12 years agoLookat at keepexplicitobsoletes when creating update rules for multiversion packages
Michael Schroeder [Wed, 15 May 2013 14:48:59 +0000 (16:48 +0200)] 
Lookat at keepexplicitobsoletes when creating update rules for multiversion packages

12 years agofix multiversion handling when the update rule is an assertion
Michael Schroeder [Wed, 15 May 2013 10:03:48 +0000 (12:03 +0200)] 
fix multiversion handling when the update rule is an assertion

12 years agosupport 64bit filesizes in rpm adddudata() BASE-SuSE-Code-12_3-Branch
Michael Schroeder [Thu, 25 Apr 2013 13:03:20 +0000 (15:03 +0200)] 
support 64bit filesizes in rpm adddudata()

12 years agoadd ILLEGAL_NAMECHANGE support to bindings
Michael Schroeder [Wed, 24 Apr 2013 15:43:35 +0000 (17:43 +0200)] 
add ILLEGAL_NAMECHANGE support to bindings

12 years agosolverdebug: add solver_get_orphaned call that somehow got lost
Michael Schroeder [Wed, 24 Apr 2013 15:29:43 +0000 (17:29 +0200)] 
solverdebug: add solver_get_orphaned call that somehow got lost

12 years agoterminate solver_create_decisions_obsoletesmap function
Michael Schroeder [Wed, 24 Apr 2013 14:22:37 +0000 (16:22 +0200)] 
terminate solver_create_decisions_obsoletesmap function

12 years agomove stringification functions from solverdebug to more correct places
Michael Schroeder [Wed, 24 Apr 2013 14:19:59 +0000 (16:19 +0200)] 
move stringification functions from solverdebug to more correct places

12 years agoallow ls for list command
Michael Schroeder [Wed, 24 Apr 2013 14:19:19 +0000 (16:19 +0200)] 
allow ls for list command

12 years agouse SOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE in transaction_print
Michael Schroeder [Wed, 24 Apr 2013 12:17:00 +0000 (14:17 +0200)] 
use SOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE in transaction_print

12 years agoadd_rpmdb: copy solvables a bit faster
Michael Schroeder [Wed, 24 Apr 2013 12:04:13 +0000 (14:04 +0200)] 
add_rpmdb: copy solvables a bit faster

12 years agouse add_rpmdb_reffp in examples
Michael Schroeder [Wed, 24 Apr 2013 10:20:50 +0000 (12:20 +0200)] 
use add_rpmdb_reffp in examples

12 years agoDo not segfault when undef/None/nil is passwd as FILE/Dep
Michael Schroeder [Wed, 24 Apr 2013 10:19:49 +0000 (12:19 +0200)] 
Do not segfault when undef/None/nil is passwd as FILE/Dep

12 years agoadd SOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE helper flag
Michael Schroeder [Wed, 24 Apr 2013 09:53:00 +0000 (11:53 +0200)] 
add SOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE helper flag

Many users don't want to show the obsoletes as extra part of the
classification. Only makes sense when SOLVER_TRANSACTION_SHOW_OBSOLETES
is also specified.

12 years agochange specfile to allow building without python bindings again
Michael Schroeder [Tue, 23 Apr 2013 15:36:14 +0000 (17:36 +0200)] 
change specfile to allow building without python bindings again

12 years agoadapt for older cmake versions
Michael Schroeder [Tue, 23 Apr 2013 14:55:40 +0000 (16:55 +0200)] 
adapt for older cmake versions

12 years agoadd repodata_translate_id to get rid of some "implement me" assertions
Michael Schroeder [Tue, 23 Apr 2013 13:49:53 +0000 (15:49 +0200)] 
add repodata_translate_id to get rid of some "implement me" assertions

12 years agoadd add_rpmdb_reffp method to bindings
Michael Schroeder [Tue, 23 Apr 2013 13:31:47 +0000 (15:31 +0200)] 
add add_rpmdb_reffp method to bindings

12 years agoadd repo_add_rpmdb_reffp to easily add rpmdb content when there is an old solv file
Michael Schroeder [Tue, 23 Apr 2013 13:18:20 +0000 (15:18 +0200)] 
add repo_add_rpmdb_reffp to easily add rpmdb content when there is an old solv file

12 years agoremove "ref" argument from add_rpmdb() in the bindings
Michael Schroeder [Tue, 23 Apr 2013 08:54:00 +0000 (10:54 +0200)] 
remove "ref" argument from add_rpmdb() in the bindings

This is done mainly for consistency reasons (plus nobody
used the ref argument anyway). When we need the ref back,
we'll add a new method.

12 years agosupport 'rpmbuild --with zypp' as shortcut to enable things the zypp stack needs
Michael Schroeder [Tue, 23 Apr 2013 08:37:39 +0000 (10:37 +0200)] 
support 'rpmbuild --with zypp' as shortcut to enable things the zypp stack needs

12 years agoM&M uses rpm, so automatically set ENABLE_RPMDB
Michael Schroeder [Tue, 23 Apr 2013 08:12:57 +0000 (10:12 +0200)] 
M&M uses rpm, so automatically set ENABLE_RPMDB

12 years agoadd pool_setnamespacecallback() and pool_flush_namespaceproviders()
Michael Schroeder [Mon, 22 Apr 2013 09:36:19 +0000 (11:36 +0200)] 
add pool_setnamespacecallback() and pool_flush_namespaceproviders()

12 years agosmall cleanup in id2str
Michael Schroeder [Mon, 22 Apr 2013 09:18:35 +0000 (11:18 +0200)] 
small cleanup in id2str

12 years agorpmdb_pubkey: more bounds checking
Michael Schroeder [Fri, 19 Apr 2013 13:39:03 +0000 (15:39 +0200)] 
rpmdb_pubkey: more bounds checking

12 years agoMerge pull request #29 from weinhold/upstream
Michael Schroeder [Fri, 19 Apr 2013 09:07:39 +0000 (02:07 -0700)] 
Merge pull request #29 from weinhold/upstream

Haiku pre-release version component separator changed

12 years agoselection_filter(): Don't leak Queue q1 and Map m2 29/head
Ingo Weinhold [Thu, 18 Apr 2013 14:22:57 +0000 (16:22 +0200)] 
selection_filter(): Don't leak Queue q1 and Map m2

12 years agoHaiku: The notation for the pre-release version part changed
Ingo Weinhold [Thu, 18 Apr 2013 14:11:01 +0000 (16:11 +0200)] 
Haiku: The notation for the pre-release version part changed

Instead of using '-' as the separator for the pre-release '~' is used
now. This allows to drop code in a few places where Haiku had to be
special-cased before.

12 years agorepo_haiku: get rid of haiku_version_to_string()
Ingo Weinhold [Thu, 18 Apr 2013 13:14:04 +0000 (15:14 +0200)] 
repo_haiku: get rid of haiku_version_to_string()

Use BPackageVersion::ToString() instead.

12 years agorules/selection: use strrchr in EVR checks as well
Michael Schroeder [Wed, 17 Apr 2013 13:52:21 +0000 (15:52 +0200)] 
rules/selection: use strrchr in EVR checks as well

12 years agorepo_haiku: do not use ":" for an empty epoch
Michael Schroeder [Wed, 17 Apr 2013 13:44:48 +0000 (15:44 +0200)] 
repo_haiku: do not use ":" for an empty epoch

12 years agosplit arch from the right for debian/haiku (thanks Ingo!)
Michael Schroeder [Wed, 17 Apr 2013 13:39:50 +0000 (15:39 +0200)] 
split arch from the right for debian/haiku (thanks Ingo!)

12 years agoadapt SET_EV/SET_EVR magic to haiku for completeness
Michael Schroeder [Wed, 17 Apr 2013 12:02:09 +0000 (14:02 +0200)] 
adapt SET_EV/SET_EVR magic to haiku for completeness

12 years agotreat overlong utf8 sequences as error
Michael Schroeder [Wed, 17 Apr 2013 11:51:25 +0000 (13:51 +0200)] 
treat overlong utf8 sequences as error

12 years agomake sure releases start numeric for haiku
Michael Schroeder [Wed, 17 Apr 2013 09:32:14 +0000 (11:32 +0200)] 
make sure releases start numeric for haiku

otherwise a pre_release might be interpreted as a revision

12 years agoMerge pull request #28 from weinhold/upstream
Michael Schroeder [Tue, 16 Apr 2013 13:32:02 +0000 (06:32 -0700)] 
Merge pull request #28 from weinhold/upstream

repo_haiku: add_dependency(): Fix typo

12 years agorepo_haiku: add_dependency(): Fix typo 28/head
Ingo Weinhold [Tue, 16 Apr 2013 12:57:17 +0000 (14:57 +0200)] 
repo_haiku: add_dependency(): Fix typo

12 years agomention haiku in README
Michael Schroeder [Tue, 16 Apr 2013 12:28:26 +0000 (14:28 +0200)] 
mention haiku in README

12 years agomake pool_solvable2str use -<arch> for haiku
Michael Schroeder [Tue, 16 Apr 2013 12:11:06 +0000 (14:11 +0200)] 
make pool_solvable2str use -<arch> for haiku

12 years agosupport haiku package naming in selection_canon
Michael Schroeder [Tue, 16 Apr 2013 12:06:33 +0000 (14:06 +0200)] 
support haiku package naming in selection_canon

12 years agoswitch range->name and range->evr in REL_COMPAT deps so that stringification works
Michael Schroeder [Tue, 16 Apr 2013 11:19:50 +0000 (13:19 +0200)] 
switch range->name and range->evr in REL_COMPAT deps so that stringification works

12 years agoadd DISTTYPE_HAIKU, some small fixes
Michael Schroeder [Tue, 16 Apr 2013 09:59:27 +0000 (11:59 +0200)] 
add DISTTYPE_HAIKU, some small fixes

- ARCH_NOARCH -> ARCH_ANY
- use - as prerelease separator
- correct usage of solv_vercmp
- stringify REL_COMPAT, use != instead of <>

12 years agoAdd Haiku repository support to libsolvext
Ingo Weinhold [Sat, 30 Mar 2013 14:48:12 +0000 (14:48 +0000)] 
Add Haiku repository support to libsolvext

12 years agoAdd support for Haiku compat version comparison
Ingo Weinhold [Sat, 30 Mar 2013 13:22:24 +0000 (13:22 +0000)] 
Add support for Haiku compat version comparison

12 years agoAdd Haiku semantics version comparison
Ingo Weinhold [Sat, 30 Mar 2013 13:20:28 +0000 (13:20 +0000)] 
Add Haiku semantics version comparison

12 years agoAdd basic Haiku support to build system
Ingo Weinhold [Sat, 30 Mar 2013 13:19:26 +0000 (13:19 +0000)] 
Add basic Haiku support to build system

12 years agoUse the hidden fopencookie() on Haiku
Ingo Weinhold [Sat, 30 Mar 2013 11:18:36 +0000 (11:18 +0000)] 
Use the hidden fopencookie() on Haiku

12 years agosplit ugly pubkey handling into separate repo_rpmdb_pubkey.c
Michael Schroeder [Mon, 15 Apr 2013 15:57:43 +0000 (17:57 +0200)] 
split ugly pubkey handling into separate repo_rpmdb_pubkey.c

12 years agorefactor rpmdb handling to remove some code duplication
Michael Schroeder [Mon, 15 Apr 2013 15:17:44 +0000 (17:17 +0200)] 
refactor rpmdb handling to remove some code duplication

12 years agosome other perror->pool_error changes
Michael Schroeder [Mon, 15 Apr 2013 12:55:48 +0000 (14:55 +0200)] 
some other perror->pool_error changes

12 years agofix repo_add_rpmdb error messages, they should not include the function name
Michael Schroeder [Mon, 15 Apr 2013 12:49:47 +0000 (14:49 +0200)] 
fix repo_add_rpmdb error messages, they should not include the function name

12 years agoconvert perror() and fprintf() calls to pool_error()
Michael Schroeder [Mon, 15 Apr 2013 12:46:47 +0000 (14:46 +0200)] 
convert perror() and fprintf() calls to pool_error()

12 years agoadd pool parameter to rpm_state_create so that we can use pool_error for error reporting
Michael Schroeder [Mon, 15 Apr 2013 12:19:02 +0000 (14:19 +0200)] 
add pool parameter to rpm_state_create so that we can use pool_error for error reporting

12 years agoalso check repodata in fileconflicts precheck code
Michael Schroeder [Mon, 15 Apr 2013 12:11:31 +0000 (14:11 +0200)] 
also check repodata in fileconflicts precheck code

12 years agoadd credits file
Michael Schroeder [Mon, 15 Apr 2013 11:45:29 +0000 (13:45 +0200)] 
add credits file

12 years agoalso use prechecking for non-aliased mode
Michael Schroeder [Mon, 15 Apr 2013 11:22:45 +0000 (13:22 +0200)] 
also use prechecking for non-aliased mode

12 years agocleanup code a bit
Michael Schroeder [Fri, 12 Apr 2013 16:31:47 +0000 (18:31 +0200)] 
cleanup code a bit

12 years agofix two small bugs
Michael Schroeder [Fri, 12 Apr 2013 15:42:25 +0000 (17:42 +0200)] 
fix two small bugs

12 years agosupport checking for directory aliases when searching for file conflicts
Michael Schroeder [Fri, 12 Apr 2013 14:46:08 +0000 (16:46 +0200)] 
support checking for directory aliases when searching for file conflicts

12 years agofix error handling in rpm_byrpmdbid
Michael Schroeder [Fri, 12 Apr 2013 11:36:05 +0000 (13:36 +0200)] 
fix error handling in rpm_byrpmdbid

12 years agosmall fixes
Michael Schroeder [Thu, 11 Apr 2013 13:04:14 +0000 (15:04 +0200)] 
small fixes

12 years agomore speed: read all packages just once in 3rd pass
Michael Schroeder [Thu, 11 Apr 2013 12:43:47 +0000 (14:43 +0200)] 
more speed: read all packages just once in 3rd pass

12 years agoadd extra flag paramter to find_fileconflicts
Michael Schroeder [Thu, 11 Apr 2013 12:10:27 +0000 (14:10 +0200)] 
add extra flag paramter to find_fileconflicts

In the future we'll add support for a flag that tells
it to check for aliased dirs.

12 years agothree missed dig->pubkey => digpubkey changes
Michael Schroeder [Wed, 10 Apr 2013 13:56:02 +0000 (15:56 +0200)] 
three missed dig->pubkey => digpubkey changes

12 years agoimprove iterate_filelist, it now calls the callback with a struct filelistinfo
Michael Schroeder [Wed, 10 Apr 2013 13:47:18 +0000 (15:47 +0200)] 
improve iterate_filelist, it now calls the callback with a struct filelistinfo

This makes the code extensible, plus we can now pass things like
the diridx and the dirlen which can be used to speed up the
fileconflict code.

12 years agoremove dead code
Michael Schroeder [Wed, 10 Apr 2013 12:49:38 +0000 (14:49 +0200)] 
remove dead code

12 years agouse pgpDigGetParams() if available
Michael Schroeder [Wed, 10 Apr 2013 12:32:39 +0000 (14:32 +0200)] 
use pgpDigGetParams() if available

12 years agoReimplement state handling in rpm_by functions
Michael Schroeder [Wed, 10 Apr 2013 10:52:08 +0000 (12:52 +0200)] 
Reimplement state handling in rpm_by functions

We now have rpm_state_create and rpm_state_free to create/free
the state. API change, but should be pretty internal.

12 years agorefactor: split off openpkgdb()
Michael Schroeder [Wed, 10 Apr 2013 09:57:41 +0000 (11:57 +0200)] 
refactor: split off openpkgdb()

12 years agorefactor solv demo a bit
Michael Schroeder [Mon, 8 Apr 2013 11:29:04 +0000 (13:29 +0200)] 
refactor solv demo a bit

12 years agoremove strange 5 year old TODO file
Michael Schroeder [Mon, 8 Apr 2013 09:38:46 +0000 (11:38 +0200)] 
remove strange 5 year old TODO file

What does "xml metadata: prereq for store" even mean?

12 years agofix bugs in fileconflicts code and prepare for aliased dirs
Michael Schroeder [Mon, 8 Apr 2013 09:36:43 +0000 (11:36 +0200)] 
fix bugs in fileconflicts code and prepare for aliased dirs

Breaks API but that should not be a problem as noone seems to
use the function yet.

12 years agoimprove fileconflicts code
Michael Schroeder [Fri, 5 Apr 2013 17:02:35 +0000 (19:02 +0200)] 
improve fileconflicts code

12 years agosmall cleanups in pubkey handling
Michael Schroeder [Fri, 5 Apr 2013 15:17:11 +0000 (17:17 +0200)] 
small cleanups in pubkey handling

12 years agocleanup hash code, it makes no sense to have an extra type for the mask
Michael Schroeder [Fri, 5 Apr 2013 15:00:30 +0000 (17:00 +0200)] 
cleanup hash code, it makes no sense to have an extra type for the mask

12 years agomake queue_insertn more flexible
Michael Schroeder [Fri, 5 Apr 2013 13:51:36 +0000 (15:51 +0200)] 
make queue_insertn more flexible

Yes, it's an API change, but I'm pretty sure that nobody
other than the solver itself uses queue_insertn.

12 years agorefactor a bit
Michael Schroeder [Fri, 5 Apr 2013 08:38:13 +0000 (10:38 +0200)] 
refactor a bit

12 years agoDo extra checking for choice rules so that they don't interfere with package splits
Michael Schroeder [Thu, 4 Apr 2013 16:45:45 +0000 (18:45 +0200)] 
Do extra checking for choice rules so that they don't interfere with package splits

12 years agosmall cleanup
Michael Schroeder [Tue, 2 Apr 2013 11:12:26 +0000 (13:12 +0200)] 
small cleanup

12 years agoMerge pull request #27 from weinhold/upstream
Michael Schroeder [Tue, 2 Apr 2013 11:06:52 +0000 (04:06 -0700)] 
Merge pull request #27 from weinhold/upstream

Various Portability Improvements

12 years agoMake all public libsolv headers C++ safe 27/head
Ingo Weinhold [Sat, 30 Mar 2013 12:02:13 +0000 (12:02 +0000)] 
Make all public libsolv headers C++ safe

A few headers already included 'export "C"' blocks, also wrapping
other #include's. This patch cleanly wraps the contents of all public
headers instead.

12 years agosolv_sort(): Fix build for non-glibc without qsort_r()
Ingo Weinhold [Sat, 30 Mar 2013 16:17:39 +0000 (16:17 +0000)] 
solv_sort(): Fix build for non-glibc without qsort_r()

12 years agoUse futimens() instead of futimes()
Ingo Weinhold [Sat, 30 Mar 2013 15:40:08 +0000 (15:40 +0000)] 
Use futimens() instead of futimes()

futimens() is POSIX, futimes() isn't.

12 years agoImprove C89 compliance
Ingo Weinhold [Sat, 30 Mar 2013 11:12:31 +0000 (11:12 +0000)] 
Improve C89 compliance

Make sure variables are declared at the beginning of a block.