platform/upstream/libsolv.git
16 years agopackage submitted
Stephan Kulow [Mon, 14 Jan 2008 16:17:58 +0000 (16:17 +0000)]
package submitted

16 years agoreduced looging
Stefan Schubert [Mon, 14 Jan 2008 10:52:08 +0000 (10:52 +0000)]
reduced looging

16 years ago- add evrcmp_str for ma
Michael Schroeder [Mon, 14 Jan 2008 10:08:11 +0000 (10:08 +0000)]
- add evrcmp_str for ma

16 years ago- fix support for splitprovides
Michael Schroeder [Fri, 11 Jan 2008 20:42:25 +0000 (20:42 +0000)]
- fix support for splitprovides
- add some unfinished code for DU queries

16 years ago- clarify
Michael Schroeder [Wed, 9 Jan 2008 19:08:06 +0000 (19:08 +0000)]
- clarify

16 years agodocu added
Stefan Schubert [Wed, 9 Jan 2008 15:59:27 +0000 (15:59 +0000)]
docu added

16 years ago- beautify a bit
Michael Schroeder [Wed, 9 Jan 2008 15:32:39 +0000 (15:32 +0000)]
- beautify a bit

16 years agoProblem.to_s and Decision.to_s
Klaus Kaempf [Wed, 9 Jan 2008 13:53:13 +0000 (13:53 +0000)]
Problem.to_s and Decision.to_s

16 years ago- rename xmalloc/... functions to sat_malloc, as we're a
Michael Schroeder [Wed, 9 Jan 2008 11:55:50 +0000 (11:55 +0000)]
- rename xmalloc/... functions to sat_malloc, as we're a
  library and mustn't conflict with other libraries

16 years ago- assertify
Michael Schroeder [Tue, 8 Jan 2008 18:23:35 +0000 (18:23 +0000)]
- assertify
- add direct decision counter to make reset_solver faster and easier
  to understand

16 years agofprintf line number immediately before calling abort()
Klaus Kaempf [Tue, 8 Jan 2008 16:43:32 +0000 (16:43 +0000)]
fprintf line number immediately before calling abort()
... as an incentive to convert it to a proper solution ;-)

16 years agosync with autobuild
Stephan Kulow [Tue, 8 Jan 2008 15:28:01 +0000 (15:28 +0000)]
sync with autobuild

16 years agoprepare another autobuild round
Stephan Kulow [Tue, 8 Jan 2008 15:02:53 +0000 (15:02 +0000)]
prepare another autobuild round

16 years ago- also push level 1 rules on leanrt stack
Michael Schroeder [Mon, 7 Jan 2008 18:51:06 +0000 (18:51 +0000)]
- also push level 1 rules on leanrt stack
- this also fixes a nasty bug where a learnt rule was
  not disabled by enabledisablelearntrules()

16 years agoupdate to current solver format (data taken from 10.3-i386)
Klaus Kaempf [Mon, 7 Jan 2008 16:37:01 +0000 (16:37 +0000)]
update to current solver format (data taken from 10.3-i386)

16 years agoset pool architecture
Klaus Kaempf [Mon, 7 Jan 2008 16:36:07 +0000 (16:36 +0000)]
set pool architecture

16 years agoadapt to swig bindings (incomplete, non-working)
Klaus Kaempf [Fri, 4 Jan 2008 14:53:05 +0000 (14:53 +0000)]
adapt to swig bindings (incomplete, non-working)

16 years agofurther steps towards Perl bindings, still incomplete
Klaus Kaempf [Fri, 4 Jan 2008 12:25:53 +0000 (12:25 +0000)]
further steps towards Perl bindings, still incomplete
- merge stuff from Kiwi
- work around bugs in CMake FindPerlLibs

16 years agocomment added
Stefan Schubert [Thu, 3 Jan 2008 16:25:17 +0000 (16:25 +0000)]
comment added

16 years agocomments added
Stefan Schubert [Thu, 3 Jan 2008 15:10:22 +0000 (15:10 +0000)]
comments added

16 years agocomments
Stefan Schubert [Thu, 3 Jan 2008 08:30:00 +0000 (08:30 +0000)]
comments

16 years agonegate p before use as offset
Klaus Kaempf [Sun, 30 Dec 2007 20:22:21 +0000 (20:22 +0000)]
negate p before use as offset

16 years agoadd Decision (solver result element) and testcase
Klaus Kaempf [Sun, 30 Dec 2007 16:58:01 +0000 (16:58 +0000)]
add Decision (solver result element) and testcase

16 years agofix examples/ruby/basic.rb
Klaus Kaempf [Fri, 28 Dec 2007 20:37:05 +0000 (20:37 +0000)]
fix examples/ruby/basic.rb
add create_repo, create_transaction and create_solver to Pool
rename 'erase' to 'remove', its more natural
rename Pool.count_repo to Pool.count_repos

16 years agoInstall content2solv.
Michael Matz [Fri, 28 Dec 2007 00:05:04 +0000 (00:05 +0000)]
Install content2solv.

16 years agoMemory efficient representation of the dirtree (important for
Michael Matz [Fri, 28 Dec 2007 00:04:38 +0000 (00:04 +0000)]
Memory efficient representation of the dirtree (important for
unabridged packages.DU).  Store and reread the dirtree (in a hacky way,
should use the info block).  Make dumpattr show the directory names.
On disk the same info as in my 10.3 packages.DU (1.4MB, 330 KB gzipped)
only takes 146 KB.

16 years agoNo idea why I had this as intlist.
Michael Matz [Thu, 27 Dec 2007 21:49:26 +0000 (21:49 +0000)]
No idea why I had this as intlist.

16 years agoParse also +Dir:, i.e. the packages.DU file. For now the info is stored
Michael Matz [Thu, 27 Dec 2007 21:44:04 +0000 (21:44 +0000)]
Parse also +Dir:, i.e. the packages.DU file.  For now the info is stored
simply as an ATTR_INTLIST and the dirtree isn't saved at all.

16 years agoEnable ATTR_INTLIST to contain zeros. Use the same encoding as IDARRAY.
Michael Matz [Thu, 27 Dec 2007 21:39:00 +0000 (21:39 +0000)]
Enable ATTR_INTLIST to contain zeros.  Use the same encoding as IDARRAY.

16 years agoSome infrastructure for directory trees.
Michael Matz [Thu, 27 Dec 2007 20:25:17 +0000 (20:25 +0000)]
Some infrastructure for directory trees.

16 years agoI'll have a need for inserting substrings into a stringpool.
Michael Matz [Thu, 27 Dec 2007 17:32:46 +0000 (17:32 +0000)]
I'll have a need for inserting substrings into a stringpool.

16 years agofix example broken by module renames
Duncan Mac-Vicar P [Sat, 22 Dec 2007 17:16:20 +0000 (17:16 +0000)]
fix example broken by module renames

16 years agoprepare to pass rootdir for reading rpmdb from other directory
Klaus Kaempf [Sat, 22 Dec 2007 08:17:02 +0000 (08:17 +0000)]
prepare to pass rootdir for reading rpmdb from other directory
(unfinished)

16 years ago- add evrmatch
Michael Schroeder [Fri, 21 Dec 2007 18:16:33 +0000 (18:16 +0000)]
- add evrmatch
- first shot at adding file provides

16 years ago- fix bug in repo_addid_dep
Michael Schroeder [Fri, 21 Dec 2007 14:42:40 +0000 (14:42 +0000)]
- fix bug in repo_addid_dep
- make repo_addid_dep handle different markers, so that we can add
  the file provides with SOLVABLE_FILEMARKER

16 years agoImprove the page eviction a bit.
Michael Matz [Fri, 21 Dec 2007 11:58:38 +0000 (11:58 +0000)]
Improve the page eviction a bit.
Add possibility to merge attributes between entities, use it to handle
=Shr susetags headers.

16 years agoLet's not compare strings in an if-cascade or lookup the same names all
Michael Matz [Fri, 21 Dec 2007 10:13:29 +0000 (10:13 +0000)]
Let's not compare strings in an if-cascade or lookup the same names all
the time.

16 years ago- some bug fixes + stop handling, nothing fancy
Michael Schroeder [Thu, 20 Dec 2007 21:30:41 +0000 (21:30 +0000)]
- some bug fixes + stop handling, nothing fancy

16 years agoOne-valued types for media number. They can be encoded in the schema,
Michael Matz [Tue, 18 Dec 2007 21:09:58 +0000 (21:09 +0000)]
One-valued types for media number.  They can be encoded in the schema,
no need for storing 1, 2 or 3 all the time.

16 years ago- some more things to think about
Michael Schroeder [Tue, 18 Dec 2007 18:39:55 +0000 (18:39 +0000)]
- some more things to think about

16 years ago- do not exit on bad solv files
Michael Schroeder [Tue, 18 Dec 2007 15:14:36 +0000 (15:14 +0000)]
- do not exit on bad solv files

16 years ago- removed verticals for now to make work easier
Michael Schroeder [Mon, 17 Dec 2007 17:53:01 +0000 (17:53 +0000)]
- removed verticals for now to make work easier
- allow NULL idmap

16 years ago- forgot to store start and end of id block
Michael Schroeder [Fri, 14 Dec 2007 20:11:33 +0000 (20:11 +0000)]
- forgot to store start and end of id block

16 years ago- some pieces of code for the unified lookup/search interface
Michael Schroeder [Fri, 14 Dec 2007 20:08:42 +0000 (20:08 +0000)]
- some pieces of code for the unified lookup/search interface

16 years ago- beautify
Michael Schroeder [Tue, 11 Dec 2007 13:14:00 +0000 (13:14 +0000)]
- beautify

16 years agoHandle most of the susetags tags. Major exception is 'Shr', where I'm
Michael Matz [Tue, 11 Dec 2007 03:18:57 +0000 (03:18 +0000)]
Handle most of the susetags tags.  Major exception is 'Shr', where I'm
still undecided if I want to copy the info verbatim (easier to use), or
if I want to store the reference expecting the users to follow the chain
on his own.  packages.DU and filelists not yet handled.

16 years ago- use schema in repodata to make it extendible
Michael Schroeder [Mon, 10 Dec 2007 20:16:17 +0000 (20:16 +0000)]
- use schema in repodata to make it extendible

16 years agoinclude stdio
Michael Andres [Mon, 10 Dec 2007 15:09:01 +0000 (15:09 +0000)]
include stdio

16 years ago- add evrcmp mode parameter
Michael Schroeder [Mon, 10 Dec 2007 14:58:44 +0000 (14:58 +0000)]
- add evrcmp mode parameter

16 years agoPfeww. I'm tired, but now you can add refers from repo SOLV files to
Michael Matz [Sat, 8 Dec 2007 04:58:04 +0000 (04:58 +0000)]
Pfeww.  I'm tired, but now you can add refers from repo SOLV files to
attribute store files.  Good night.

(Like so:
% addstore bla.solv ding.attr dong.attr > bla2.solv
% dumpsolv bla2.solv
repo refers to 2 attribute stores:
ding.attr has 4 keys
  authors
  group
  keywords
  license
dong.attr has 4 keys
  authors
  keywords
  license
...
)

16 years agoI'm going to use the file info block real soon now and noticed that
Michael Matz [Sat, 8 Dec 2007 03:08:32 +0000 (03:08 +0000)]
I'm going to use the file info block real soon now and noticed that
doing it with the schema way brings only hassle for no good.  The info
is per file, hence probably the same scheme won't be reused by anything
else.  Hence going back to nearly the old way.  I do have use for a
counted type, in order to skip safely over unknown entries.  Old SOLV
files can be read when they don't have any file info.  None should
have.

16 years agoAlso activate paging for embedded attr stores.
Michael Matz [Sat, 8 Dec 2007 01:53:58 +0000 (01:53 +0000)]
Also activate paging for embedded attr stores.

16 years agoPull together attribute store and repo. dumpsolv actually now really
Michael Matz [Sat, 8 Dec 2007 01:24:52 +0000 (01:24 +0000)]
Pull together attribute store and repo.  dumpsolv actually now really
can also show the content of test.attr, yeah.

16 years agoLet's make it compile, shall we?
Michael Matz [Sat, 8 Dec 2007 00:27:17 +0000 (00:27 +0000)]
Let's make it compile, shall we?

16 years agoStart moving the attribute store into the library.
Michael Matz [Sat, 8 Dec 2007 00:20:21 +0000 (00:20 +0000)]
Start moving the attribute store into the library.

16 years agoA helper function for embedded attributes in SOLV files.
Michael Matz [Sat, 8 Dec 2007 00:13:26 +0000 (00:13 +0000)]
A helper function for embedded attributes in SOLV files.

16 years agoMake the attrstore types available generally.
Michael Matz [Fri, 7 Dec 2007 22:48:24 +0000 (22:48 +0000)]
Make the attrstore types available generally.

16 years agoFiddling with writing without fiddling with reading of course won't
Michael Matz [Fri, 7 Dec 2007 21:50:08 +0000 (21:50 +0000)]
Fiddling with writing without fiddling with reading of course won't
work. :-/

16 years agoWork around the schema problem for now without changing the SOLV format.
Michael Matz [Fri, 7 Dec 2007 21:43:39 +0000 (21:43 +0000)]
Work around the schema problem for now without changing the SOLV format.
The Repo writer doesn't account the the zero element at schemadata[0],
and starts counting schemas with 0, the attr store reserves schema ID 0
for the empty schema.  So the attr store explicitely needs to store that
too, otherwise the repo reader will be confused.

16 years agoAs I don't want to merge and map local strings, I need to write out
Michael Matz [Fri, 7 Dec 2007 21:21:25 +0000 (21:21 +0000)]
As I don't want to merge and map local strings, I need to write out
the "" too, to be compatible with the SOLV reading code.

16 years agoMake the attribute names part of the string pool, so we don't have to
Michael Matz [Fri, 7 Dec 2007 21:04:42 +0000 (21:04 +0000)]
Make the attribute names part of the string pool, so we don't have to
store them separately.  Now looks even more like a SOLV file.

16 years agoreverted concerning noupdateprovide
Stefan Schubert [Fri, 7 Dec 2007 10:28:56 +0000 (10:28 +0000)]
reverted concerning noupdateprovide

16 years agobugfix if whatprovides,... does not exist
Stefan Schubert [Fri, 7 Dec 2007 10:21:50 +0000 (10:21 +0000)]
bugfix if whatprovides,... does not exist

16 years agoNearly use the SOLV format for the attribute store. There's a
Michael Matz [Fri, 7 Dec 2007 02:01:08 +0000 (02:01 +0000)]
Nearly use the SOLV format for the attribute store.  There's a
off-by-one disagreement how to count the schemas, changing that would
require an version bump again, later.  The pages and the key names don't
yet fit into the normal SOLV file.

16 years agoadded some DEBIAN_SEMANTICS
Michael Schroeder [Thu, 6 Dec 2007 18:55:58 +0000 (18:55 +0000)]
added some DEBIAN_SEMANTICS

16 years agoadded logging, description
Stefan Schubert [Thu, 6 Dec 2007 15:39:32 +0000 (15:39 +0000)]
added logging, description

16 years ago- cleanup code a bit
Michael Schroeder [Thu, 6 Dec 2007 13:10:44 +0000 (13:10 +0000)]
- cleanup code a bit

16 years agoWhile trying to regenerate the testsuite I noticed that non-unique
Michael Matz [Thu, 6 Dec 2007 04:40:07 +0000 (04:40 +0000)]
While trying to regenerate the testsuite I noticed that non-unique
depsets happen, so handle them.

16 years agoprefix-code the string store, difference-code the dependency idarrays.
Michael Matz [Thu, 6 Dec 2007 03:03:29 +0000 (03:03 +0000)]
prefix-code the string store, difference-code the dependency idarrays.
V1 solv files still can be loaded.

16 years ago- switch to new solv format using schemata
Michael Schroeder [Tue, 4 Dec 2007 17:44:31 +0000 (17:44 +0000)]
- switch to new solv format using schemata
  please regenerate all solv files...
- split whatprovides array into whatprovides and whatprovides_rel so
  that we can add new ids while keeping the whatprovides information
- start to implement some search/lookup functions in repo.c
  needs quite a bit more love...

16 years agoupdate for libzypp integration
Stefan Schubert [Fri, 30 Nov 2007 15:02:15 +0000 (15:02 +0000)]
update for libzypp integration

16 years agoI hope that's ok to get the bindings going
Stephan Kulow [Fri, 30 Nov 2007 11:24:27 +0000 (11:24 +0000)]
I hope that's ok to get the bindings going

16 years agodo not regard recommends of installed items
Stefan Schubert [Thu, 29 Nov 2007 17:32:59 +0000 (17:32 +0000)]
do not regard recommends of installed items

16 years ago- prefer assertions to make coolo happy
Michael Schroeder [Thu, 29 Nov 2007 15:03:21 +0000 (15:03 +0000)]
- prefer assertions to make coolo happy

16 years agobugfix
Stefan Schubert [Thu, 29 Nov 2007 10:28:07 +0000 (10:28 +0000)]
bugfix

16 years ago- rename findproblemrule to solver_findproblemrule
Michael Schroeder [Thu, 29 Nov 2007 09:42:47 +0000 (09:42 +0000)]
- rename findproblemrule to solver_findproblemrule

16 years ago- make schubi's job much easier by providing nice helper functions
Michael Schroeder [Thu, 29 Nov 2007 09:32:47 +0000 (09:32 +0000)]
- make schubi's job much easier by providing nice helper functions
  that find and analyze a problem rule

16 years ago- changed debug mechanism a bit, it is now part of the pool
Michael Schroeder [Wed, 28 Nov 2007 16:56:00 +0000 (16:56 +0000)]
- changed debug mechanism a bit, it is now part of the pool

16 years ago- fix false friend
Michael Schroeder [Wed, 28 Nov 2007 13:48:06 +0000 (13:48 +0000)]
- fix false friend
- fix enum

16 years agofix typo
Klaus Kaempf [Wed, 28 Nov 2007 09:53:44 +0000 (09:53 +0000)]
fix typo

16 years agoadding a callback definition for logging
Stefan Schubert [Tue, 27 Nov 2007 09:53:27 +0000 (09:53 +0000)]
adding a callback definition for logging

16 years agoreplaced printf by a locking function
Stefan Schubert [Mon, 26 Nov 2007 16:36:01 +0000 (16:36 +0000)]
replaced printf by a locking function

16 years agoAdvancing to the next solvable needs to happen a posteriori. Without
Michael Matz [Sun, 25 Nov 2007 03:37:25 +0000 (03:37 +0000)]
Advancing to the next solvable needs to happen a posteriori.  Without
this we end up with the first solvable being <NULL>, and we miss the
last package.

16 years agoFix mergesolv for repos with holes.
Michael Matz [Sun, 25 Nov 2007 03:34:37 +0000 (03:34 +0000)]
Fix mergesolv for repos with holes.

16 years agoFix rpmdb2solv, reused solvables must retain their association with the
Michael Matz [Sun, 25 Nov 2007 00:57:09 +0000 (00:57 +0000)]
Fix rpmdb2solv, reused solvables must retain their association with the
repo.

17 years ago- add extra disableupdaterules call to fix core dump
Michael Schroeder [Thu, 22 Nov 2007 11:56:38 +0000 (11:56 +0000)]
- add extra disableupdaterules call to fix core dump
- fix disabling of conflicting job/system rules
- add printruleclass function
- add some experimental code

17 years agouse SATSOLVER_ prefix in include guards
Michael Andres [Wed, 21 Nov 2007 11:19:46 +0000 (11:19 +0000)]
use SATSOLVER_ prefix in include guards

17 years agoadded Makefile.cvs
Michael Andres [Tue, 20 Nov 2007 15:03:20 +0000 (15:03 +0000)]
added Makefile.cvs

17 years ago- add solvable2str function to make things easier and more flexible
Michael Schroeder [Mon, 19 Nov 2007 15:11:59 +0000 (15:11 +0000)]
- add solvable2str function to make things easier and more flexible

17 years ago- add FOR_REPO_SOLVABLES repo iterator macro
Michael Schroeder [Mon, 19 Nov 2007 10:33:09 +0000 (10:33 +0000)]
- add FOR_REPO_SOLVABLES repo iterator macro
- extend ruby bindings a bit

17 years ago- some more cleanup
Michael Schroeder [Sat, 17 Nov 2007 19:43:47 +0000 (19:43 +0000)]
- some more cleanup

17 years ago- add problem traversal abstraction functions for schubi
Michael Schroeder [Sat, 17 Nov 2007 19:18:20 +0000 (19:18 +0000)]
- add problem traversal abstraction functions for schubi

17 years ago- changed repo interface a bit, now alloc/free handle repo pointer and
Michael Schroeder [Sat, 17 Nov 2007 18:26:28 +0000 (18:26 +0000)]
- changed repo interface a bit, now alloc/free handle repo pointer and
  nsolvables
- fixed yps and deptestomatic to use new interface

17 years ago- move (disabled) into printrule
Michael Schroeder [Sat, 17 Nov 2007 17:33:23 +0000 (17:33 +0000)]
- move (disabled) into printrule
- add back deleted line to fix loop
- bring solver back into deterministic state after refining problems

17 years ago- log complete proof
Michael Schroeder [Fri, 16 Nov 2007 22:06:57 +0000 (22:06 +0000)]
- log complete proof

17 years ago- add solvable allocation functions
Michael Schroeder [Fri, 16 Nov 2007 20:11:07 +0000 (20:11 +0000)]
- add solvable allocation functions
- fix bug in rpmid handling

17 years ago- fix memory consumption issue
Michael Schroeder [Fri, 16 Nov 2007 17:33:32 +0000 (17:33 +0000)]
- fix memory consumption issue
- re-indent some schubi code

17 years ago- begone rc_output. and there was much rejoicing.
Michael Schroeder [Fri, 16 Nov 2007 17:25:06 +0000 (17:25 +0000)]
- begone rc_output. and there was much rejoicing.

17 years ago- as we now always keep the learnt rules we can clean up the code
Michael Schroeder [Fri, 16 Nov 2007 15:44:39 +0000 (15:44 +0000)]
- as we now always keep the learnt rules we can clean up the code
  a bit. this changes the layout of the problem queue again, sorry
  schubi
- put unsolvable proof on learnt_pool queue

17 years agoReduce C&P code by factoring out the uniquifying string pool.
Michael Matz [Fri, 16 Nov 2007 13:48:23 +0000 (13:48 +0000)]
Reduce C&P code by factoring out the uniquifying string pool.