platform/upstream/libsolv.git
16 years ago- change some comments
Michael Schroeder [Wed, 14 May 2008 08:34:06 +0000 (08:34 +0000)]
- change some comments
- add solver_printtrivial debug function, use it in yps and
  deptestomatic
- remove some assertions, return SOLVER_PROBLEM_RPM_RULE instead
  (we do not want to crash libzypp if we forgot to handle some case)

16 years agoreverting last change
Klaus Kaempf [Tue, 13 May 2008 18:28:20 +0000 (18:28 +0000)]
reverting last change

16 years ago- remove strange comment
Michael Schroeder [Tue, 13 May 2008 17:38:55 +0000 (17:38 +0000)]
- remove strange comment

16 years agofix comments
Klaus Kaempf [Tue, 13 May 2008 16:09:37 +0000 (16:09 +0000)]
fix comments

16 years agoadd comment
Klaus Kaempf [Tue, 13 May 2008 16:08:58 +0000 (16:08 +0000)]
add comment

16 years agouse repodata_set_void for pattern visible attr
Duncan Mac-Vicar P [Tue, 13 May 2008 15:15:34 +0000 (15:15 +0000)]
use repodata_set_void for pattern visible attr

16 years ago- expand mergesolv a bit
Michael Schroeder [Tue, 13 May 2008 12:41:33 +0000 (12:41 +0000)]
- expand mergesolv a bit
- fix tiny bug in cookie detection

16 years agochanges
Josef Reidinger [Tue, 13 May 2008 12:12:36 +0000 (12:12 +0000)]
changes

16 years agoread description dir path from content file (bnc #389414)
Josef Reidinger [Tue, 13 May 2008 12:12:15 +0000 (12:12 +0000)]
read description dir path from content file (bnc #389414)

16 years ago- include deltainfo.xml
Jan Kupec [Tue, 13 May 2008 11:15:24 +0000 (11:15 +0000)]
- include deltainfo.xml

16 years ago- fix comments
Michael Schroeder [Tue, 13 May 2008 10:32:02 +0000 (10:32 +0000)]
- fix comments

16 years agoa boolean is not a num attribute set to 1, but just a existing void
Duncan Mac-Vicar P [Tue, 13 May 2008 10:24:57 +0000 (10:24 +0000)]
a boolean is not a num attribute set to 1, but just a existing void
attribute. (bnc#388818)

16 years ago- fix comment
Michael Schroeder [Tue, 13 May 2008 10:14:33 +0000 (10:14 +0000)]
- fix comment

16 years ago- fix comment
Michael Schroeder [Tue, 13 May 2008 10:13:07 +0000 (10:13 +0000)]
- fix comment

16 years ago- support SOLVER_NOOBSOLETES* jobs, tell the solver that those packages
Michael Schroeder [Tue, 13 May 2008 10:09:30 +0000 (10:09 +0000)]
- support SOLVER_NOOBSOLETES* jobs, tell the solver that those packages
  do not obsolete other packages. Useful for multi-install.

16 years ago- lots and lots of comments to make the internals
Klaus Kaempf [Tue, 13 May 2008 09:57:16 +0000 (09:57 +0000)]
- lots and lots of comments to make the internals
   graspable by ordinary mortals ;-)
- disable CODE10 specifics (patch atoms, eek!)

16 years agoadd comments
Klaus Kaempf [Tue, 13 May 2008 09:43:22 +0000 (09:43 +0000)]
add comments

16 years agoadd comment
Klaus Kaempf [Tue, 13 May 2008 09:43:00 +0000 (09:43 +0000)]
add comment

16 years agoGenerate translated strings for susetags repos (only packages for now).
Michael Matz [Mon, 12 May 2008 16:40:29 +0000 (16:40 +0000)]
Generate translated strings for susetags repos (only packages for now).

16 years agofix broken -debuginfo requires
Stephan Kulow [Mon, 12 May 2008 08:17:02 +0000 (08:17 +0000)]
fix broken -debuginfo requires

16 years ago- deltainfoxml2solv now writes the information out
Duncan Mac-Vicar P [Sun, 11 May 2008 18:55:46 +0000 (18:55 +0000)]
- deltainfoxml2solv now writes the information out

16 years agoresubmit
Stephan Kulow [Sat, 10 May 2008 13:40:05 +0000 (13:40 +0000)]
resubmit

16 years agoParse the products LABEL in content file to SUMMARY.
Michael Andres [Fri, 9 May 2008 20:00:15 +0000 (20:00 +0000)]
Parse the products LABEL in content file to SUMMARY.

16 years agorecognize 1 as true for reboot suggested and
Duncan Mac-Vicar P [Fri, 9 May 2008 18:28:00 +0000 (18:28 +0000)]
recognize 1 as true for reboot suggested and
restart suggested (bnc#388818)

16 years agoBe a bit more robust with invalid input data (mismatching multi-line
Michael Matz [Fri, 9 May 2008 16:22:11 +0000 (16:22 +0000)]
Be a bit more robust with invalid input data (mismatching multi-line
tags give a warning only now, but probably unexpected data anyway).

16 years agomove helix2solv from satsolver-tools to satsolver-devel (bnc#388595)
Klaus Kaempf [Fri, 9 May 2008 14:09:01 +0000 (14:09 +0000)]
move helix2solv from satsolver-tools to satsolver-devel (bnc#388595)

16 years ago- fix content parsing
Michael Schroeder [Fri, 9 May 2008 13:20:03 +0000 (13:20 +0000)]
- fix content parsing
- use pool_id2langid

16 years ago- add pool_id2langid function
Michael Schroeder [Fri, 9 May 2008 13:15:03 +0000 (13:15 +0000)]
- add pool_id2langid function

16 years ago- move attributes to knownid
Michael Schroeder [Fri, 9 May 2008 12:53:38 +0000 (12:53 +0000)]
- move attributes to knownid

16 years ago- parser for deltainfo.xml, stores yum-presto xml information into
Duncan Mac-Vicar P [Thu, 8 May 2008 19:59:20 +0000 (19:59 +0000)]
- parser for deltainfo.xml, stores yum-presto xml information into
  the extra section of the solv files.
- collects all information, and outputs it.
- only needs to save the struct to the solvfile (one liner?)
- also pending: add support for repo2solv.sh

16 years ago- disable file filters, but all files in filelist instead
Michael Schroeder [Thu, 8 May 2008 12:27:37 +0000 (12:27 +0000)]
- disable file filters, but all files in filelist instead

16 years ago- speed up solvable copying be using a small cache
Michael Schroeder [Thu, 8 May 2008 12:15:00 +0000 (12:15 +0000)]
- speed up solvable copying be using a small cache

16 years ago- speed up array creation a bit by caching last values
Michael Schroeder [Wed, 7 May 2008 17:00:21 +0000 (17:00 +0000)]
- speed up array creation a bit by caching last values

16 years ago- add rpmdbcookie support
Michael Schroeder [Wed, 7 May 2008 15:18:01 +0000 (15:18 +0000)]
- add rpmdbcookie support

16 years ago- convert summary/description/authors to utf8
Michael Schroeder [Wed, 7 May 2008 13:48:16 +0000 (13:48 +0000)]
- convert summary/description/authors to utf8

16 years ago- add pool_match_nevr() to match a single solvable's nevr against
Michael Schroeder [Tue, 6 May 2008 16:22:12 +0000 (16:22 +0000)]
- add pool_match_nevr() to match a single solvable's nevr against
  a dependency (that's also how rpm4 handles obsoletes).
- use it for obsoetes and _NAME jobs

16 years ago- shuffle rule blocks so that feature rules come before update rules
Michael Schroeder [Tue, 6 May 2008 08:57:32 +0000 (08:57 +0000)]
- shuffle rule blocks so that feature rules come before update rules
  and job rules. Makes "forceResolv" work better...
- add _end membes to solver struct to make the code more readable
- obey obsolete settings a bit better

16 years agonew version
Stephan Kulow [Mon, 5 May 2008 14:24:50 +0000 (14:24 +0000)]
new version

16 years agoParse also DISTPRODUCT and DISTVERSION (for registration), and the other
Michael Matz [Fri, 2 May 2008 15:18:54 +0000 (15:18 +0000)]
Parse also DISTPRODUCT and DISTVERSION (for registration), and the other
(often unused) attributes of products.

16 years ago- speed up solver a bit by creating a queue holding all assertion
Michael Schroeder [Wed, 30 Apr 2008 16:53:46 +0000 (16:53 +0000)]
- speed up solver a bit by creating a queue holding all assertion
  rules, so we do not have to scan all rules for assertions

16 years ago- oops, forgot some changes
Michael Schroeder [Wed, 30 Apr 2008 13:40:10 +0000 (13:40 +0000)]
- oops, forgot some changes

16 years ago- add obsoleteusesprovides and implicitobsoleteusesprovides solver
Michael Schroeder [Wed, 30 Apr 2008 13:20:22 +0000 (13:20 +0000)]
- add obsoleteusesprovides and implicitobsoleteusesprovides solver
  flags
- speed up solving by not recreating the watch chains every time
  some rule is enabled/disabled. To do this, the "disabled" flag
  had to be moved from w1 to d.
- fix bug that broke rule disabling when "forceResolve" was true
- fix bug in update rule calculation

16 years agoautobuild once more
Stephan Kulow [Mon, 28 Apr 2008 17:37:13 +0000 (17:37 +0000)]
autobuild once more

16 years ago- make --force behave a bit more like --noforce
Michael Schroeder [Mon, 28 Apr 2008 09:51:40 +0000 (09:51 +0000)]
- make --force behave a bit more like --noforce

16 years agoI promised this to Jano; skipping kinds in matcher when a flag is specified.
Michael Matz [Sun, 27 Apr 2008 18:32:40 +0000 (18:32 +0000)]
I promised this to Jano; skipping kinds in matcher when a flag is specified.

16 years ago(De-)Serialize structured types. Dataiterator and repo_search support
Michael Matz [Sun, 27 Apr 2008 18:15:46 +0000 (18:15 +0000)]
(De-)Serialize structured types.  Dataiterator and repo_search support
them too, but not yet nested, so that is unsupported for now.

16 years agoinit to compile
Stephan Kulow [Fri, 25 Apr 2008 17:48:56 +0000 (17:48 +0000)]
init to compile

16 years agoautobuild
Stephan Kulow [Fri, 25 Apr 2008 17:26:10 +0000 (17:26 +0000)]
autobuild

16 years ago- fix anchoring of filelist data
Michael Schroeder [Fri, 25 Apr 2008 12:42:04 +0000 (12:42 +0000)]
- fix anchoring of filelist data
- susetags move files added to provides back into filelist
- ignore packages.FL for now

16 years ago- add support for susetags filelist
Michael Schroeder [Fri, 25 Apr 2008 10:57:22 +0000 (10:57 +0000)]
- add support for susetags filelist
- plug mem join2 leak

16 years ago- add two assertions
Michael Schroeder [Fri, 25 Apr 2008 10:50:55 +0000 (10:50 +0000)]
- add two assertions

16 years ago- add bugzilla reference
Michael Schroeder [Fri, 25 Apr 2008 09:24:20 +0000 (09:24 +0000)]
- add bugzilla reference
- add more statistics

16 years agoFix content parsing if PRODUCT isn't the first entry.
Michael Matz [Thu, 24 Apr 2008 15:57:52 +0000 (15:57 +0000)]
Fix content parsing if PRODUCT isn't the first entry.

16 years ago- schubi convinced me to invert the flag, so that installed
Michael Schroeder [Wed, 23 Apr 2008 09:38:00 +0000 (09:38 +0000)]
- schubi convinced me to invert the flag, so that installed
  packages are added by default

16 years ago- add "showinstalledrecommended" option to make the solver
Michael Schroeder [Wed, 23 Apr 2008 09:13:14 +0000 (09:13 +0000)]
- add "showinstalledrecommended" option to make the solver
  put installed packages on the suggestions/recommendations
  queues

16 years ago- do not delete negative bitfield entries [bnc#381908]
Michael Schroeder [Tue, 22 Apr 2008 17:09:35 +0000 (17:09 +0000)]
- do not delete negative bitfield entries [bnc#381908]

16 years agoFix compile.
Michael Matz [Tue, 22 Apr 2008 13:38:58 +0000 (13:38 +0000)]
Fix compile.

16 years ago- move debug functions to solverdebug.c
Michael Schroeder [Tue, 22 Apr 2008 08:27:02 +0000 (08:27 +0000)]
- move debug functions to solverdebug.c

16 years ago- fix endless loop
Michael Schroeder [Mon, 21 Apr 2008 11:49:30 +0000 (11:49 +0000)]
- fix endless loop

16 years agodetect and skip empty lines (bnc#381828)
Klaus Kaempf [Mon, 21 Apr 2008 09:49:45 +0000 (09:49 +0000)]
detect and skip empty lines (bnc#381828)

16 years agochanges
Stephan Kulow [Sun, 20 Apr 2008 16:25:18 +0000 (16:25 +0000)]
changes

16 years agoinit to build
Stephan Kulow [Sun, 20 Apr 2008 15:29:01 +0000 (15:29 +0000)]
init to build

16 years agochangelog
Stephan Kulow [Sat, 19 Apr 2008 06:11:43 +0000 (06:11 +0000)]
changelog

16 years ago- add support for feature rules
Michael Schroeder [Fri, 18 Apr 2008 17:45:14 +0000 (17:45 +0000)]
- add support for feature rules
- fix a couple of small bugs

16 years agoC++-guard also solver.h
Michael Matz [Fri, 18 Apr 2008 15:52:01 +0000 (15:52 +0000)]
C++-guard also solver.h

16 years agoFix parsing dep lines of content files (bnc #380396).
Michael Matz [Thu, 17 Apr 2008 15:24:46 +0000 (15:24 +0000)]
Fix parsing dep lines of content files (bnc #380396).

16 years ago- fix probleminfo if solvable conflicts with itself and has no requires
Michael Schroeder [Wed, 16 Apr 2008 16:22:01 +0000 (16:22 +0000)]
- fix probleminfo if solvable conflicts with itself and has no requires

16 years agono one needs it
Stephan Kulow [Wed, 16 Apr 2008 15:49:28 +0000 (15:49 +0000)]
no one needs it

16 years agoautobuild
Stephan Kulow [Wed, 16 Apr 2008 15:44:55 +0000 (15:44 +0000)]
autobuild

16 years ago- fix segfault in solver (bnc#380406)
Michael Schroeder [Wed, 16 Apr 2008 14:26:58 +0000 (14:26 +0000)]
- fix segfault in solver (bnc#380406)

16 years ago- provide yet another interface to check if packages are trivial
Michael Schroeder [Wed, 16 Apr 2008 09:59:21 +0000 (09:59 +0000)]
- provide yet another interface to check if packages are trivial
  installable. The old functions are about to die.

16 years ago- catch self conflicts (configurable)
Michael Schroeder [Tue, 15 Apr 2008 17:11:26 +0000 (17:11 +0000)]
- catch self conflicts (configurable)

16 years agoautobuild
Stephan Kulow [Tue, 15 Apr 2008 07:06:58 +0000 (07:06 +0000)]
autobuild

16 years agoAdd REPOKEY_TYPE_COUNTED type (for arrays of structures).
Michael Matz [Mon, 14 Apr 2008 12:58:23 +0000 (12:58 +0000)]
Add REPOKEY_TYPE_COUNTED type (for arrays of structures).
We can add substructures now, but can't write or read them :)
Add version for the attributes to SOLV_VERSION_7 (not yet written).
Some cleanups.

16 years agoEULA is also a translatable text. Also compress translated versions of
Michael Matz [Mon, 14 Apr 2008 12:55:12 +0000 (12:55 +0000)]
EULA is also a translatable text.  Also compress translated versions of
compressible attributes.

16 years agoPreparation for structured types. The repodata_set_* functions now take
Michael Matz [Mon, 14 Apr 2008 09:19:01 +0000 (09:19 +0000)]
Preparation for structured types.  The repodata_set_* functions now take
a "handle" not an entry number.  Converting from the latter to the
former is done via repodata_get_handle.  This change required adjusting
all callers and in order to not miss any I changed all arguments from
"entry" to "handle".  That's why this is a big change.  It should be a
no-op, though (I tested this patch on top of some other changes, so
let's hope that was enough).

16 years ago- cleanup
Michael Schroeder [Fri, 11 Apr 2008 17:35:35 +0000 (17:35 +0000)]
- cleanup
- calculate recommends/suggests even if there are problems
- do not trash solver resolt when refining suggestions

16 years ago- change schubi debugging
Michael Schroeder [Fri, 11 Apr 2008 16:51:41 +0000 (16:51 +0000)]
- change schubi debugging
- add some comments to internal create_decisions_obsoletesmap()
  function.
  should really make it static, as all uses in applayer code are
  broken. I hope nobody uses the applayer.

16 years ago- add support for SOLVER_WEAKEN_SOLVABLE_DEPS, weakens requires of one
Michael Schroeder [Fri, 11 Apr 2008 13:47:17 +0000 (13:47 +0000)]
- add support for SOLVER_WEAKEN_SOLVABLE_DEPS, weakens requires of one
  solvable. Handle with care.

16 years ago- clean up code a bit
Michael Schroeder [Fri, 11 Apr 2008 11:09:18 +0000 (11:09 +0000)]
- clean up code a bit
- add generic SOLVER_INSTALL_SOLVABLE_ONE_OF job

16 years ago- oops
Michael Schroeder [Fri, 11 Apr 2008 10:43:37 +0000 (10:43 +0000)]
- oops

16 years ago- beautfy, rename & document
Michael Schroeder [Fri, 11 Apr 2008 10:07:01 +0000 (10:07 +0000)]
- beautfy, rename & document

16 years ago- allow no conflictsmap
Michael Schroeder [Fri, 11 Apr 2008 08:51:51 +0000 (08:51 +0000)]
- allow no conflictsmap

16 years ago- change DU interface to use installedmap, like the trivial functions
Michael Schroeder [Fri, 11 Apr 2008 08:50:10 +0000 (08:50 +0000)]
- change DU interface to use installedmap, like the trivial functions

16 years ago- change interface for solvable_trivial_installable. We now have
Michael Schroeder [Thu, 10 Apr 2008 18:05:31 +0000 (18:05 +0000)]
- change interface for solvable_trivial_installable. We now have
  solvable_trivial_installable_queue, solvable_trivial_installable_repo,
  and solvable_trivial_installable_map.
  The latter may take a second map with all the conflicts, it's very
  fast in that case. There is also a create_trivial_installable_maps
  function to create both maps.

16 years agofix evr/arch mixup
Klaus Kaempf [Thu, 10 Apr 2008 11:23:27 +0000 (11:23 +0000)]
fix evr/arch mixup

16 years agomake things more consistent: update:reference:url -> update:reference:href
Klaus Kaempf [Wed, 9 Apr 2008 15:52:05 +0000 (15:52 +0000)]
make things more consistent: update:reference:url -> update:reference:href

16 years agoconvert <references> and <collection> as multiple arrays within the
Klaus Kaempf [Wed, 9 Apr 2008 15:39:31 +0000 (15:39 +0000)]
convert <references> and <collection> as multiple arrays within the
.solv file, see knownid.h for the attribute names.

16 years ago- add support for parsing updateinfo.xml from repo2solv.sh so
Duncan Mac-Vicar P [Wed, 9 Apr 2008 15:28:25 +0000 (15:28 +0000)]
- add support for parsing updateinfo.xml from repo2solv.sh so
  I dont need any convertors :-)

16 years agodetailed IDs for update collection and reference
Klaus Kaempf [Wed, 9 Apr 2008 14:54:30 +0000 (14:54 +0000)]
detailed IDs for update collection and reference

16 years ago- bumping version since libzypp depends on Dataiterator.regex_err
Jan Kupec [Wed, 9 Apr 2008 14:12:04 +0000 (14:12 +0000)]
- bumping version since libzypp depends on Dataiterator.regex_err

16 years ago- enable regex matching in Dataiterator
Jan Kupec [Wed, 9 Apr 2008 14:09:26 +0000 (14:09 +0000)]
- enable regex matching in Dataiterator

16 years agoMake dataiterator_match available.
Michael Matz [Wed, 9 Apr 2008 09:03:34 +0000 (09:03 +0000)]
Make dataiterator_match available.

16 years agowrite UPDATE_COLLECTION
Klaus Kaempf [Tue, 8 Apr 2008 14:45:28 +0000 (14:45 +0000)]
write UPDATE_COLLECTION

16 years agodefine UPDATE_COLLECTION
Klaus Kaempf [Tue, 8 Apr 2008 13:31:51 +0000 (13:31 +0000)]
define UPDATE_COLLECTION

16 years agomore comments
Klaus Kaempf [Tue, 8 Apr 2008 13:31:25 +0000 (13:31 +0000)]
more comments

16 years agomore comments
Klaus Kaempf [Tue, 8 Apr 2008 13:31:11 +0000 (13:31 +0000)]
more comments

16 years agomake the difference between repodata_set_constant() (numeric constant) and
Klaus Kaempf [Tue, 8 Apr 2008 11:58:57 +0000 (11:58 +0000)]
make the difference between repodata_set_constant() (numeric constant) and
repodata_set_constantid() (Id constant) obvious in the prototype.

16 years agomake numeric attribute type consistent with repodata.h, its an
Klaus Kaempf [Tue, 8 Apr 2008 10:52:10 +0000 (10:52 +0000)]
make numeric attribute type consistent with repodata.h, its an
unsigned int.

16 years ago- fix prototype for repodata_set_num()
Klaus Kaempf [Tue, 8 Apr 2008 10:01:37 +0000 (10:01 +0000)]
- fix prototype for repodata_set_num()
- add comments to repodata.h