platform/upstream/libsolv.git
16 years agoSupport new types for MD5 and SHA1 checksums (stored in binary, but with
Michael Matz [Wed, 19 Mar 2008 22:28:06 +0000 (22:28 +0000)]
Support new types for MD5 and SHA1 checksums (stored in binary, but with
support functions to deal with them being strings).  Generate them from the
susetags parser for the =Cks tags.

16 years ago- beautify add_array code
Michael Schroeder [Wed, 19 Mar 2008 21:19:34 +0000 (21:19 +0000)]
- beautify add_array code
- fix bugs and a memory leak in addfileprovides

16 years ago- fix memory leak
Michael Schroeder [Wed, 19 Mar 2008 21:18:11 +0000 (21:18 +0000)]
- fix memory leak
- fix stupid typo

16 years agoStore pattern order, includes, extends, category and icon as attributes.
Michael Matz [Wed, 19 Mar 2008 19:06:29 +0000 (19:06 +0000)]
Store pattern order, includes, extends, category and icon as attributes.
Change keywords to use an IDARRAY (not only one ID).

16 years agoAdd functions to create IDARRAY attributes.
Michael Matz [Wed, 19 Mar 2008 19:03:44 +0000 (19:03 +0000)]
Add functions to create IDARRAY attributes.

16 years ago- only add info block if there are file provides
Michael Schroeder [Wed, 19 Mar 2008 18:56:02 +0000 (18:56 +0000)]
- only add info block if there are file provides

16 years ago- shut up g++
Michael Schroeder [Wed, 19 Mar 2008 18:40:30 +0000 (18:40 +0000)]
- shut up g++

16 years ago- write addedprovides as rel_idarray to save some bytes
Michael Schroeder [Wed, 19 Mar 2008 18:39:16 +0000 (18:39 +0000)]
- write addedprovides as rel_idarray to save some bytes

16 years ago- write info block containing addedprovides
Michael Schroeder [Wed, 19 Mar 2008 18:22:35 +0000 (18:22 +0000)]
- write info block containing addedprovides
- do not load filelist in addfileproviders if the provides
  are already there
- fix some mem leaks

16 years agosome more known ids for patterns
Michael Andres [Wed, 19 Mar 2008 13:37:17 +0000 (13:37 +0000)]
some more known ids for patterns

16 years ago- move known id definitions to one file, lets see if g++ likes it
Michael Schroeder [Tue, 18 Mar 2008 19:18:26 +0000 (19:18 +0000)]
- move known id definitions to one file, lets see if g++ likes it

16 years agochangelog
Stephan Kulow [Mon, 17 Mar 2008 15:11:03 +0000 (15:11 +0000)]
changelog

16 years agoInitialize all allocated array members for blocky arrays (when it
Michael Matz [Mon, 17 Mar 2008 15:04:03 +0000 (15:04 +0000)]
Initialize all allocated array members for blocky arrays (when it
matters, e.g. when extending also in blocks).

16 years ago- fixed ugly bug that made repo_write drop the first attribute of the
Michael Schroeder [Fri, 14 Mar 2008 23:20:30 +0000 (23:20 +0000)]
- fixed ugly bug that made repo_write drop the first attribute of the
  first vertical
- added sorting to repo_rpmdb to speed it up a bit and make the result
  more stable

16 years ago- move change calculation into pool
Michael Schroeder [Fri, 14 Mar 2008 15:03:10 +0000 (15:03 +0000)]
- move change calculation into pool

16 years ago- do away with printdir
Michael Schroeder [Fri, 14 Mar 2008 10:08:13 +0000 (10:08 +0000)]
- do away with printdir

16 years ago- add repodata_dir2str function
Michael Schroeder [Fri, 14 Mar 2008 10:04:18 +0000 (10:04 +0000)]
- add repodata_dir2str function

16 years agoautobuild submission
Stephan Kulow [Fri, 14 Mar 2008 07:38:18 +0000 (07:38 +0000)]
autobuild submission

16 years ago"gzip: command not found" in my live cd chroot
Stephan Kulow [Fri, 14 Mar 2008 06:26:27 +0000 (06:26 +0000)]
"gzip: command not found" in my live cd chroot

16 years agobuild the perl package
Duncan Mac-Vicar P [Thu, 13 Mar 2008 12:56:57 +0000 (12:56 +0000)]
build the perl package

16 years agofix finding perl
Duncan Mac-Vicar P [Thu, 13 Mar 2008 12:56:56 +0000 (12:56 +0000)]
fix finding perl

16 years agomore fedora fixes
Duncan Mac-Vicar P [Thu, 13 Mar 2008 12:56:51 +0000 (12:56 +0000)]
more fedora fixes

16 years agocompile on other distros
Duncan Mac-Vicar P [Thu, 13 Mar 2008 12:56:39 +0000 (12:56 +0000)]
compile on other distros

16 years agotesting package
Stephan Kulow [Wed, 12 Mar 2008 10:46:03 +0000 (10:46 +0000)]
testing package

16 years agoTrigger build in CruiseControl.
Michael Matz [Wed, 12 Mar 2008 00:32:40 +0000 (00:32 +0000)]
Trigger build in CruiseControl.

16 years ago- Fix off by one (*blush*)
Michael Schroeder [Tue, 11 Mar 2008 11:19:25 +0000 (11:19 +0000)]
- Fix off by one (*blush*)

16 years ago- delete wrong comment. the learnt rule cannot be added twice
Michael Schroeder [Tue, 11 Mar 2008 10:45:41 +0000 (10:45 +0000)]
- delete wrong comment. the learnt rule cannot be added twice
  as it conflicts with the current decision. So it is correct
  to just disable it.

16 years ago- fix learnt rule assertion in a different way
Michael Schroeder [Mon, 10 Mar 2008 18:44:25 +0000 (18:44 +0000)]
- fix learnt rule assertion in a different way
- also fixes problem suggestion

16 years agoStore the susetags datadir as an attribute to the product solvable
Michael Matz [Mon, 10 Mar 2008 15:01:05 +0000 (15:01 +0000)]
Store the susetags datadir as an attribute to the product solvable
(key "susetags:datadir").

16 years agoMake rpmdb2solv reasonably fast again.
Michael Matz [Fri, 7 Mar 2008 19:19:46 +0000 (19:19 +0000)]
Make rpmdb2solv reasonably fast again.

16 years ago- add recommendations queue so that it can be displayed in the UI
Michael Schroeder [Fri, 7 Mar 2008 17:56:44 +0000 (17:56 +0000)]
- add recommendations queue so that it can be displayed in the UI
  (next step: alternatives)
- add dontinstallrecommends master switch
- prefer requires of installed packages when showing a problem

16 years ago- handle the poolusage=3, dirpoolusage=2 case a bit better
Michael Schroeder [Fri, 7 Mar 2008 14:31:43 +0000 (14:31 +0000)]
- handle the poolusage=3, dirpoolusage=2 case a bit better

16 years ago- make it parse patterns (a bit of a hack, though)
Michael Schroeder [Fri, 7 Mar 2008 12:05:34 +0000 (12:05 +0000)]
- make it parse patterns (a bit of a hack, though)

16 years agoautobuild submission
Stephan Kulow [Fri, 7 Mar 2008 09:50:34 +0000 (09:50 +0000)]
autobuild submission

16 years ago- add localpool parameter
Michael Schroeder [Thu, 6 Mar 2008 19:12:47 +0000 (19:12 +0000)]
- add localpool parameter
- fix localpool handling in repo_write

16 years ago- beautify a bit
Michael Schroeder [Thu, 6 Mar 2008 19:10:24 +0000 (19:10 +0000)]
- beautify a bit
- more overflow checks in repo_solv
- add localpool parameter

16 years agoMan! Very embarassing for a compiler developer :-/
Michael Matz [Thu, 6 Mar 2008 17:03:49 +0000 (17:03 +0000)]
Man!  Very embarassing for a compiler developer :-/

16 years agolayout
Stefan Schubert [Thu, 6 Mar 2008 12:27:24 +0000 (12:27 +0000)]
layout

16 years ago- use dep2str for erase name to make debugging easier
Michael Schroeder [Thu, 6 Mar 2008 09:30:14 +0000 (09:30 +0000)]
- use dep2str for erase name to make debugging easier

16 years ago- do not try to open DB_CONFIG in current directory (I love berkeleydb...)
Michael Schroeder [Wed, 5 Mar 2008 20:18:29 +0000 (20:18 +0000)]
- do not try to open DB_CONFIG in current directory (I love berkeleydb...)
- slow down "rpmdb2solv ref" considerably by implementing attribute copying

16 years ago- replace exit() with return, oops
Michael Schroeder [Wed, 5 Mar 2008 18:08:16 +0000 (18:08 +0000)]
- replace exit() with return, oops
- ignore hardlinked file in DU stats
- print more statistics in dumpsolv

16 years ago- add HEADEREND
Michael Schroeder [Wed, 5 Mar 2008 15:15:58 +0000 (15:15 +0000)]
- add HEADEREND
- reindent

16 years ago- support -b option
Michael Schroeder [Wed, 5 Mar 2008 15:10:09 +0000 (15:10 +0000)]
- support -b option
- support headerend

16 years ago- support header-range and sourcerpm in repo_rpmmd
Michael Schroeder [Wed, 5 Mar 2008 14:04:27 +0000 (14:04 +0000)]
- support header-range and sourcerpm in repo_rpmmd
- support -b and -d in rpmmd2solv

16 years ago- create sourcerpm data
Michael Schroeder [Wed, 5 Mar 2008 12:01:30 +0000 (12:01 +0000)]
- create sourcerpm data

16 years ago- add namespace:filesystem support to fix_legacy
Michael Schroeder [Tue, 4 Mar 2008 18:18:34 +0000 (18:18 +0000)]
- add namespace:filesystem support to fix_legacy

16 years ago- fix attribute merge when there's nothing to merge
Michael Schroeder [Tue, 4 Mar 2008 18:12:32 +0000 (18:12 +0000)]
- fix attribute merge when there's nothing to merge

16 years ago- fix susetags2solv -b bugs
Michael Schroeder [Tue, 4 Mar 2008 18:12:08 +0000 (18:12 +0000)]
- fix susetags2solv -b bugs
- do not hardcode dir 1

16 years ago- clean up tmp space management
Michael Schroeder [Tue, 4 Mar 2008 17:52:55 +0000 (17:52 +0000)]
- clean up tmp space management
- return location in tmp space
- move solvable2str into solvable.c

16 years ago- add void entry for mediadir
Michael Schroeder [Mon, 3 Mar 2008 21:02:39 +0000 (21:02 +0000)]
- add void entry for mediadir

16 years ago- support not-seekable files again
Michael Schroeder [Mon, 3 Mar 2008 20:57:12 +0000 (20:57 +0000)]
- support not-seekable files again

16 years ago- do not use i twice (fixes #366548)
Michael Schroeder [Mon, 3 Mar 2008 20:14:12 +0000 (20:14 +0000)]
- do not use i twice (fixes #366548)

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