Commit Graph

263 Commits

Author SHA1 Message Date
jbj d83891c743 Sync with 4.0.4, splint clean.
CVS patchset: 5309
CVS date: 2002/02/09 22:39:29
2002-02-09 22:39:29 +00:00
jbj d52d65e9f2 - legacy: configurable whiteout for known Red Hat dependency loops.
- perl.req: don't mis-generate dependencies like perl(::path/to/foo.pl).

CVS patchset: 5286
CVS date: 2002/01/30 22:19:56
2002-01-30 22:19:56 +00:00
jbj 3ef59667d3 Resync with db-4.0.14 (and what's on the rpm-4_0 branch).
CVS patchset: 5254
CVS date: 2002/01/17 20:11:42
2002-01-17 20:11:42 +00:00
jbj a6faa04f39 - Depends should use CDB if configured.
CVS patchset: 5241
CVS date: 2002/01/07 18:36:23
2002-01-07 18:36:23 +00:00
jbj 350d7592de - sparc: make dbenv per-rpmdb, not per-dbi.
CVS patchset: 5237
CVS date: 2002/01/06 02:23:33
2002-01-06 02:23:33 +00:00
jbj f345a8f37f Compute parent and no. of children for each package.
Use rpmsort to display equivalence tree using graphwiz.

CVS patchset: 5232
CVS date: 2002/01/05 03:23:42
2002-01-05 03:23:42 +00:00
jbj a6bf63789a Use rpmsort to display dependencies for dotty from graphviz.
Build rpmsort by default.

CVS patchset: 5231
CVS date: 2002/01/04 18:34:04
2002-01-04 18:34:04 +00:00
jbj e98018b4d8 - fix a couple dinky memory leaks.
- build with an internal zlib for now.

CVS patchset: 5207
CVS date: 2001/11/23 15:49:11
2001-11-23 15:49:11 +00:00
jbj ceed8357c7 - convert file md5sum's to binary on the fly, reducing memory footprint.
CVS patchset: 5192
CVS date: 2001/11/18 17:49:21
2001-11-18 17:49:21 +00:00
jbj 06522b9c1e 1st element in tsort candidate queue was not marked.
CVS patchset: 5191
CVS date: 2001/11/18 11:46:22
2001-11-18 11:46:22 +00:00
jbj aaaf5f8e31 - use TR_REMOVED relations as well as TR_ADDED for ordering.
- drop requirement that removed packages immediately follow added.
- hybrid chainsaw/presentation ordering algorithm.

CVS patchset: 5190
CVS date: 2001/11/17 20:44:16
2001-11-17 20:44:16 +00:00
jbj 945d5a740c - methods to complete making transactionElement opaque.
CVS patchset: 5189
CVS date: 2001/11/17 08:02:17
2001-11-17 08:02:17 +00:00
jbj 6a4d22da65 Continue making transactionElement opaque.
CVS patchset: 5188
CVS date: 2001/11/17 00:52:45
2001-11-17 00:52:45 +00:00
jbj c2b98f0e2c Move addTE/delTE to rpmte.c.
CVS patchset: 5187
CVS date: 2001/11/16 23:22:24
2001-11-16 23:22:24 +00:00
jbj 7d44f13395 - use array of pointers rather than contiguous array for ts->order.
CVS patchset: 5186
CVS date: 2001/11/16 22:42:19
2001-11-16 22:42:19 +00:00
jbj bf2a991c67 Create rpmte.[ch].
CVS patchset: 5185
CVS date: 2001/11/16 20:26:01
2001-11-16 20:26:01 +00:00
jbj 2bc3326438 - annotations to make a transactionElement opaque.
CVS patchset: 5184
CVS date: 2001/11/16 19:26:33
2001-11-16 19:26:33 +00:00
jbj eda96fd190 Eliminate dead code.
CVS patchset: 5183
CVS date: 2001/11/16 13:58:21
2001-11-16 13:58:21 +00:00
jbj 7f1fd8aabc - transaction.c: use wrappers/iterators to access TFI_t.
CVS patchset: 5182
CVS date: 2001/11/16 00:26:30
2001-11-16 00:26:30 +00:00
jbj f50fc15ba0 depends.c and rpmal.c have opaque TFI_t.
CVS patchset: 5180
CVS date: 2001/11/14 00:14:01
2001-11-14 00:14:01 +00:00
jbj b1c03797eb - split file info tag sets into rpmfi.c.
- create toy TFI_t iterators.

CVS patchset: 5179
CVS date: 2001/11/13 19:04:33
2001-11-13 19:04:33 +00:00
jbj 21a35690b3 - commit to using rpmDepSet and TFI_t, not header.
- lclint rpmio fiddles.

CVS patchset: 5177
CVS date: 2001/11/12 20:51:05
2001-11-12 20:51:05 +00:00
jbj 55ffccbdde - unify rpmFNSet into TFI_t.
- eliminate header reference in rpmtransAddPackage, use TFI_t data.

CVS patchset: 5176
CVS date: 2001/11/11 22:51:00
2001-11-11 22:51:00 +00:00
jbj 1eb0503123 Replace loadFi with fiNew, freeFi with fiFree.
CVS patchset: 5175
CVS date: 2001/11/11 20:45:20
2001-11-11 20:45:20 +00:00
jbj ac9f0fea03 - factor per-transactionElement data out of TFI_t through pointer ref.
CVS patchset: 5174
CVS date: 2001/11/11 16:17:57
2001-11-11 16:17:57 +00:00
jbj b97f1cf32b - common structure elements for unification of TFI_t and rpmFNSet.
CVS patchset: 5173
CVS date: 2001/11/11 12:47:08
2001-11-11 12:47:08 +00:00
jbj 2928a5b00d Discard ts->addedPackages at end of rpmdepOrder() for now.
CVS patchset: 5172
CVS date: 2001/11/11 03:15:47
2001-11-11 03:15:47 +00:00
jbj 7ea4943276 Iterate over TR_REMOVED transactionElement stripped data, don't hit rpmdb.
CVS patchset: 5171
CVS date: 2001/11/11 02:50:31
2001-11-11 02:50:31 +00:00
jbj 8d08d4a43b Rip headers out of addedPackages.
CVS patchset: 5170
CVS date: 2001/11/11 01:46:43
2001-11-11 01:46:43 +00:00
jbj 0abf36fd4d Rip alGetHeader() out of depends.c.
CVS patchset: 5169
CVS date: 2001/11/11 00:11:33
2001-11-11 00:11:33 +00:00
jbj a086ad7dd1 Start removing alGetHeader.
CVS patchset: 5168
CVS date: 2001/11/10 19:24:19
2001-11-10 19:24:19 +00:00
jbj 431499aeca - strip header tags for erased as well as installed transactionElements.
CVS patchset: 5167
CVS date: 2001/11/10 01:39:50
2001-11-10 01:39:50 +00:00
jbj eb1789dad7 - no-brainer refcounts for rpmDepSet and rpmFNSet objects.
CVS patchset: 5166
CVS date: 2001/11/09 23:13:50
2001-11-09 23:13:50 +00:00
jbj 56a319f1aa - header tag sets are per-transactionElement, not per-availablePackage.
CVS patchset: 5165
CVS date: 2001/11/09 20:41:18
2001-11-09 20:41:18 +00:00
jbj ac15c68ca5 - no-brainer refcounts for rpmProblemSet object.
CVS patchset: 5163
CVS date: 2001/11/09 17:22:08
2001-11-09 17:22:08 +00:00
jbj eb10f05b85 - rip out rpmDependencyConflict, replace with rpmProblem instead.
CVS patchset: 5162
CVS date: 2001/11/08 22:04:35
2001-11-08 22:04:35 +00:00
jbj ae2e9b1bad - linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.
- typedef the fuile name/python object "key" throughout as fnpyKey.
- start ripping rpmDependencyConflict out of the API.

CVS patchset: 5160
CVS date: 2001/11/08 00:12:49
2001-11-08 00:12:49 +00:00
jbj e680cce3e8 - fix: harmless typo in db3 chroot hack.
- fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- fix: add Korean message catalogs (#54473).
- add RPHNPLATFORM and PLATFORM tags.
- linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.

CVS patchset: 5159
CVS date: 2001/11/06 22:46:26
2001-11-06 22:46:26 +00:00
jbj 0724785fb3 Start merging file info into dependency set.
CVS patchset: 5157
CVS date: 2001/11/05 14:09:22
2001-11-05 14:09:22 +00:00
jbj a5a5eed7c4 Start deconstructing availablePackage list.
CVS patchset: 5156
CVS date: 2001/11/05 03:44:05
2001-11-05 03:44:05 +00:00
jbj 37a303a3a7 - rpmal: availablePackage is totally opaque, alKey with index replaces.
CVS patchset: 5155
CVS date: 2001/11/04 22:00:11
2001-11-04 22:00:11 +00:00
jbj bab3637c98 - rpmds: create dsProblem(), dsiGetDNEVR() retrieved DNEVR, not N.
- depends.h: hack around teIterator() et al from include for now.

CVS patchset: 5153
CVS date: 2001/11/04 15:43:26
2001-11-04 15:43:26 +00:00
jbj 358848088d - depends.c: rpmDepSet is (almost) opaque, move to rpmds.[ch].
CVS patchset: 5152
CVS date: 2001/11/03 02:34:15
2001-11-03 02:34:15 +00:00
jbj 95555cf3d4 - rpmRangesOverlap renamed to dsCompare, add dsNotify method as well.
CVS patchset: 5151
CVS date: 2001/11/02 23:17:54
2001-11-02 23:17:54 +00:00
jbj b9520f3a94 - create toy rpmDepSet iterators.
CVS patchset: 5150
CVS date: 2001/11/02 21:01:25
2001-11-02 21:01:25 +00:00
jbj 973638fdc2 - create rpmDepSet constructors/destructors.
CVS patchset: 5149
CVS date: 2001/11/02 05:36:48
2001-11-02 05:36:48 +00:00
jbj 86fee19060 - invent some toy transactionElement iterators.
CVS patchset: 5148
CVS date: 2001/11/02 03:13:35
2001-11-02 03:13:35 +00:00
jbj b0e16172c3 - depends.c: availablePackage is (almost) opaque.
CVS patchset: 5147
CVS date: 2001/11/01 23:18:15
2001-11-01 23:18:15 +00:00
jbj fe68f3c0cd - add header refcount annotations throughout.
CVS patchset: 5146
CVS date: 2001/11/01 20:15:10
2001-11-01 20:15:10 +00:00
jbj df89c3d200 Do tsort on transactionElement's, not availaiblePackage's.
CVS patchset: 5145
CVS date: 2001/10/31 22:19:42
2001-10-31 22:19:42 +00:00