Michael Schroeder [Wed, 26 Jun 2013 15:22:31 +0000 (17:22 +0200)]
delete stray comment
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
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
Michael Schroeder [Fri, 21 Jun 2013 12:24:36 +0000 (14:24 +0200)]
add ppc64p7 (from Dinar Valeev)
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.
Michael Schroeder [Tue, 18 Jun 2013 14:10:57 +0000 (16:10 +0200)]
minor docu fixes
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
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 ;)
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
Michael Schroeder [Tue, 18 Jun 2013 09:08:41 +0000 (11:08 +0200)]
add conflicts to old libsatsolver packages
Michael Schroeder [Mon, 17 Jun 2013 13:57:08 +0000 (15:57 +0200)]
add changes
Ingo Weinhold [Sun, 16 Jun 2013 23:23:10 +0000 (01:23 +0200)]
solv_cmp_version_part_haiku(): Fix copy and paste bug
Ingo Weinhold [Thu, 30 May 2013 21:41:02 +0000 (23:41 +0200)]
repo_haiku: Translate B_PACKAGE_ARCHITECTURE_SOURCE to ARCH_SRC
Ingo Weinhold [Mon, 20 May 2013 14:35:27 +0000 (16:35 +0200)]
solv_vercmp_haiku(): Fix unnormalized return value
The function is required to return -1, 0, or 1, the return value of the
called solv_cmp_version_part_haiku() isn't normalized this way, though.
Michael Schroeder [Mon, 17 Jun 2013 12:34:01 +0000 (14:34 +0200)]
pysolv: check applydeltarpm exit status
Michael Schroeder [Mon, 17 Jun 2013 11:43:49 +0000 (13:43 +0200)]
refactor a bit
Michael Schroeder [Fri, 14 Jun 2013 14:45:49 +0000 (16:45 +0200)]
finish libsolv-pool manpage
Michael Schroeder [Fri, 14 Jun 2013 09:50:12 +0000 (11:50 +0200)]
bindings: add pool.errstr, make add_rpm/... return Solvable objects
Michael Schroeder [Thu, 13 Jun 2013 16:35:39 +0000 (18:35 +0200)]
add an ugly workaround so that repo_write knows how to deal with filelist extensions
See BUGS file. Without that patch, repo_write wrote both the filelist in the
primary data and the full filelists, resulting in a broken solv file. Now, the
filelist from the primary file will not be written.
Note that this is just a bad workaround and should be fixed completely different.
See BUGS file.
Michael Schroeder [Thu, 13 Jun 2013 15:10:45 +0000 (17:10 +0200)]
add missing flags to pool_job2str
Michael Schroeder [Thu, 13 Jun 2013 15:09:32 +0000 (17:09 +0200)]
start with the libsolv-pool manpage
Michael Schroeder [Thu, 13 Jun 2013 13:47:37 +0000 (15:47 +0200)]
fix archpolicy handling of '>'
Michael Schroeder [Wed, 12 Jun 2013 10:14:28 +0000 (12:14 +0200)]
add a section about pointer validity
Michael Schroeder [Tue, 11 Jun 2013 17:08:51 +0000 (19:08 +0200)]
the manpage generator automatically capitalizes...
Michael Schroeder [Tue, 11 Jun 2013 16:50:51 +0000 (18:50 +0200)]
make license/group a poolstr array for archlinux
The archlinux spec says that there can be multiple entries.
Also add a little hack to solvable_lookup_str so that it joins
the array elements for license/group lookups.
Michael Schroeder [Mon, 10 Jun 2013 12:03:02 +0000 (14:03 +0200)]
cmake has some pitfalls
Michael Schroeder [Mon, 10 Jun 2013 11:53:54 +0000 (13:53 +0200)]
try share/man
Michael Schroeder [Mon, 10 Jun 2013 11:41:31 +0000 (13:41 +0200)]
package manuals
Michael Schroeder [Mon, 10 Jun 2013 11:38:29 +0000 (13:38 +0200)]
install manpages
Michael Schroeder [Mon, 10 Jun 2013 11:23:47 +0000 (13:23 +0200)]
spellcheck
Michael Schroeder [Fri, 7 Jun 2013 14:15:30 +0000 (16:15 +0200)]
rename old libsolv doc to libsolv-history
Michael Schroeder [Fri, 7 Jun 2013 14:05:43 +0000 (16:05 +0200)]
make REPOSITORY_REVISION a simple string
Michael Schroeder [Fri, 7 Jun 2013 13:21:20 +0000 (15:21 +0200)]
fix indent
Michael Schroeder [Fri, 7 Jun 2013 13:20:51 +0000 (15:20 +0200)]
add libsolv-constantids manpage
Michael Schroeder [Fri, 7 Jun 2013 11:08:04 +0000 (13:08 +0200)]
make SOLVABLE_LICENSE also use a poolstr
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.
Michael Schroeder [Thu, 6 Jun 2013 15:37:53 +0000 (17:37 +0200)]
finish bindings documentation. Hooray!
Michael Schroeder [Thu, 6 Jun 2013 15:37:30 +0000 (17:37 +0200)]
get rid of an unneeded %rename
Michael Schroeder [Wed, 5 Jun 2013 17:19:23 +0000 (19:19 +0200)]
p5solv: missed one string in bareword translation
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
Michael Schroeder [Wed, 5 Jun 2013 16:44:30 +0000 (18:44 +0200)]
adapt to modern perl and use barewords for hash keys
Michael Schroeder [Wed, 5 Jun 2013 16:36:03 +0000 (18:36 +0200)]
document that swig's stringifcation for perl does not work
Michael Schroeder [Wed, 5 Jun 2013 13:37:33 +0000 (15:37 +0200)]
Apply first part of Thierry's patches
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
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.
Michael Schroeder [Tue, 4 Jun 2013 17:47:06 +0000 (19:47 +0200)]
missed a change
Michael Schroeder [Tue, 4 Jun 2013 17:04:10 +0000 (19:04 +0200)]
document the Repodata and Repopos classes a bit
Michael Schroeder [Tue, 4 Jun 2013 15:57:16 +0000 (17:57 +0200)]
forgot to run run manpage converter...
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
Michael Schroeder [Tue, 4 Jun 2013 14:45:31 +0000 (16:45 +0200)]
fix a couple of leaks in the bindings
Michael Schroeder [Tue, 4 Jun 2013 14:20:26 +0000 (16:20 +0200)]
Document Transaction and Transactionclass
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.
Michael Schroeder [Mon, 3 Jun 2013 18:26:02 +0000 (20:26 +0200)]
document Solver, Problem, Rule, Ruleinfo, Solution, Solutionelement classes
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
Michael Schroeder [Mon, 3 Jun 2013 13:45:17 +0000 (15:45 +0200)]
document POOL_FLAG_ADDFILEPROVIDESFILTERED
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.
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
Zdenek Pavlas [Wed, 29 May 2013 13:49:00 +0000 (15:49 +0200)]
repo_rpmmd: Parse optional baseurl.
Michael Schroeder [Tue, 28 May 2013 17:12:54 +0000 (19:12 +0200)]
document the update target annomaly
Michael Schroeder [Tue, 28 May 2013 16:32:49 +0000 (18:32 +0200)]
document Selection and Job classes
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
Michael Schroeder [Tue, 28 May 2013 12:36:43 +0000 (14:36 +0200)]
document Dataiterator and Datamatch
Michael Schroeder [Tue, 28 May 2013 12:36:12 +0000 (14:36 +0200)]
add SEARCH_CHECKSUMS, fix Datamatch.num(), add Datapos.Dataiterator()
Michael Schroeder [Mon, 27 May 2013 16:24:59 +0000 (18:24 +0200)]
define and document the pool flags
Michael Schroeder [Mon, 27 May 2013 15:56:03 +0000 (17:56 +0200)]
add lookup_idarray method to the Datapos class
Michael Schroeder [Mon, 27 May 2013 15:23:48 +0000 (17:23 +0200)]
add documentation for the Solvable class
Michael Schroeder [Mon, 27 May 2013 14:27:24 +0000 (16:27 +0200)]
support a special Datapos that describes the repodata meta section
Michael Schroeder [Mon, 27 May 2013 14:25:38 +0000 (16:25 +0200)]
add pool_lookup_idarray for completeness
Michael Schroeder [Fri, 17 May 2013 14:39:06 +0000 (16:39 +0200)]
update bindings documentation
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.
Michael Schroeder [Thu, 16 May 2013 16:30:50 +0000 (18:30 +0200)]
fix ruby class methods in doc
Michael Schroeder [Thu, 16 May 2013 13:44:02 +0000 (15:44 +0200)]
start with the bindings documentation
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
Michael Schroeder [Wed, 15 May 2013 16:30:10 +0000 (18:30 +0200)]
pysolv: do not import from solv
Michael Schroeder [Wed, 15 May 2013 15:39:56 +0000 (17:39 +0200)]
some minor binding tweaks to make it more flexible
Michael Schroeder [Wed, 15 May 2013 14:48:59 +0000 (16:48 +0200)]
Lookat at keepexplicitobsoletes when creating update rules for multiversion packages
Michael Schroeder [Wed, 15 May 2013 10:03:48 +0000 (12:03 +0200)]
fix multiversion handling when the update rule is an assertion
Michael Schroeder [Tue, 7 May 2013 09:38:46 +0000 (11:38 +0200)]
add case statements for completeness
Michael Schroeder [Tue, 7 May 2013 09:35:05 +0000 (11:35 +0200)]
add SOLVER_RULE_JOB_UNSUPPORTED and SOLVER_RULE_JOB_UNKNOWN_PACKAGE
Michael Schroeder [Mon, 6 May 2013 13:35:29 +0000 (15:35 +0200)]
cleanup dumpsolv code
Michael Schroeder [Mon, 6 May 2013 09:23:31 +0000 (11:23 +0200)]
add utf8 helpers to util.c
Michael Schroeder [Fri, 3 May 2013 12:17:54 +0000 (14:17 +0200)]
dumpsolv: add experimental json dumping support
Michael Schroeder [Fri, 3 May 2013 12:15:37 +0000 (14:15 +0200)]
fix iso-8859-1 to utf8 transcoding bug
Michael Schroeder [Fri, 26 Apr 2013 13:09:13 +0000 (15:09 +0200)]
add multiversion testcase
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".
Michael Schroeder [Thu, 25 Apr 2013 13:03:20 +0000 (15:03 +0200)]
support 64bit filesizes in rpm adddudata()
Michael Schroeder [Wed, 24 Apr 2013 15:43:35 +0000 (17:43 +0200)]
add ILLEGAL_NAMECHANGE support to bindings
Michael Schroeder [Wed, 24 Apr 2013 15:29:43 +0000 (17:29 +0200)]
solverdebug: add solver_get_orphaned call that somehow got lost
Michael Schroeder [Wed, 24 Apr 2013 14:22:37 +0000 (16:22 +0200)]
terminate solver_create_decisions_obsoletesmap function
Michael Schroeder [Wed, 24 Apr 2013 14:19:59 +0000 (16:19 +0200)]
move stringification functions from solverdebug to more correct places
Michael Schroeder [Wed, 24 Apr 2013 14:19:19 +0000 (16:19 +0200)]
allow ls for list command
Michael Schroeder [Wed, 24 Apr 2013 12:17:00 +0000 (14:17 +0200)]
use SOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE in transaction_print
Michael Schroeder [Wed, 24 Apr 2013 12:04:13 +0000 (14:04 +0200)]
add_rpmdb: copy solvables a bit faster
Michael Schroeder [Wed, 24 Apr 2013 10:20:50 +0000 (12:20 +0200)]
use add_rpmdb_reffp in examples
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
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.
Michael Schroeder [Tue, 23 Apr 2013 15:36:14 +0000 (17:36 +0200)]
change specfile to allow building without python bindings again
Michael Schroeder [Tue, 23 Apr 2013 14:55:40 +0000 (16:55 +0200)]
adapt for older cmake versions
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
Michael Schroeder [Tue, 23 Apr 2013 13:31:47 +0000 (15:31 +0200)]
add add_rpmdb_reffp method to bindings