platform/upstream/libsolv.git
11 years agoinstall manpages
Michael Schroeder [Mon, 10 Jun 2013 11:38:29 +0000 (13:38 +0200)]
install manpages

11 years agospellcheck
Michael Schroeder [Mon, 10 Jun 2013 11:23:47 +0000 (13:23 +0200)]
spellcheck

11 years agorename old libsolv doc to libsolv-history
Michael Schroeder [Fri, 7 Jun 2013 14:15:30 +0000 (16:15 +0200)]
rename old libsolv doc to libsolv-history

11 years agomake REPOSITORY_REVISION a simple string
Michael Schroeder [Fri, 7 Jun 2013 14:05:43 +0000 (16:05 +0200)]
make REPOSITORY_REVISION a simple string

11 years agofix indent
Michael Schroeder [Fri, 7 Jun 2013 13:21:20 +0000 (15:21 +0200)]
fix indent

11 years agoadd libsolv-constantids manpage
Michael Schroeder [Fri, 7 Jun 2013 13:20:51 +0000 (15:20 +0200)]
add libsolv-constantids manpage

11 years agomake SOLVABLE_LICENSE also use a poolstr
Michael Schroeder [Fri, 7 Jun 2013 11:08:04 +0000 (13:08 +0200)]
make SOLVABLE_LICENSE also use a poolstr

11 years agobindings consistency: rename new/keptpackages to new/keptsolvables
Michael Schroeder [Fri, 7 Jun 2013 09:14:34 +0000 (11:14 +0200)]
bindings consistency: rename new/keptpackages to new/keptsolvables

We keep the old methods available for now to be backward compatible.

11 years agofinish bindings documentation. Hooray!
Michael Schroeder [Thu, 6 Jun 2013 15:37:53 +0000 (17:37 +0200)]
finish bindings documentation. Hooray!

11 years agoget rid of an unneeded %rename
Michael Schroeder [Thu, 6 Jun 2013 15:37:30 +0000 (17:37 +0200)]
get rid of an unneeded %rename

11 years agop5solv: missed one string in bareword translation
Michael Schroeder [Wed, 5 Jun 2013 17:19:23 +0000 (19:19 +0200)]
p5solv: missed one string in bareword translation

11 years agook, no local in current perl code. Also, use ls instead of li as short form of list
Michael Schroeder [Wed, 5 Jun 2013 17:15:09 +0000 (19:15 +0200)]
ok, no local in current perl code. Also, use ls instead of li as short form of list

11 years agoadapt to modern perl and use barewords for hash keys
Michael Schroeder [Wed, 5 Jun 2013 16:44:30 +0000 (18:44 +0200)]
adapt to modern perl and use barewords for hash keys

11 years agodocument that swig's stringifcation for perl does not work
Michael Schroeder [Wed, 5 Jun 2013 16:36:03 +0000 (18:36 +0200)]
document that swig's stringifcation for perl does not work

11 years agoApply first part of Thierry's patches
Michael Schroeder [Wed, 5 Jun 2013 13:37:33 +0000 (15:37 +0200)]
Apply first part of Thierry's patches

11 years agosolv: create cache in user's home dir if not run as root
Michael Schroeder [Wed, 5 Jun 2013 12:55:01 +0000 (14:55 +0200)]
solv: create cache in user's home dir if not run as root

11 years agosolver_splitprovides: only check lazywhatprovides when the pool->whatprovides entry...
Michael Schroeder [Wed, 5 Jun 2013 10:33:06 +0000 (12:33 +0200)]
solver_splitprovides: only check lazywhatprovides when the pool->whatprovides entry is zero

Otherwise splitprovides don't work when standard file locations are used.

11 years agomissed a change
Michael Schroeder [Tue, 4 Jun 2013 17:47:06 +0000 (19:47 +0200)]
missed a change

11 years agodocument the Repodata and Repopos classes a bit
Michael Schroeder [Tue, 4 Jun 2013 17:04:10 +0000 (19:04 +0200)]
document the Repodata and Repopos classes a bit

11 years agoforgot to run run manpage converter...
Michael Schroeder [Tue, 4 Jun 2013 15:57:16 +0000 (17:57 +0200)]
forgot to run run manpage converter...

11 years agoMake 'dep' attribute in Ruleinfo return an object, add fromstr/tostr attributes to...
Michael Schroeder [Tue, 4 Jun 2013 15:55:34 +0000 (17:55 +0200)]
Make 'dep' attribute in Ruleinfo return an object, add fromstr/tostr attributes to TransactionClass and remove old fromdep()/todep() methods

11 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

11 years agoDocument Transaction and Transactionclass
Michael Schroeder [Tue, 4 Jun 2013 14:20:26 +0000 (16:20 +0200)]
Document Transaction and Transactionclass

11 years agoadd POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS to match the current rpm behaviour
Michael Schroeder [Tue, 4 Jun 2013 11:18:33 +0000 (13:18 +0200)]
add POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS to match the current rpm behaviour

Sigh. I hope that's the last time rpm changes the way it handles obsoletes.

11 years agodocument Solver, Problem, Rule, Ruleinfo, Solution, Solutionelement classes
Michael Schroeder [Mon, 3 Jun 2013 18:26:02 +0000 (20:26 +0200)]
document Solver, Problem, Rule, Ruleinfo, Solution, Solutionelement classes

11 years agoadd missing constants, add Rule->type attribute, improve pool job problem handling
Michael Schroeder [Mon, 3 Jun 2013 18:25:10 +0000 (20:25 +0200)]
add missing constants, add Rule->type attribute, improve pool job problem handling

11 years agodocument POOL_FLAG_ADDFILEPROVIDESFILTERED
Michael Schroeder [Mon, 3 Jun 2013 13:45:17 +0000 (15:45 +0200)]
document POOL_FLAG_ADDFILEPROVIDESFILTERED

11 years agoadd POOL_FLAG_ADDFILEPROVIDESFILTERED option to make pool_addfileprovides only add...
Michael Schroeder [Mon, 3 Jun 2013 13:35:52 +0000 (15:35 +0200)]
add POOL_FLAG_ADDFILEPROVIDESFILTERED option to make pool_addfileprovides only add files in the standard locations

Non-standard files are searched lazyly on demand.

11 years agoMerge pull request #31 from zde/master
Michael Schroeder [Fri, 31 May 2013 09:39:49 +0000 (02:39 -0700)]
Merge pull request #31 from zde/master

primary.xml: Parse/store the baseurl attribute

11 years agorepo_rpmmd: Parse optional baseurl.
Zdenek Pavlas [Wed, 29 May 2013 13:49:00 +0000 (15:49 +0200)]
repo_rpmmd: Parse optional baseurl.

11 years agodocument the update target annomaly
Michael Schroeder [Tue, 28 May 2013 17:12:54 +0000 (19:12 +0200)]
document the update target annomaly

11 years agodocument Selection and Job classes
Michael Schroeder [Tue, 28 May 2013 16:32:49 +0000 (18:32 +0200)]
document Selection and Job classes

11 years agodatamatcher_init: play it safe and do a strdup on the match string
Michael Schroeder [Tue, 28 May 2013 12:49:09 +0000 (14:49 +0200)]
datamatcher_init: play it safe and do a strdup on the match string

11 years agodocument Dataiterator and Datamatch
Michael Schroeder [Tue, 28 May 2013 12:36:43 +0000 (14:36 +0200)]
document Dataiterator and Datamatch

11 years agoadd SEARCH_CHECKSUMS, fix Datamatch.num(), add Datapos.Dataiterator()
Michael Schroeder [Tue, 28 May 2013 12:36:12 +0000 (14:36 +0200)]
add SEARCH_CHECKSUMS, fix Datamatch.num(), add Datapos.Dataiterator()

11 years agodefine and document the pool flags
Michael Schroeder [Mon, 27 May 2013 16:24:59 +0000 (18:24 +0200)]
define and document the pool flags

11 years agoadd lookup_idarray method to the Datapos class
Michael Schroeder [Mon, 27 May 2013 15:56:03 +0000 (17:56 +0200)]
add lookup_idarray method to the Datapos class

11 years agoadd documentation for the Solvable class
Michael Schroeder [Mon, 27 May 2013 15:23:48 +0000 (17:23 +0200)]
add documentation for the Solvable class

11 years agosupport a special Datapos that describes the repodata meta section
Michael Schroeder [Mon, 27 May 2013 14:27:24 +0000 (16:27 +0200)]
support a special Datapos that describes the repodata meta section

11 years agoadd pool_lookup_idarray for completeness
Michael Schroeder [Mon, 27 May 2013 14:25:38 +0000 (16:25 +0200)]
add pool_lookup_idarray for completeness

11 years agoupdate bindings documentation
Michael Schroeder [Fri, 17 May 2013 14:39:06 +0000 (16:39 +0200)]
update bindings documentation

11 years agoallow SOLVID_META queries through SOLVID_POS
Michael Schroeder [Fri, 17 May 2013 14:32:44 +0000 (16:32 +0200)]
allow SOLVID_META queries through SOLVID_POS

Add 'meta' attribute in repo bindings and get rid of no longer neededed
lookup methods.

11 years agofix ruby class methods in doc
Michael Schroeder [Thu, 16 May 2013 16:30:50 +0000 (18:30 +0200)]
fix ruby class methods in doc

11 years agostart with the bindings documentation
Michael Schroeder [Thu, 16 May 2013 13:44:02 +0000 (15:44 +0200)]
start with the bindings documentation

11 years agofix return values from repo_add functions, they return 0 for success
Michael Schroeder [Thu, 16 May 2013 13:39:53 +0000 (15:39 +0200)]
fix return values from repo_add functions, they return 0 for success

11 years agopysolv: do not import from solv
Michael Schroeder [Wed, 15 May 2013 16:30:10 +0000 (18:30 +0200)]
pysolv: do not import from solv

11 years agosome minor binding tweaks to make it more flexible
Michael Schroeder [Wed, 15 May 2013 15:39:56 +0000 (17:39 +0200)]
some minor binding tweaks to make it more flexible

11 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

11 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

11 years agoadd case statements for completeness
Michael Schroeder [Tue, 7 May 2013 09:38:46 +0000 (11:38 +0200)]
add case statements for completeness

11 years agoadd SOLVER_RULE_JOB_UNSUPPORTED and SOLVER_RULE_JOB_UNKNOWN_PACKAGE
Michael Schroeder [Tue, 7 May 2013 09:35:05 +0000 (11:35 +0200)]
add SOLVER_RULE_JOB_UNSUPPORTED and SOLVER_RULE_JOB_UNKNOWN_PACKAGE

11 years agocleanup dumpsolv code
Michael Schroeder [Mon, 6 May 2013 13:35:29 +0000 (15:35 +0200)]
cleanup dumpsolv code

11 years agoadd utf8 helpers to util.c
Michael Schroeder [Mon, 6 May 2013 09:23:31 +0000 (11:23 +0200)]
add utf8 helpers to util.c

11 years agodumpsolv: add experimental json dumping support
Michael Schroeder [Fri, 3 May 2013 12:17:54 +0000 (14:17 +0200)]
dumpsolv: add experimental json dumping support

11 years agofix iso-8859-1 to utf8 transcoding bug
Michael Schroeder [Fri, 3 May 2013 12:15:37 +0000 (14:15 +0200)]
fix iso-8859-1 to utf8 transcoding bug

11 years agoadd multiversion testcase
Michael Schroeder [Fri, 26 Apr 2013 13:09:13 +0000 (15:09 +0200)]
add multiversion testcase

11 years agobring libsolv in line with currrent rpm's multiversion handling
Michael Schroeder [Fri, 26 Apr 2013 12:49:55 +0000 (14:49 +0200)]
bring libsolv in line with currrent rpm's multiversion handling

A multiversion install still obeys the obsoletes of a package.
The solver already had a flag to support this, "keepexplicitobsoletes",
but as this is a feature of the package manager it belongs in the
pool, so that the transaction code can do the right thing.
We now have a "noobsoletesmultiversion" flag in the pool that also
defines the default for "keepexplicitobsoletes".

11 years agosupport 64bit filesizes in rpm adddudata()
Michael Schroeder [Thu, 25 Apr 2013 13:03:20 +0000 (15:03 +0200)]
support 64bit filesizes in rpm adddudata()

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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.

11 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

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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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()

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

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

11 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

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

11 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.

11 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.

11 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

11 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

11 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!)

11 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

11 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

11 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

11 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

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

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

11 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

11 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

11 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

11 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 <>

11 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

11 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

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

11 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