summaryrefslogtreecommitdiff
path: root/tools/dumpsolv.c
AgeCommit message (Collapse)AuthorFilesLines
2014-04-07simplyfy checksum codeMichael Schroeder1-19/+14
Also change dumpsolv to use solv_chksum_type2str instead of printing the internal type.
2014-04-04[ABI BREAKAGE] add support for SHA224/384/512Michael Schroeder1-0/+6
We also use this to reorder knownid.h, thus breaking the libsolv ABI. Next step is to bump the version.
2014-01-08fix a couple of minor problems found with cppcheckMichael Schroeder1-2/+2
2013-05-06cleanup dumpsolv codeMichael Schroeder1-60/+59
2013-05-03dumpsolv: add experimental json dumping supportMichael Schroeder1-164/+312
2012-12-13delete old debug statementsMichael Schroeder1-6/+4
2012-04-13- add pool_error and pool_errstr. get rid of lots of exit() calls.Michael Schroeder1-2/+2
2012-03-16- advance num64 support. For now, we store the high 32 bits in kv->num2 to ↵Michael Schroeder1-3/+5
stay somewhat compatible
2012-03-15- dumpsolv: num is unsigned, also support reldeps as idsMichael Schroeder1-2/+2
2012-03-01- rename repo_add_solv_flags to repo_add_solv. Should have done this a ↵Michael Schroeder1-3/+3
couple of months earlier, sorry.
2012-01-17Make more C89 and POSIX compliantIngo Weinhold1-1/+2
2012-01-11- add some missing copyright blocksMichael Schroeder1-4/+4
2011-12-22- INCOMPATIBLE CHANGE: index with repoid (thus pool->repos[repoid] == ↵Michael Schroeder1-1/+1
repo->repoid) Also make repo->free not renumber the repos, instead we leave a hole (like with the solvables).
2011-06-14- use FOR_REPODATAS macroMichael Schroeder1-1/+1
2011-05-24- do not use obsolete interface in libsolv library itselfMichael Schroeder1-11/+11
2011-01-07- kill stillborn KINDS_SEPARATELY, use getopt() in toolsMichael Schroeder1-28/+25
2009-09-22- get missing translations from other solvablesMichael Schroeder1-0/+6
- fix solvable_lookup_str_poollang bug - add support for REPOKEY_TYPE_BINARY - do not add provides when extending susetags solvables - fix susetags language handling in demo application
2009-07-14- add new flags for the load functions:Michael Schroeder1-7/+13
REPO_LOCALPOOL - create local pool REPO_EXTEND_SOLVABLES - extend existing solvables instead of creating new ones REPO_USE_LOADING - replace repodata in state loading - add repo_add_solv_flags to make repo_add_solv use flags - make repo_add_solv obey the flags instead of using defaults if this is a subload - change loadcallback definition to return a boolean, the callback is now responsible for the loading - change repo_write so that the keyfilter can select which repodata to use (hack) - change pool_addfileprovides to load the complete filelist if needed - add SEARCH_COMPLETE_FILELIST flag to searches - add transaction_create_installedmap/transaction_calc_installsizechange
2009-06-15- add FOR_REPOS macro to iterate over reposMichael Schroeder1-10/+4
2008-10-20- more cleanups:Michael Schroeder1-26/+10
- add pool argument to datamatcher_init - add flags argument to repodata_search - only add sentinal if SEARCH_SENTINEL is specified - use kv.eof == 2 for sentinel like before - rename dataiterator_match to dataiterator_match_obsolete - add repodata_stringify function - make datamatcher match simple strings so it can be reused - add dataiterator_prepend_keyname to match keyname pathes - rename dataiterator_jump_to_solvable to dataiterator_jump_to_solvid
2008-10-13- change entry back to better name solvidMichael Schroeder1-2/+2
2008-10-09- kill SEARCH_EXTRA so we see where libzypp has to be changedMichael Schroeder1-1/+3
2008-10-09- oops, forgot bindingsMichael Schroeder1-1/+1
2008-10-09- the big solv data changeMichael Schroeder1-23/+53
- incompatible new file format - repodata handles are solvable ids - no more extra handles - no need to call repodata_extend anymore - work around solver dup repo priority bug, real fix follows soon
2008-08-13Support searching in filelists via the dataiterator. Under control of anMichael Matz1-1/+1
extra flag, because this is fairly costly. Intended for user-controled queries, _not_ to be used by the solver or the like.
2008-07-21- no more freshens. R.I.P.Michael Schroeder1-1/+0
2008-05-07- add rpmdbcookie supportMichael Schroeder1-0/+10
2008-04-27(De-)Serialize structured types. Dataiterator and repo_search supportMichael Matz1-3/+6
them too, but not yet nested, so that is unsupported for now.
2008-04-06- print also global solvable idJan Kupec1-1/+2
2008-04-03Support loading/dumping multiple repos, and some testcode for the newMichael Matz1-48/+73
iterator functions.
2008-04-01Working but for now inactive code to support non-solvables (things whichMichael Matz1-8/+21
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.
2008-03-20- also dump sha256Michael Schroeder1-1/+2
2008-03-19Support new types for MD5 and SHA1 checksums (stored in binary, but withMichael Matz1-0/+4
support functions to deal with them being strings). Generate them from the susetags parser for the =Cks tags.
2008-03-19- write info block containing addedprovidesMichael Schroeder1-0/+6
- do not load filelist in addfileproviders if the provides are already there - fix some mem leaks
2008-03-14- do away with printdirMichael Schroeder1-17/+0
2008-03-14- add repodata_dir2str functionMichael Schroeder1-6/+2
2008-03-05- replace exit() with return, oopsMichael Schroeder1-3/+8
- ignore hardlinked file in DU stats - print more statistics in dumpsolv
2008-02-29- change solv format in an incompatible way, breaking compatibilityMichael Schroeder1-27/+24
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
2008-02-25- make it even more correctMichael Schroeder1-1/+4
2008-02-24Dump more attribute types.Michael Matz1-3/+7
2008-02-23An iterator interface to attributes. Supports the same things as theMichael Matz1-76/+49
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.
2008-02-18- make rpmdb record summary, description, buildtime, group, dustatsMichael Schroeder1-1/+1
- make rpmdb record the filelist (currently just in parts) - make filelist a vertical
2008-02-18- use SEARCH_NO_STORAGE_SOLVABLE instead of duplication codeMichael Schroeder1-13/+3
- print rpmdbid, too
2008-02-15- add static noiseMichael Schroeder1-0/+5
- add id_filelist - dump DIRSTRARRAY type
2008-02-15Unbreak things.Michael Matz1-1/+1
2008-02-14commentsKlaus Kaempf1-2/+9
2008-02-14make reading attributes optional,Klaus Kaempf1-58/+11
use embedded attrname not an artificial one
2008-02-14more flexibility in naming attribute files,Klaus Kaempf1-6/+92
one can even have multiple ones in a single directory now ;-)
2008-02-10Support for generating separate sub files and bugfixes in the readerMichael Matz1-5/+35
side. Try "susetags2solv -as" to play (e.g. with dumpsolv).
2008-02-07introduce Solvable.kind to remove the need for strcmp()/strchr() whenKlaus Kaempf1-1/+1
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.