platform/upstream/libsolv.git
11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

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

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

11 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

11 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

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

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

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

11 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

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

11 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

11 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

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

11 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

11 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

11 years agosolv_vercmp_haiku(): Fix unnormalized return value
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.

11 years agopysolv: check applydeltarpm exit status
Michael Schroeder [Mon, 17 Jun 2013 12:34:01 +0000 (14:34 +0200)]
pysolv: check applydeltarpm exit status

11 years agorefactor a bit
Michael Schroeder [Mon, 17 Jun 2013 11:43:49 +0000 (13:43 +0200)]
refactor a bit

11 years agofinish libsolv-pool manpage
Michael Schroeder [Fri, 14 Jun 2013 14:45:49 +0000 (16:45 +0200)]
finish libsolv-pool manpage

11 years agobindings: add pool.errstr, make add_rpm/... return Solvable objects
Michael Schroeder [Fri, 14 Jun 2013 09:50:12 +0000 (11:50 +0200)]
bindings: add pool.errstr, make add_rpm/... return Solvable objects

11 years agoadd an ugly workaround so that repo_write knows how to deal with filelist extensions
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.

11 years agoadd missing flags to pool_job2str
Michael Schroeder [Thu, 13 Jun 2013 15:10:45 +0000 (17:10 +0200)]
add missing flags to pool_job2str

11 years agostart with the libsolv-pool manpage
Michael Schroeder [Thu, 13 Jun 2013 15:09:32 +0000 (17:09 +0200)]
start with the libsolv-pool manpage

11 years agofix archpolicy handling of '>'
Michael Schroeder [Thu, 13 Jun 2013 13:47:37 +0000 (15:47 +0200)]
fix archpolicy handling of '>'

11 years agoadd a section about pointer validity
Michael Schroeder [Wed, 12 Jun 2013 10:14:28 +0000 (12:14 +0200)]
add a section about pointer validity

11 years agothe manpage generator automatically capitalizes...
Michael Schroeder [Tue, 11 Jun 2013 17:08:51 +0000 (19:08 +0200)]
the manpage generator automatically capitalizes...

11 years agomake license/group a poolstr array for archlinux
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.

11 years agocmake has some pitfalls
Michael Schroeder [Mon, 10 Jun 2013 12:03:02 +0000 (14:03 +0200)]
cmake has some pitfalls

11 years agotry share/man
Michael Schroeder [Mon, 10 Jun 2013 11:53:54 +0000 (13:53 +0200)]
try share/man

11 years agopackage manuals
Michael Schroeder [Mon, 10 Jun 2013 11:41:31 +0000 (13:41 +0200)]
package manuals

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