Michael Schroeder [Wed, 20 Feb 2008 13:39:51 +0000 (13:39 +0000)]
- fix memory leaks
Stephan Kulow [Wed, 20 Feb 2008 12:23:06 +0000 (12:23 +0000)]
submit
Michael Schroeder [Wed, 20 Feb 2008 10:51:48 +0000 (10:51 +0000)]
- no longer needed
Michael Schroeder [Wed, 20 Feb 2008 10:50:43 +0000 (10:50 +0000)]
- link against rpmdb, not db43
Stephan Kulow [Tue, 19 Feb 2008 19:18:12 +0000 (19:18 +0000)]
let's complete that
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
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.
Michael Schroeder [Tue, 19 Feb 2008 18:16:09 +0000 (18:16 +0000)]
- patch memory leaks
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
Klaus Kaempf [Tue, 19 Feb 2008 14:09:14 +0000 (14:09 +0000)]
save patch timestamp, category, summary and description
Stephan Kulow [Tue, 19 Feb 2008 14:03:37 +0000 (14:03 +0000)]
fix requires
Klaus Kaempf [Tue, 19 Feb 2008 12:25:18 +0000 (12:25 +0000)]
no debug
Klaus Kaempf [Tue, 19 Feb 2008 12:08:12 +0000 (12:08 +0000)]
save patch timestamp as attribute
Stephan Kulow [Tue, 19 Feb 2008 11:55:53 +0000 (11:55 +0000)]
signal broken factory repo
Stephan Kulow [Tue, 19 Feb 2008 07:09:46 +0000 (07:09 +0000)]
testing
Michael Schroeder [Mon, 18 Feb 2008 21:41:21 +0000 (21:41 +0000)]
- bring duchange code to life
Michael Schroeder [Mon, 18 Feb 2008 21:40:07 +0000 (21:40 +0000)]
- free repodata memory
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
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
Michael Schroeder [Mon, 18 Feb 2008 17:59:18 +0000 (17:59 +0000)]
- write the correct marker
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
Michael Schroeder [Mon, 18 Feb 2008 15:28:54 +0000 (15:28 +0000)]
- allow complex deps in INSTALL/ERASE_NAME jobs
Klaus Kaempf [Mon, 18 Feb 2008 15:18:45 +0000 (15:18 +0000)]
comments added
Klaus Kaempf [Mon, 18 Feb 2008 15:17:20 +0000 (15:17 +0000)]
pass column number to error message
Michael Andres [Mon, 18 Feb 2008 11:19:08 +0000 (11:19 +0000)]
return error, if *2solv helpers do
Klaus Kaempf [Mon, 18 Feb 2008 09:44:34 +0000 (09:44 +0000)]
add column to error output
Michael Matz [Sun, 17 Feb 2008 18:08:02 +0000 (18:08 +0000)]
Compress a bit better and faster.
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
Michael Schroeder [Fri, 15 Feb 2008 19:01:09 +0000 (19:01 +0000)]
- add static noise
- add id_filelist
- dump 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
Michael Matz [Fri, 15 Feb 2008 17:51:05 +0000 (17:51 +0000)]
Also split sequence_info of deltarpms.
Klaus Kaempf [Fri, 15 Feb 2008 16:47:56 +0000 (16:47 +0000)]
find out who's who on parse error
Klaus Kaempf [Fri, 15 Feb 2008 16:41:45 +0000 (16:41 +0000)]
Argh, can't code Bash properly
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
Klaus Kaempf [Fri, 15 Feb 2008 16:13:52 +0000 (16:13 +0000)]
drop "-a" from help
Stephan Kulow [Fri, 15 Feb 2008 16:12:56 +0000 (16:12 +0000)]
fix build
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.
Michael Schroeder [Fri, 15 Feb 2008 15:41:00 +0000 (15:41 +0000)]
- add pool_search() function to search the pool
Michael Matz [Fri, 15 Feb 2008 14:12:07 +0000 (14:12 +0000)]
Some more code for the patch and delta rpms.
Michael Matz [Fri, 15 Feb 2008 13:39:43 +0000 (13:39 +0000)]
Write out pattern visibility.
Michael Matz [Fri, 15 Feb 2008 12:48:39 +0000 (12:48 +0000)]
Read version 6 files, but don't expose to outside.
Michael Matz [Fri, 15 Feb 2008 12:45:13 +0000 (12:45 +0000)]
Unbreak things.
Klaus Kaempf [Fri, 15 Feb 2008 12:27:56 +0000 (12:27 +0000)]
remove 'kind' handling ( will re-appear in applayer ;-) )
Stephan Kulow [Fri, 15 Feb 2008 10:04:00 +0000 (10:04 +0000)]
new version - about time
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.
Michael Matz [Thu, 14 Feb 2008 17:00:06 +0000 (17:00 +0000)]
Some unfinished test code for deltarpm and patchrpm data.
Klaus Kaempf [Thu, 14 Feb 2008 16:09:57 +0000 (16:09 +0000)]
add a generic attribute lookup function 'repo_lookup'
Michael Matz [Thu, 14 Feb 2008 14:56:16 +0000 (14:56 +0000)]
Cleanup a bit.
Klaus Kaempf [Thu, 14 Feb 2008 14:14:39 +0000 (14:14 +0000)]
comments
Klaus Kaempf [Thu, 14 Feb 2008 14:00:31 +0000 (14:00 +0000)]
more comments
Klaus Kaempf [Thu, 14 Feb 2008 13:54:02 +0000 (13:54 +0000)]
fix comment
Klaus Kaempf [Thu, 14 Feb 2008 13:34:26 +0000 (13:34 +0000)]
TYPE_xxx should be enum, no ?
Klaus Kaempf [Thu, 14 Feb 2008 13:34:06 +0000 (13:34 +0000)]
fix and document parameters of Repokey
Klaus Kaempf [Thu, 14 Feb 2008 12:26:59 +0000 (12:26 +0000)]
make reading attributes optional,
use embedded attrname not an artificial one
Klaus Kaempf [Thu, 14 Feb 2008 12:26:29 +0000 (12:26 +0000)]
add "-h" for help
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 ;-)
Klaus Kaempf [Wed, 13 Feb 2008 14:32:06 +0000 (14:32 +0000)]
add "-h" for help
Klaus Kaempf [Wed, 13 Feb 2008 11:36:22 +0000 (11:36 +0000)]
update to version 0.0.14
now that stuff is building
Klaus Kaempf [Tue, 12 Feb 2008 17:30:38 +0000 (17:30 +0000)]
introduce libappsatsolver
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.
Klaus Kaempf [Tue, 12 Feb 2008 17:21:15 +0000 (17:21 +0000)]
adapt to reality
Stephan Kulow [Tue, 12 Feb 2008 16:14:02 +0000 (16:14 +0000)]
submit
Stefan Schubert [Tue, 12 Feb 2008 15:21:02 +0000 (15:21 +0000)]
added requirement for libexpat-devel; neede by the tools
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.
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.
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.
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.
Stephan Kulow [Mon, 11 Feb 2008 09:28:45 +0000 (09:28 +0000)]
new version
Stephan Kulow [Mon, 11 Feb 2008 09:25:14 +0000 (09:25 +0000)]
get rid of -O3 in debug builds
Michael Matz [Mon, 11 Feb 2008 09:15:44 +0000 (09:15 +0000)]
Always initialize outgoing vars (probable cause for zypper crash).
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.
Michael Matz [Mon, 11 Feb 2008 02:10:14 +0000 (02:10 +0000)]
Whoops, description and summary are not supposed to be pool strings.
Michael Matz [Mon, 11 Feb 2008 01:57:59 +0000 (01:57 +0000)]
Also fill in description, summary, downloadsize, installsize, build
time, group and license.
Michael Matz [Sun, 10 Feb 2008 23:21:55 +0000 (23:21 +0000)]
Correct mediafile handling (and reindent some lines).
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:24:08 +0000 (22:24 +0000)]
cleanup
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:24:05 +0000 (22:24 +0000)]
- store location, dunno why it does not work yet
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:24:01 +0000 (22:24 +0000)]
compile
Duncan Mac-Vicar P [Sun, 10 Feb 2008 22:23:56 +0000 (22:23 +0000)]
compile
Michael Matz [Sun, 10 Feb 2008 06:09:37 +0000 (06:09 +0000)]
Support for generating separate sub files and bugfixes in the reader
side. Try "susetags2solv -as" to play (e.g. with dumpsolv).
Duncan Mac-Vicar P [Fri, 8 Feb 2008 15:20:09 +0000 (15:20 +0000)]
fix typo, it compiles with or without typo uh?
Michael Matz [Fri, 8 Feb 2008 15:11:44 +0000 (15:11 +0000)]
data can validly be 0, in which case we never have a localpool.
Michael Matz [Thu, 7 Feb 2008 22:35:06 +0000 (22:35 +0000)]
susetags2solv didn't parse multiple patterns since I implemented parsing
two or more packages files :-/
Stephan Kulow [Thu, 7 Feb 2008 17:41:17 +0000 (17:41 +0000)]
0.0.11
Stephan Kulow [Thu, 7 Feb 2008 17:40:19 +0000 (17:40 +0000)]
rename libsatsolver in satsolver-tools
Klaus Kaempf [Thu, 7 Feb 2008 15:35:33 +0000 (15:35 +0000)]
honor Solver.limittokind
Klaus Kaempf [Thu, 7 Feb 2008 09:59:09 +0000 (09:59 +0000)]
prepare limittokind
Stephan Kulow [Thu, 7 Feb 2008 09:23:31 +0000 (09:23 +0000)]
srcpackage_local only works from clean build dir it seems
Stefan Schubert [Thu, 7 Feb 2008 09:20:01 +0000 (09:20 +0000)]
cleanup
Stephan Kulow [Thu, 7 Feb 2008 09:16:44 +0000 (09:16 +0000)]
for the RPM-challenged
Stephan Kulow [Thu, 7 Feb 2008 09:13:23 +0000 (09:13 +0000)]
sync with autobuild
Stephan Kulow [Thu, 7 Feb 2008 09:11:36 +0000 (09:11 +0000)]
let's increase against factory
Klaus Kaempf [Thu, 7 Feb 2008 08:53:19 +0000 (08:53 +0000)]
introduce Solvable.kind to remove the need for strcmp()/strchr() when
accessing the name in libzypp and other applications.
Its also in preparation of per-kind solving (not implemented yet).
The name prefix (e.g. "pattern:") is still kept but only needed for
capability matching. kind is implemented as an offset (unsigned int)
matching the length of the name prefix. Applications can simply use
(solvable.name + solvable.kind) to strip the prefix from the name.
To prevent name clashes, "product:" was renamed to "prod:". Being
seldomly used, this seems to be acceptable.
Missing understandable documentation on the format of .solv files, the
kind value is currently NOT stored but computed on read.
tools/repo_susetags.c is already prepared to write the kind, solv
version6 should support storing kind values in .solv files.
Michael Matz [Wed, 6 Feb 2008 20:13:36 +0000 (20:13 +0000)]
Fix merge_attrs, so that not (e.g.) two medianr attributes show up in
susetags converted solvables using =Shr .
Michael Matz [Wed, 6 Feb 2008 19:55:36 +0000 (19:55 +0000)]
Make mergesolv work again.
Michael Matz [Wed, 6 Feb 2008 19:37:45 +0000 (19:37 +0000)]
Make repo_lookup_num work.
Stefan Schubert [Wed, 6 Feb 2008 10:05:44 +0000 (10:05 +0000)]
Prefer installed solvables first if there are two available with the
same name and evr. Bug#351941
Michael Matz [Wed, 6 Feb 2008 02:30:32 +0000 (02:30 +0000)]
Doesn't segfault anymore.
Duncan Mac-Vicar P [Wed, 6 Feb 2008 02:08:15 +0000 (02:08 +0000)]
expose repo_lookup_str and add lookup_num (nonworking)
Duncan Mac-Vicar P [Wed, 6 Feb 2008 02:08:09 +0000 (02:08 +0000)]
unbreak
Duncan Mac-Vicar P [Wed, 6 Feb 2008 02:08:04 +0000 (02:08 +0000)]
avoid segfault. FIXME please