platform/upstream/libsolv.git
16 years ago- fix mem leaks
Michael Schroeder [Mon, 3 Mar 2008 19:56:59 +0000 (19:56 +0000)]
- fix mem leaks
- do not close fd 0 by mistake
- add repodata_lookup_void
- add solvable_lookup_void
- add solvable_get_location

16 years ago- use correct variable (hopefully fixes #366548)
Michael Schroeder [Mon, 3 Mar 2008 17:29:13 +0000 (17:29 +0000)]
- use correct variable (hopefully fixes #366548)

16 years ago- need that zlib library
Michael Schroeder [Mon, 3 Mar 2008 17:12:05 +0000 (17:12 +0000)]
- need that zlib library

16 years ago- add '-d' option to susetags2solv, reads all packages files
Michael Schroeder [Mon, 3 Mar 2008 17:11:40 +0000 (17:11 +0000)]
- add '-d' option to susetags2solv, reads all packages files
- add '-b' option to susetags2solv and rpmdb2solv
- both options currently a bit experimental

16 years ago- fix bug in solv loading callback
Michael Schroeder [Mon, 3 Mar 2008 17:08:41 +0000 (17:08 +0000)]
- fix bug in solv loading callback
- add pool_set_languages and solvable_lookup_str_lang

16 years ago- new program
Michael Schroeder [Fri, 29 Feb 2008 22:02:51 +0000 (22:02 +0000)]
- new program

16 years ago- change solv format in an incompatible way, breaking compatibility
Michael Schroeder [Fri, 29 Feb 2008 22:01:20 +0000 (22:01 +0000)]
- change solv format in an incompatible way, breaking compatibility
  to all older versions. sorry.
  * new fastlz from Matz
  * maxsize/allsize data for faster reading
  * types are stored as Id to make extensions possible
  * new type CONSTANTID
  * new file repopack.h
  * kill unused vertical/packedsizes flags
- switch to pread for paging so that we don't have to mess with file
  offsets
- define more standard IDs
- add new solver_calc_installsizechange() function
- add repo_add_rpms() function
- change location storage method a bit, now VOID means ommited
  (adapt zypp code, please)
- re-added support for source rpm name to susetags parser

16 years ago- more build fixes for other distros
Duncan Mac-Vicar P [Tue, 26 Feb 2008 14:36:06 +0000 (14:36 +0000)]
- more build fixes for other distros

16 years ago- some fixes to get the stack built in other distributions
Duncan Mac-Vicar P [Mon, 25 Feb 2008 17:46:37 +0000 (17:46 +0000)]
- some fixes to get the stack built in other distributions

16 years agosubmit
Stephan Kulow [Mon, 25 Feb 2008 11:59:30 +0000 (11:59 +0000)]
submit

16 years ago- make it even more correct
Michael Schroeder [Mon, 25 Feb 2008 11:35:52 +0000 (11:35 +0000)]
- make it even more correct

16 years agoDump more attribute types.
Michael Matz [Sun, 24 Feb 2008 22:35:16 +0000 (22:35 +0000)]
Dump more attribute types.

16 years agoImplement iterating also over solvable data.
Michael Matz [Sun, 24 Feb 2008 22:32:56 +0000 (22:32 +0000)]
Implement iterating also over solvable data.

16 years agodon't free 3.2 T on update
Stephan Kulow [Sun, 24 Feb 2008 15:30:56 +0000 (15:30 +0000)]
don't free 3.2 T on update

16 years agoupdate
Stephan Kulow [Sun, 24 Feb 2008 15:21:31 +0000 (15:21 +0000)]
update

16 years agoexit if there is an error opening the old solv
Stephan Kulow [Sun, 24 Feb 2008 15:21:16 +0000 (15:21 +0000)]
exit if there is an error opening the old solv

16 years agointegrate the installsize in the @system, so that
Stephan Kulow [Sat, 23 Feb 2008 17:00:46 +0000 (17:00 +0000)]
integrate the installsize in the @system, so that
zypper won't claim I need additional 4GB to update
to Factory

16 years agoAn iterator interface to attributes. Supports the same things as the
Michael Matz [Sat, 23 Feb 2008 01:50:41 +0000 (01:50 +0000)]
An iterator interface to attributes.  Supports the same things as the
callback interface (one or all solvables, one or all attributes, with or
without matching), except the solvable data (to be implemented).
Also some inactive (but working) code in dumpsolv testing the iterator.

16 years agoPrototype of Code11 pattern handling
Klaus Kaempf [Fri, 22 Feb 2008 10:44:30 +0000 (10:44 +0000)]
Prototype of Code11 pattern handling

16 years agoto submit
Stephan Kulow [Fri, 22 Feb 2008 10:09:16 +0000 (10:09 +0000)]
to submit

16 years agomake it easier for me not to screw up the indenting
Stephan Kulow [Fri, 22 Feb 2008 10:08:27 +0000 (10:08 +0000)]
make it easier for me not to screw up the indenting

16 years agofinish root support
Stephan Kulow [Fri, 22 Feb 2008 10:07:53 +0000 (10:07 +0000)]
finish root support

16 years agosubmit
Stephan Kulow [Thu, 21 Feb 2008 17:15:03 +0000 (17:15 +0000)]
submit

16 years ago- do not grow whatprovides if it is not allocated
Stefan Schubert [Thu, 21 Feb 2008 16:10:43 +0000 (16:10 +0000)]
- do not grow whatprovides if it is not allocated

16 years agoIt's important that mediafile doesn't contain the directory part.
Michael Matz [Thu, 21 Feb 2008 15:24:25 +0000 (15:24 +0000)]
It's important that mediafile doesn't contain the directory part.

16 years agore-compute 's' pointer while iterating repo solvables in order to cope
Klaus Kaempf [Thu, 21 Feb 2008 12:47:41 +0000 (12:47 +0000)]
re-compute 's' pointer while iterating repo solvables in order to cope
with re-allocs happening inside the loop body.

16 years ago- fix file descriptor leak
Michael Schroeder [Wed, 20 Feb 2008 13:49:53 +0000 (13:49 +0000)]
- fix file descriptor leak

16 years ago- fix bugs in pool merging code
Michael Schroeder [Wed, 20 Feb 2008 13:42:25 +0000 (13:42 +0000)]
- fix bugs in pool merging code

16 years ago- fix memory leaks
Michael Schroeder [Wed, 20 Feb 2008 13:39:51 +0000 (13:39 +0000)]
- fix memory leaks

16 years agosubmit
Stephan Kulow [Wed, 20 Feb 2008 12:23:06 +0000 (12:23 +0000)]
submit

16 years ago- no longer needed
Michael Schroeder [Wed, 20 Feb 2008 10:51:48 +0000 (10:51 +0000)]
- no longer needed

16 years ago- link against rpmdb, not db43
Michael Schroeder [Wed, 20 Feb 2008 10:50:43 +0000 (10:50 +0000)]
- link against rpmdb, not db43

16 years agolet's complete that
Stephan Kulow [Tue, 19 Feb 2008 19:18:12 +0000 (19:18 +0000)]
let's complete that

16 years ago- fix memory leaks
Michael Schroeder [Tue, 19 Feb 2008 18:44:44 +0000 (18:44 +0000)]
- fix memory leaks
- block a bit more to speed things up a bit
- assert first string is '' again for local pools

16 years ago- currently, the dirpool code relies on the fact that ID 1 is
Michael Schroeder [Tue, 19 Feb 2008 18:42:41 +0000 (18:42 +0000)]
- currently, the dirpool code relies on the fact that ID 1 is
  an empty string. This led to wrong results if a repodata with
  own pool was used.
  for now, make ID1 always the empty string.
  in the future we'll probably just do away the the root node
  of the directory tree.

16 years ago- patch memory leaks
Michael Schroeder [Tue, 19 Feb 2008 18:16:09 +0000 (18:16 +0000)]
- patch memory leaks

16 years ago- remove numpacks support, it's not worth the trouble
Michael Schroeder [Tue, 19 Feb 2008 16:09:50 +0000 (16:09 +0000)]
- remove numpacks support, it's not worth the trouble
- add attributes to correct repodata block
- split authors section from description
- put file elements in filelist, not provides

16 years agosave patch timestamp, category, summary and description
Klaus Kaempf [Tue, 19 Feb 2008 14:09:14 +0000 (14:09 +0000)]
save patch timestamp, category, summary and description

16 years agofix requires
Stephan Kulow [Tue, 19 Feb 2008 14:03:37 +0000 (14:03 +0000)]
fix requires

16 years agono debug
Klaus Kaempf [Tue, 19 Feb 2008 12:25:18 +0000 (12:25 +0000)]
no debug

16 years agosave patch timestamp as attribute
Klaus Kaempf [Tue, 19 Feb 2008 12:08:12 +0000 (12:08 +0000)]
save patch timestamp as attribute

16 years agosignal broken factory repo
Stephan Kulow [Tue, 19 Feb 2008 11:55:53 +0000 (11:55 +0000)]
signal broken factory repo

16 years agotesting
Stephan Kulow [Tue, 19 Feb 2008 07:09:46 +0000 (07:09 +0000)]
testing

16 years ago- bring duchange code to life
Michael Schroeder [Mon, 18 Feb 2008 21:41:21 +0000 (21:41 +0000)]
- bring duchange code to life

16 years ago- free repodata memory
Michael Schroeder [Mon, 18 Feb 2008 21:40:07 +0000 (21:40 +0000)]
- free repodata memory

16 years ago- make rpmdb record summary, description, buildtime, group, dustats
Michael Schroeder [Mon, 18 Feb 2008 20:03:10 +0000 (20:03 +0000)]
- make rpmdb record summary, description, buildtime, group, dustats
- make rpmdb record the filelist (currently just in parts)
- make filelist a vertical

16 years ago- use SEARCH_NO_STORAGE_SOLVABLE instead of duplication code
Michael Schroeder [Mon, 18 Feb 2008 18:11:40 +0000 (18:11 +0000)]
- use SEARCH_NO_STORAGE_SOLVABLE instead of duplication code
- print rpmdbid, too

16 years ago- write the correct marker
Michael Schroeder [Mon, 18 Feb 2008 17:59:18 +0000 (17:59 +0000)]
- write the correct marker

16 years ago- strip trailing slashes from splitprovides so that file provides will
Michael Schroeder [Mon, 18 Feb 2008 17:57:59 +0000 (17:57 +0000)]
- strip trailing slashes from splitprovides so that file provides will
  match
- use solvables:filemarker instead of solvable:prereqmarker for provides
- split of read_rel_idarray to simplify things

16 years ago- allow complex deps in INSTALL/ERASE_NAME jobs
Michael Schroeder [Mon, 18 Feb 2008 15:28:54 +0000 (15:28 +0000)]
- allow complex deps in INSTALL/ERASE_NAME jobs

16 years agocomments added
Klaus Kaempf [Mon, 18 Feb 2008 15:18:45 +0000 (15:18 +0000)]
comments added

16 years agopass column number to error message
Klaus Kaempf [Mon, 18 Feb 2008 15:17:20 +0000 (15:17 +0000)]
pass column number to error message

16 years agoreturn error, if *2solv helpers do
Michael Andres [Mon, 18 Feb 2008 11:19:08 +0000 (11:19 +0000)]
return error, if *2solv helpers do

16 years agoadd column to error output
Klaus Kaempf [Mon, 18 Feb 2008 09:44:34 +0000 (09:44 +0000)]
add column to error output

16 years agoCompress a bit better and faster.
Michael Matz [Sun, 17 Feb 2008 18:08:02 +0000 (18:08 +0000)]
Compress a bit better and faster.

16 years agosomehow the -Wall got lost in the debug build - fix
Stephan Kulow [Sat, 16 Feb 2008 08:24:51 +0000 (08:24 +0000)]
somehow the -Wall got lost in the debug build - fix
build for release mode

16 years ago- add static noise
Michael Schroeder [Fri, 15 Feb 2008 19:01:09 +0000 (19:01 +0000)]
- add static noise
- add id_filelist
- dump DIRSTRARRAY type

16 years ago- really support DIRSTRARRAY type
Michael Schroeder [Fri, 15 Feb 2008 18:58:59 +0000 (18:58 +0000)]
- really support DIRSTRARRAY type
- make pool_addfileprovides do something useful

16 years agoAlso split sequence_info of deltarpms.
Michael Matz [Fri, 15 Feb 2008 17:51:05 +0000 (17:51 +0000)]
Also split sequence_info of deltarpms.

16 years agofind out who's who on parse error
Klaus Kaempf [Fri, 15 Feb 2008 16:47:56 +0000 (16:47 +0000)]
find out who's who on parse error

16 years agoArgh, can't code Bash properly
Klaus Kaempf [Fri, 15 Feb 2008 16:41:45 +0000 (16:41 +0000)]
Argh, can't code Bash properly

16 years agoadd help to rpmmd2solv and patchxml2solv
Klaus Kaempf [Fri, 15 Feb 2008 16:31:01 +0000 (16:31 +0000)]
add help to rpmmd2solv and patchxml2solv

prepare all tools and scripts for command line switches

16 years agodrop "-a" from help
Klaus Kaempf [Fri, 15 Feb 2008 16:13:52 +0000 (16:13 +0000)]
drop "-a" from help

16 years agofix build
Stephan Kulow [Fri, 15 Feb 2008 16:12:56 +0000 (16:12 +0000)]
fix build

16 years agosupport splitting of cross-kind dependencies for patterns
Klaus Kaempf [Fri, 15 Feb 2008 16:07:21 +0000 (16:07 +0000)]
support splitting of cross-kind dependencies for patterns
(experimental, disabled by default)

This prepares for handling all the 'kind' stuff in the application
layer. Parsing repos and creating .solv files _is_ part of the
application layer.

16 years ago- add pool_search() function to search the pool
Michael Schroeder [Fri, 15 Feb 2008 15:41:00 +0000 (15:41 +0000)]
- add pool_search() function to search the pool

16 years agoSome more code for the patch and delta rpms.
Michael Matz [Fri, 15 Feb 2008 14:12:07 +0000 (14:12 +0000)]
Some more code for the patch and delta rpms.

16 years agoWrite out pattern visibility.
Michael Matz [Fri, 15 Feb 2008 13:39:43 +0000 (13:39 +0000)]
Write out pattern visibility.

16 years agoRead version 6 files, but don't expose to outside.
Michael Matz [Fri, 15 Feb 2008 12:48:39 +0000 (12:48 +0000)]
Read version 6 files, but don't expose to outside.

16 years agoUnbreak things.
Michael Matz [Fri, 15 Feb 2008 12:45:13 +0000 (12:45 +0000)]
Unbreak things.

16 years agoremove 'kind' handling ( will re-appear in applayer ;-) )
Klaus Kaempf [Fri, 15 Feb 2008 12:27:56 +0000 (12:27 +0000)]
remove 'kind' handling ( will re-appear in applayer ;-) )

16 years agonew version - about time
Stephan Kulow [Fri, 15 Feb 2008 10:04:00 +0000 (10:04 +0000)]
new version - about time

16 years agosusetags2solv always constructs attributes now, by default into the main
Michael Matz [Fri, 15 Feb 2008 09:58:43 +0000 (09:58 +0000)]
susetags2solv always constructs attributes now, by default into the main
SOLV file.

16 years agoSome unfinished test code for deltarpm and patchrpm data.
Michael Matz [Thu, 14 Feb 2008 17:00:06 +0000 (17:00 +0000)]
Some unfinished test code for deltarpm and patchrpm data.

16 years agoadd a generic attribute lookup function 'repo_lookup'
Klaus Kaempf [Thu, 14 Feb 2008 16:09:57 +0000 (16:09 +0000)]
add a generic attribute lookup function 'repo_lookup'

16 years agoCleanup a bit.
Michael Matz [Thu, 14 Feb 2008 14:56:16 +0000 (14:56 +0000)]
Cleanup a bit.

16 years agocomments
Klaus Kaempf [Thu, 14 Feb 2008 14:14:39 +0000 (14:14 +0000)]
comments

16 years agomore comments
Klaus Kaempf [Thu, 14 Feb 2008 14:00:31 +0000 (14:00 +0000)]
more comments

16 years agofix comment
Klaus Kaempf [Thu, 14 Feb 2008 13:54:02 +0000 (13:54 +0000)]
fix comment

16 years agoTYPE_xxx should be enum, no ?
Klaus Kaempf [Thu, 14 Feb 2008 13:34:26 +0000 (13:34 +0000)]
TYPE_xxx should be enum, no ?

16 years agofix and document parameters of Repokey
Klaus Kaempf [Thu, 14 Feb 2008 13:34:06 +0000 (13:34 +0000)]
fix and document parameters of Repokey

16 years agomake reading attributes optional,
Klaus Kaempf [Thu, 14 Feb 2008 12:26:59 +0000 (12:26 +0000)]
make reading attributes optional,
use embedded attrname not an artificial one

16 years agoadd "-h" for help
Klaus Kaempf [Thu, 14 Feb 2008 12:26:29 +0000 (12:26 +0000)]
add "-h" for help

16 years agomore flexibility in naming attribute files,
Klaus Kaempf [Thu, 14 Feb 2008 11:58:19 +0000 (11:58 +0000)]
more flexibility in naming attribute files,
one can even have multiple ones in a single directory now ;-)

16 years agoadd "-h" for help
Klaus Kaempf [Wed, 13 Feb 2008 14:32:06 +0000 (14:32 +0000)]
add "-h" for help

16 years agoupdate to version 0.0.14
Klaus Kaempf [Wed, 13 Feb 2008 11:36:22 +0000 (11:36 +0000)]
update to version 0.0.14

now that stuff is building

16 years agointroduce libappsatsolver
Klaus Kaempf [Tue, 12 Feb 2008 17:30:38 +0000 (17:30 +0000)]
introduce libappsatsolver

16 years agoIntroduce 'application layer' below sat-solver/applayer.
Klaus Kaempf [Tue, 12 Feb 2008 17:28:00 +0000 (17:28 +0000)]
Introduce 'application layer' below sat-solver/applayer.

Primarily for the SWIG bindings, this layer makes using sat-solver a
bit easier by abstracting from sat-solver internals to more
application specific objects.

16 years agoadapt to reality
Klaus Kaempf [Tue, 12 Feb 2008 17:21:15 +0000 (17:21 +0000)]
adapt to reality

16 years agosubmit
Stephan Kulow [Tue, 12 Feb 2008 16:14:02 +0000 (16:14 +0000)]
submit

16 years agoadded requirement for libexpat-devel; neede by the tools
Stefan Schubert [Tue, 12 Feb 2008 15:21:02 +0000 (15:21 +0000)]
added requirement for libexpat-devel; neede by the tools

16 years agoIntroduce pool->considered. A map to select a subset of solvables for
Michael Matz [Tue, 12 Feb 2008 10:17:08 +0000 (10:17 +0000)]
Introduce pool->considered.  A map to select a subset of solvables for
solving.  As with whatprovides this currently lives in the pool and
somewhen should probably be moved with it into Solver.

16 years ago- Moving helix parser to the API
Stefan Schubert [Tue, 12 Feb 2008 09:42:06 +0000 (09:42 +0000)]
- Moving helix parser to the API
- deptestomatic: Using helix-file for fallback if the solv-file does not
  exist.

16 years agoMake susetags2solv directly read content files, so that we can use its
Michael Matz [Mon, 11 Feb 2008 15:59:27 +0000 (15:59 +0000)]
Make susetags2solv directly read content files, so that we can use its
vendor for the solvables from the packages file.  So content2solv isn't
necessary, remove it and its call in repo2solv.sh.

16 years agoMore subtle errors in (up to now) untested code paths, this time dealing
Michael Matz [Mon, 11 Feb 2008 10:40:58 +0000 (10:40 +0000)]
More subtle errors in (up to now) untested code paths, this time dealing
with loading multiple SOLV files with attributes into one repo.

16 years agonew version
Stephan Kulow [Mon, 11 Feb 2008 09:28:45 +0000 (09:28 +0000)]
new version

16 years agoget rid of -O3 in debug builds
Stephan Kulow [Mon, 11 Feb 2008 09:25:14 +0000 (09:25 +0000)]
get rid of -O3 in debug builds

16 years agoAlways initialize outgoing vars (probable cause for zypper crash).
Michael Matz [Mon, 11 Feb 2008 09:15:44 +0000 (09:15 +0000)]
Always initialize outgoing vars (probable cause for zypper crash).

16 years agoFactor out the filter code in preparation for nicely configuring where
Michael Matz [Mon, 11 Feb 2008 02:38:58 +0000 (02:38 +0000)]
Factor out the filter code in preparation for nicely configuring where
to write which attributes.

16 years agoWhoops, description and summary are not supposed to be pool strings.
Michael Matz [Mon, 11 Feb 2008 02:10:14 +0000 (02:10 +0000)]
Whoops, description and summary are not supposed to be pool strings.