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.
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
Michael Schroeder [Wed, 30 Apr 2008 13:40:10 +0000 (13:40 +0000)]
- oops, forgot some changes
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
Stephan Kulow [Mon, 28 Apr 2008 17:37:13 +0000 (17:37 +0000)]
autobuild once more
Michael Schroeder [Mon, 28 Apr 2008 09:51:40 +0000 (09:51 +0000)]
- make --force behave a bit more like --noforce
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.
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.
Stephan Kulow [Fri, 25 Apr 2008 17:48:56 +0000 (17:48 +0000)]
init to compile
Stephan Kulow [Fri, 25 Apr 2008 17:26:10 +0000 (17:26 +0000)]
autobuild
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
Michael Schroeder [Fri, 25 Apr 2008 10:57:22 +0000 (10:57 +0000)]
- add support for susetags filelist
- plug mem join2 leak
Michael Schroeder [Fri, 25 Apr 2008 10:50:55 +0000 (10:50 +0000)]
- add two assertions
Michael Schroeder [Fri, 25 Apr 2008 09:24:20 +0000 (09:24 +0000)]
- add bugzilla reference
- add more statistics
Michael Matz [Thu, 24 Apr 2008 15:57:52 +0000 (15:57 +0000)]
Fix content parsing if PRODUCT isn't the first entry.
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
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
Michael Schroeder [Tue, 22 Apr 2008 17:09:35 +0000 (17:09 +0000)]
- do not delete negative bitfield entries [bnc#381908]
Michael Matz [Tue, 22 Apr 2008 13:38:58 +0000 (13:38 +0000)]
Fix compile.
Michael Schroeder [Tue, 22 Apr 2008 08:27:02 +0000 (08:27 +0000)]
- move debug functions to solverdebug.c
Michael Schroeder [Mon, 21 Apr 2008 11:49:30 +0000 (11:49 +0000)]
- fix endless loop
Klaus Kaempf [Mon, 21 Apr 2008 09:49:45 +0000 (09:49 +0000)]
detect and skip empty lines (bnc#381828)
Stephan Kulow [Sun, 20 Apr 2008 16:25:18 +0000 (16:25 +0000)]
changes
Stephan Kulow [Sun, 20 Apr 2008 15:29:01 +0000 (15:29 +0000)]
init to build
Stephan Kulow [Sat, 19 Apr 2008 06:11:43 +0000 (06:11 +0000)]
changelog
Michael Schroeder [Fri, 18 Apr 2008 17:45:14 +0000 (17:45 +0000)]
- add support for feature rules
- fix a couple of small bugs
Michael Matz [Fri, 18 Apr 2008 15:52:01 +0000 (15:52 +0000)]
C++-guard also solver.h
Michael Matz [Thu, 17 Apr 2008 15:24:46 +0000 (15:24 +0000)]
Fix parsing dep lines of content files (bnc #380396).
Michael Schroeder [Wed, 16 Apr 2008 16:22:01 +0000 (16:22 +0000)]
- fix probleminfo if solvable conflicts with itself and has no requires
Stephan Kulow [Wed, 16 Apr 2008 15:49:28 +0000 (15:49 +0000)]
no one needs it
Stephan Kulow [Wed, 16 Apr 2008 15:44:55 +0000 (15:44 +0000)]
autobuild
Michael Schroeder [Wed, 16 Apr 2008 14:26:58 +0000 (14:26 +0000)]
- fix segfault in solver (bnc#380406)
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.
Michael Schroeder [Tue, 15 Apr 2008 17:11:26 +0000 (17:11 +0000)]
- catch self conflicts (configurable)
Stephan Kulow [Tue, 15 Apr 2008 07:06:58 +0000 (07:06 +0000)]
autobuild
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.
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.
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).
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
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.
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.
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
Michael Schroeder [Fri, 11 Apr 2008 10:43:37 +0000 (10:43 +0000)]
- oops
Michael Schroeder [Fri, 11 Apr 2008 10:07:01 +0000 (10:07 +0000)]
- beautfy, rename & document
Michael Schroeder [Fri, 11 Apr 2008 08:51:51 +0000 (08:51 +0000)]
- allow no conflictsmap
Michael Schroeder [Fri, 11 Apr 2008 08:50:10 +0000 (08:50 +0000)]
- change DU interface to use installedmap, like the trivial functions
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.
Klaus Kaempf [Thu, 10 Apr 2008 11:23:27 +0000 (11:23 +0000)]
fix evr/arch mixup
Klaus Kaempf [Wed, 9 Apr 2008 15:52:05 +0000 (15:52 +0000)]
make things more consistent: update:reference:url -> update:reference:href
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.
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 :-)
Klaus Kaempf [Wed, 9 Apr 2008 14:54:30 +0000 (14:54 +0000)]
detailed IDs for update collection and reference
Jan Kupec [Wed, 9 Apr 2008 14:12:04 +0000 (14:12 +0000)]
- bumping version since libzypp depends on Dataiterator.regex_err
Jan Kupec [Wed, 9 Apr 2008 14:09:26 +0000 (14:09 +0000)]
- enable regex matching in Dataiterator
Michael Matz [Wed, 9 Apr 2008 09:03:34 +0000 (09:03 +0000)]
Make dataiterator_match available.
Klaus Kaempf [Tue, 8 Apr 2008 14:45:28 +0000 (14:45 +0000)]
write UPDATE_COLLECTION
Klaus Kaempf [Tue, 8 Apr 2008 13:31:51 +0000 (13:31 +0000)]
define UPDATE_COLLECTION
Klaus Kaempf [Tue, 8 Apr 2008 13:31:25 +0000 (13:31 +0000)]
more comments
Klaus Kaempf [Tue, 8 Apr 2008 13:31:11 +0000 (13:31 +0000)]
more comments
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.
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.
Klaus Kaempf [Tue, 8 Apr 2008 10:01:37 +0000 (10:01 +0000)]
- fix prototype for repodata_set_num()
- add comments to repodata.h
Klaus Kaempf [Mon, 7 Apr 2008 16:33:04 +0000 (16:33 +0000)]
generate architecture dependencies for the patch->package 'conflicts'
relation.
Klaus Kaempf [Mon, 7 Apr 2008 14:25:28 +0000 (14:25 +0000)]
use 'repodata_set_void()' for boolean attributes
Klaus Kaempf [Mon, 7 Apr 2008 14:19:33 +0000 (14:19 +0000)]
drop UPDATE_SEVERITY, use SOLVABLE_PATCHCATEGORY instead
drop UPDATE_TIMESTAMP, use SOLVABLE_BUILDTIME instead
Klaus Kaempf [Mon, 7 Apr 2008 14:11:23 +0000 (14:11 +0000)]
parse <package-manager/> to 'update:restart' attribute
Klaus Kaempf [Mon, 7 Apr 2008 14:08:42 +0000 (14:08 +0000)]
parse <reboot-needed/> to 'update:reboot' attribute
Klaus Kaempf [Mon, 7 Apr 2008 14:00:19 +0000 (14:00 +0000)]
make patches 'noarch'
Klaus Kaempf [Mon, 7 Apr 2008 13:39:44 +0000 (13:39 +0000)]
support <restart_suggested>
Klaus Kaempf [Mon, 7 Apr 2008 13:37:41 +0000 (13:37 +0000)]
fix include
Stephan Kulow [Mon, 7 Apr 2008 08:26:10 +0000 (08:26 +0000)]
remove standard stuff
Jan Kupec [Sun, 6 Apr 2008 22:02:29 +0000 (22:02 +0000)]
- print also global solvable id
Stephan Kulow [Sat, 5 Apr 2008 08:14:45 +0000 (08:14 +0000)]
always package deptestomatic
Stephan Kulow [Sat, 5 Apr 2008 08:08:01 +0000 (08:08 +0000)]
more of these init variables
Stephan Kulow [Sat, 5 Apr 2008 07:58:31 +0000 (07:58 +0000)]
trying to fix compilation
Stephan Kulow [Sat, 5 Apr 2008 07:49:45 +0000 (07:49 +0000)]
I guess this was intended
Michael Schroeder [Fri, 4 Apr 2008 20:37:25 +0000 (20:37 +0000)]
- fix bug
Michael Schroeder [Fri, 4 Apr 2008 20:35:12 +0000 (20:35 +0000)]
- add solvable_trivial_installable
(probably not the final interface, as we should work with a solver result)
Michael Schroeder [Fri, 4 Apr 2008 19:43:12 +0000 (19:43 +0000)]
- support REL_ARCH
Klaus Kaempf [Fri, 4 Apr 2008 14:02:25 +0000 (14:02 +0000)]
new ids for patches
- update:severity
- update:reboot
- update:restart
- update:timestamp
Klaus Kaempf [Fri, 4 Apr 2008 14:01:37 +0000 (14:01 +0000)]
Parses updateinfo.xml now and creates .solv file like this:
solvable 124:
name: patch:FEDORA-2008-2070 1.4 <NULL>
vendor: rel-eng@fedoraproject.org
conflicts:
dbus-debuginfo < 1.1.2-9.fc8
dbus-x11 < 1.1.2-9.fc8
dbus-devel < 1.1.2-9.fc8
dbus-libs < 1.1.2-9.fc8
dbus < 1.1.2-9.fc8
update:severity: security
solvable:summary: dbus-1.1.2-9.fc8
update:timestamp: 2008-02-28 21:10:49
solvable:description:
update:reboot: True
Stephan Kulow [Fri, 4 Apr 2008 13:46:28 +0000 (13:46 +0000)]
give me a tool to create package lists
Michael Schroeder [Fri, 4 Apr 2008 12:49:04 +0000 (12:49 +0000)]
- do unconflicting in a more elegant and not so damaging way
Klaus Kaempf [Fri, 4 Apr 2008 11:39:40 +0000 (11:39 +0000)]
backup: doesn't crash anymore
Michael Schroeder [Fri, 4 Apr 2008 10:09:22 +0000 (10:09 +0000)]
- fix core dump, sorry
Stefan Schubert [Fri, 4 Apr 2008 07:52:41 +0000 (07:52 +0000)]
added attributes to the helix-format
Michael Matz [Thu, 3 Apr 2008 20:32:13 +0000 (20:32 +0000)]
Support loading/dumping multiple repos, and some testcode for the new
iterator functions.
Michael Matz [Thu, 3 Apr 2008 20:10:27 +0000 (20:10 +0000)]
Dataiterator can walk over multiple repos now (SEARCH_ALL_REPOS flag).
Add some functions for skipping various entities while iterating, or
directly jumping to a solvable or repo.
Michael Schroeder [Thu, 3 Apr 2008 18:25:13 +0000 (18:25 +0000)]
- fix memory leak
- add support to make every rule weak
- fix dontinstallrecommended flag
- add SOLVER_WEAK job modifier
- make recommended/suggest calculation ignore all weak rules
(needs some more fixing)
Michael Matz [Thu, 3 Apr 2008 16:20:36 +0000 (16:20 +0000)]
Fix a segfault for existing but empty attribute lists.
Michael Matz [Tue, 1 Apr 2008 22:24:07 +0000 (22:24 +0000)]
Working but for now inactive code to support non-solvables (things which
have attributes, but are not solvables). The usual functions interpret
negative entry numbers as those (positive ones are solvable IDs). I'll
probably refine the code some more, hence it's work in progress.
susetags2repo: Parse also a "=Lan:" tag, which can be injected
externally when multiple language tag files are catted together.
Stephan Kulow [Tue, 1 Apr 2008 21:04:43 +0000 (21:04 +0000)]
let's kusch
Stephan Kulow [Mon, 31 Mar 2008 14:25:41 +0000 (14:25 +0000)]
adding changes
Stephan Kulow [Mon, 31 Mar 2008 14:22:23 +0000 (14:22 +0000)]
increase it again
Michael Andres [Mon, 31 Mar 2008 12:31:23 +0000 (12:31 +0000)]
missing solvable_lookup_bool implementation
Michael Matz [Fri, 28 Mar 2008 18:26:40 +0000 (18:26 +0000)]
Let's be more forgiving and fix compilation without removing the
backup.
Michael Matz [Fri, 28 Mar 2008 18:00:31 +0000 (18:00 +0000)]
Doesn't build -> revert.
Duncan Mac-Vicar P [Fri, 28 Mar 2008 17:46:16 +0000 (17:46 +0000)]
backup
Michael Schroeder [Thu, 27 Mar 2008 16:58:23 +0000 (16:58 +0000)]
- truly restart when analyze_unsolvable is hit (fixes #368209)
- fix some indentation
Michael Schroeder [Tue, 25 Mar 2008 11:25:43 +0000 (11:25 +0000)]
- make it work with really large directories