platform/upstream/libsolv.git
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

16 years agogenerate architecture dependencies for the patch->package 'conflicts'
Klaus Kaempf [Mon, 7 Apr 2008 16:33:04 +0000 (16:33 +0000)]
generate architecture dependencies for the patch->package 'conflicts'
relation.

16 years agouse 'repodata_set_void()' for boolean attributes
Klaus Kaempf [Mon, 7 Apr 2008 14:25:28 +0000 (14:25 +0000)]
use 'repodata_set_void()' for boolean attributes

16 years agodrop UPDATE_SEVERITY, use SOLVABLE_PATCHCATEGORY instead
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

16 years agoparse <package-manager/> to 'update:restart' attribute
Klaus Kaempf [Mon, 7 Apr 2008 14:11:23 +0000 (14:11 +0000)]
parse <package-manager/> to 'update:restart' attribute

16 years agoparse <reboot-needed/> to 'update:reboot' attribute
Klaus Kaempf [Mon, 7 Apr 2008 14:08:42 +0000 (14:08 +0000)]
parse <reboot-needed/> to 'update:reboot' attribute

16 years agomake patches 'noarch'
Klaus Kaempf [Mon, 7 Apr 2008 14:00:19 +0000 (14:00 +0000)]
make patches 'noarch'

16 years agosupport <restart_suggested>
Klaus Kaempf [Mon, 7 Apr 2008 13:39:44 +0000 (13:39 +0000)]
support <restart_suggested>

16 years agofix include
Klaus Kaempf [Mon, 7 Apr 2008 13:37:41 +0000 (13:37 +0000)]
fix include

16 years agoremove standard stuff
Stephan Kulow [Mon, 7 Apr 2008 08:26:10 +0000 (08:26 +0000)]
remove standard stuff

16 years ago- print also global solvable id
Jan Kupec [Sun, 6 Apr 2008 22:02:29 +0000 (22:02 +0000)]
- print also global solvable id

16 years agoalways package deptestomatic
Stephan Kulow [Sat, 5 Apr 2008 08:14:45 +0000 (08:14 +0000)]
always package deptestomatic

16 years agomore of these init variables
Stephan Kulow [Sat, 5 Apr 2008 08:08:01 +0000 (08:08 +0000)]
more of these init variables

16 years agotrying to fix compilation
Stephan Kulow [Sat, 5 Apr 2008 07:58:31 +0000 (07:58 +0000)]
trying to fix compilation

16 years agoI guess this was intended
Stephan Kulow [Sat, 5 Apr 2008 07:49:45 +0000 (07:49 +0000)]
I guess this was intended

16 years ago- fix bug
Michael Schroeder [Fri, 4 Apr 2008 20:37:25 +0000 (20:37 +0000)]
- fix bug

16 years ago- add solvable_trivial_installable
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)

16 years ago- support REL_ARCH
Michael Schroeder [Fri, 4 Apr 2008 19:43:12 +0000 (19:43 +0000)]
- support REL_ARCH

16 years agonew ids for patches
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

16 years agoParses updateinfo.xml now and creates .solv file like this:
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

16 years agogive me a tool to create package lists
Stephan Kulow [Fri, 4 Apr 2008 13:46:28 +0000 (13:46 +0000)]
give me a tool to create package lists

16 years ago- do unconflicting in a more elegant and not so damaging way
Michael Schroeder [Fri, 4 Apr 2008 12:49:04 +0000 (12:49 +0000)]
- do unconflicting in a more elegant and not so damaging way

16 years agobackup: doesn't crash anymore
Klaus Kaempf [Fri, 4 Apr 2008 11:39:40 +0000 (11:39 +0000)]
backup: doesn't crash anymore

16 years ago- fix core dump, sorry
Michael Schroeder [Fri, 4 Apr 2008 10:09:22 +0000 (10:09 +0000)]
- fix core dump, sorry

16 years agoadded attributes to the helix-format
Stefan Schubert [Fri, 4 Apr 2008 07:52:41 +0000 (07:52 +0000)]
added attributes to the helix-format

16 years agoSupport loading/dumping multiple repos, and some testcode for the new
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.

16 years agoDataiterator can walk over multiple repos now (SEARCH_ALL_REPOS flag).
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.

16 years ago- fix memory leak
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)

16 years agoFix a segfault for existing but empty attribute lists.
Michael Matz [Thu, 3 Apr 2008 16:20:36 +0000 (16:20 +0000)]
Fix a segfault for existing but empty attribute lists.

16 years agoWorking but for now inactive code to support non-solvables (things which
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.

16 years agolet's kusch
Stephan Kulow [Tue, 1 Apr 2008 21:04:43 +0000 (21:04 +0000)]
let's kusch

16 years agoadding changes
Stephan Kulow [Mon, 31 Mar 2008 14:25:41 +0000 (14:25 +0000)]
adding changes

16 years agoincrease it again
Stephan Kulow [Mon, 31 Mar 2008 14:22:23 +0000 (14:22 +0000)]
increase it again

16 years agomissing solvable_lookup_bool implementation
Michael Andres [Mon, 31 Mar 2008 12:31:23 +0000 (12:31 +0000)]
missing solvable_lookup_bool implementation

16 years agoLet's be more forgiving and fix compilation without removing the
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.

16 years agoDoesn't build -> revert.
Michael Matz [Fri, 28 Mar 2008 18:00:31 +0000 (18:00 +0000)]
Doesn't build -> revert.

16 years agobackup
Duncan Mac-Vicar P [Fri, 28 Mar 2008 17:46:16 +0000 (17:46 +0000)]
backup

16 years ago- truly restart when analyze_unsolvable is hit (fixes #368209)
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

16 years ago- make it work with really large directories
Michael Schroeder [Tue, 25 Mar 2008 11:25:43 +0000 (11:25 +0000)]
- make it work with really large directories

16 years agoadding changelog
Stephan Kulow [Mon, 24 Mar 2008 14:31:39 +0000 (14:31 +0000)]
adding changelog

16 years agosupport plaindir repos (at least some)
Stephan Kulow [Mon, 24 Mar 2008 13:25:11 +0000 (13:25 +0000)]
support plaindir repos (at least some)

16 years agoinstall
Stephan Kulow [Mon, 24 Mar 2008 13:18:34 +0000 (13:18 +0000)]
install

16 years ago- also set installtime, downloadsize and license
Michael Schroeder [Fri, 21 Mar 2008 16:14:06 +0000 (16:14 +0000)]
- also set installtime, downloadsize and license

16 years ago- add lookup_id function
Michael Schroeder [Thu, 20 Mar 2008 16:59:17 +0000 (16:59 +0000)]
- add lookup_id function

16 years ago- rename str_lang to str_poollang
Michael Schroeder [Thu, 20 Mar 2008 16:04:26 +0000 (16:04 +0000)]
- rename str_lang to str_poollang
- add str_lang lookup

16 years ago- prepend "pattern:" to Extends/Include
Michael Schroeder [Thu, 20 Mar 2008 16:03:46 +0000 (16:03 +0000)]
- prepend "pattern:" to Extends/Include

16 years ago- init checksum type to zero (just in case)
Michael Schroeder [Thu, 20 Mar 2008 14:57:21 +0000 (14:57 +0000)]
- init checksum type to zero (just in case)

16 years ago- add checksum lookup functions
Michael Schroeder [Thu, 20 Mar 2008 14:55:46 +0000 (14:55 +0000)]
- add checksum lookup functions

16 years ago- also dump sha256
Michael Schroeder [Thu, 20 Mar 2008 14:54:58 +0000 (14:54 +0000)]
- also dump sha256

16 years ago- clean up a bit
Michael Schroeder [Thu, 20 Mar 2008 13:53:19 +0000 (13:53 +0000)]
- clean up a bit

16 years ago- clean up a bit
Michael Schroeder [Thu, 20 Mar 2008 13:43:57 +0000 (13:43 +0000)]
- clean up a bit

16 years ago- add some more signature ids
Michael Schroeder [Thu, 20 Mar 2008 13:27:36 +0000 (13:27 +0000)]
- add some more signature ids

16 years ago- also support sha256
Michael Schroeder [Thu, 20 Mar 2008 11:44:04 +0000 (11:44 +0000)]
- also support sha256
- beautify a bit

16 years agoTrigger cruisecontrol.
Michael Matz [Thu, 20 Mar 2008 03:00:08 +0000 (03:00 +0000)]
Trigger cruisecontrol.

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