Jan Kupec [Wed, 6 Jun 2007 07:34:37 +0000 (07:34 +0000)]
RepoParserOpts added
Jan Kupec [Tue, 5 Jun 2007 15:27:30 +0000 (15:27 +0000)]
- appendStringContainerAttribute() added to CacheStore
- ZConfig.cacheDBSplitJoinSeparator() added to support the above
- still need to figure out how to store list<Url> (Product data).
Either we change it to list<string> or we add
appendUrlContainerAttribute() to CacheStore (the latter seems
like an overhead to me)
Jan Kupec [Tue, 5 Jun 2007 11:51:39 +0000 (11:51 +0000)]
fixed renamed YUMParser->RepoParser
Jan Kupec [Tue, 5 Jun 2007 10:30:35 +0000 (10:30 +0000)]
moved YUMParser from zypp2 to zypp, renamed to RepoParser
Jan Kupec [Tue, 5 Jun 2007 09:22:37 +0000 (09:22 +0000)]
added some suse format extensions, comments and TODOs
Jan Kupec [Mon, 4 Jun 2007 15:38:08 +0000 (15:38 +0000)]
repoimpl->createResolvables() call added
Duncan Mac-Vicar P [Mon, 4 Jun 2007 14:24:28 +0000 (14:24 +0000)]
- Lot of RepoManager methods implemented. Workflow working
I am still getting 0 resolvables anyway... uh?
Duncan Mac-Vicar P [Mon, 4 Jun 2007 14:23:47 +0000 (14:23 +0000)]
- Class to replace the strings "yum" and "yast" everywhere.
- They are safer, as can represent more than one string rep.
- can be used in switches.
Jan Kupec [Mon, 4 Jun 2007 12:21:34 +0000 (12:21 +0000)]
Renamed _path to _prefAttachPoint to avoid confusion.
If we will not want the mount point hint in MediaSetAccess API, we'll
remove it then.
Jan Kupec [Mon, 4 Jun 2007 12:06:08 +0000 (12:06 +0000)]
- suse:freshens added
- prerequires deps added
- some comments
Jan Kupec [Sun, 3 Jun 2007 23:12:39 +0000 (23:12 +0000)]
fixed typo
Jan Kupec [Sun, 3 Jun 2007 23:11:45 +0000 (23:11 +0000)]
- storing almost all resolvable data
- cleaned-up ResolvableDataConsumer interface
Duncan Mac-Vicar P [Fri, 1 Jun 2007 14:12:55 +0000 (14:12 +0000)]
backup
Duncan Mac-Vicar P [Fri, 1 Jun 2007 12:48:35 +0000 (12:48 +0000)]
- RepoManager updates, like configurable paths
- Some API added to CacheStore to ask about repos
cached
- specific Cache and Repo exceptions
- test case for RepoManager.
- Change CacheStore repo api to use alias instead
of url and path
- compile all code with those changes
Duncan Mac-Vicar P [Thu, 31 May 2007 16:17:48 +0000 (16:17 +0000)]
- add operator < to use Url in std::set
- First repomanager that can list repos from /etc/repos.d ;-)
Duncan Mac-Vicar P [Thu, 31 May 2007 16:00:01 +0000 (16:00 +0000)]
clean more class names
move data not belonging to RepoInfo to
RepoStatus, like the checksum or timestamp.
Duncan Mac-Vicar P [Thu, 31 May 2007 12:55:23 +0000 (12:55 +0000)]
fix testcases path with repository -> repo
Duncan Mac-Vicar P [Thu, 31 May 2007 12:50:31 +0000 (12:50 +0000)]
fix testcases path with repository -> repo
Duncan Mac-Vicar P [Thu, 31 May 2007 12:44:12 +0000 (12:44 +0000)]
- rename too long name classes:
- dont be reundant, with namespaces and class names
ej: zypp::repository::cached::CachedRepositoryPackageImpl
can be zypp::repo::cached::PackageImpl
- Add RepoStatus, which contains non-hint data
like timestamps and checksum of indexes.
Duncan Mac-Vicar P [Thu, 31 May 2007 09:14:11 +0000 (09:14 +0000)]
- remove old iniparser
- add cancel support to the new one
- start porting repo manager with the ideas on the wiki
Duncan Mac-Vicar P [Wed, 30 May 2007 19:44:19 +0000 (19:44 +0000)]
- get rid of tagfile ParseException and make it
a toplevel ParseException
- Rename some reundant name classes
- Fix code to pass testcases, and fix the tests
Duncan Mac-Vicar P [Wed, 30 May 2007 14:03:19 +0000 (14:03 +0000)]
- Fix long standing bug where the .cc dependencies were incorrectly
generated so they ended depending on the installed libzypp headers
instead of the sources ones. Causing libzypp not to rebuild when
you touch headers locally.
Duncan Mac-Vicar P [Wed, 30 May 2007 13:20:25 +0000 (13:20 +0000)]
- add some ResObject doc
- install a ResolvableQuery inside the cached Package Impl. to
get the attributes on the fly.
- remove some old cache classes I hate.
- Fix a bug in filechecker found by the testsuite.
- Make the Digest callbacks return FALSE by default.
Jan Kupec [Wed, 30 May 2007 13:18:43 +0000 (13:18 +0000)]
comments
Duncan Mac-Vicar P [Wed, 30 May 2007 13:18:12 +0000 (13:18 +0000)]
- move source -> repository tests
- fix YUM tests to compile
- test for FileChecker (wow found 2 bugs with it)
Jan Kupec [Wed, 30 May 2007 08:54:29 +0000 (08:54 +0000)]
support for user abort request added
Jan Kupec [Tue, 29 May 2007 09:42:55 +0000 (09:42 +0000)]
Hiding YUM parser implementation.
Jan Kupec [Mon, 28 May 2007 14:17:38 +0000 (14:17 +0000)]
Hiding YUMParser implementation.
Stefan Haas [Fri, 25 May 2007 12:48:31 +0000 (12:48 +0000)]
Parse PDB to zypp
Duncan Mac-Vicar P [Thu, 24 May 2007 17:12:47 +0000 (17:12 +0000)]
compile
Duncan Mac-Vicar P [Thu, 24 May 2007 15:00:53 +0000 (15:00 +0000)]
- fsck tool for cache
- cached source is per-repository
- catalog->repository
Michael Andres [Thu, 24 May 2007 08:09:46 +0000 (08:09 +0000)]
docs
Michael Andres [Thu, 24 May 2007 07:13:17 +0000 (07:13 +0000)]
Michael Andres [Thu, 24 May 2007 07:03:18 +0000 (07:03 +0000)]
Michael Andres [Thu, 24 May 2007 06:59:29 +0000 (06:59 +0000)]
Michael Andres [Thu, 24 May 2007 06:58:28 +0000 (06:58 +0000)]
Michael Andres [Wed, 23 May 2007 20:45:51 +0000 (20:45 +0000)]
added ResolvableDataConsumer interface for source packages
Michael Andres [Wed, 23 May 2007 19:55:41 +0000 (19:55 +0000)]
backup
Michael Andres [Wed, 23 May 2007 19:54:55 +0000 (19:54 +0000)]
Separate logroup for Progress
Michael Andres [Wed, 23 May 2007 19:52:27 +0000 (19:52 +0000)]
added ZConfig::defaultTextLocale
Michael Andres [Wed, 23 May 2007 17:28:34 +0000 (17:28 +0000)]
logmessage fix
Michael Andres [Wed, 23 May 2007 17:13:37 +0000 (17:13 +0000)]
logmessage added
Michael Andres [Wed, 23 May 2007 15:02:32 +0000 (15:02 +0000)]
changelog
Michael Andres [Wed, 23 May 2007 15:01:52 +0000 (15:01 +0000)]
Fixed package-manager script
Duncan Mac-Vicar P [Wed, 23 May 2007 14:37:53 +0000 (14:37 +0000)]
- use the in-code schema
- dont install the schema
Duncan Mac-Vicar P [Wed, 23 May 2007 14:02:26 +0000 (14:02 +0000)]
fix overwriting ma's changes, sorry! kate's fault
Duncan Mac-Vicar P [Wed, 23 May 2007 13:52:52 +0000 (13:52 +0000)]
fix build
Duncan Mac-Vicar P [Wed, 23 May 2007 13:34:37 +0000 (13:34 +0000)]
fix package
Duncan Mac-Vicar P [Wed, 23 May 2007 12:32:01 +0000 (12:32 +0000)]
- generate schema.h with schema.sql data during build.
this way, the schema can still be maintained out of code
but during built t is grabed in code, so testcases don't
need the schema installed for example.
Stefan Schubert [Wed, 23 May 2007 11:32:46 +0000 (11:32 +0000)]
cmake fixed
Stefan Schubert [Wed, 23 May 2007 11:13:58 +0000 (11:13 +0000)]
typo fixed
Stefan Schubert [Wed, 23 May 2007 09:27:09 +0000 (09:27 +0000)]
Reduced logging in order to speedup solving Bug 275100
Stefan Schubert [Wed, 23 May 2007 09:24:20 +0000 (09:24 +0000)]
Reduced logging in order to speedup solving Bug 275100
Jan Kupec [Wed, 23 May 2007 08:11:46 +0000 (08:11 +0000)]
consumePackageAtom added to the interface
Michael Andres [Wed, 23 May 2007 08:06:09 +0000 (08:06 +0000)]
backup
Michael Andres [Wed, 23 May 2007 08:05:52 +0000 (08:05 +0000)]
add susetags::RepoParser
Michael Andres [Wed, 23 May 2007 08:04:35 +0000 (08:04 +0000)]
added container typedfefs
Michael Andres [Wed, 23 May 2007 06:30:13 +0000 (06:30 +0000)]
finished ContentFileReader
Michael Andres [Wed, 23 May 2007 06:28:44 +0000 (06:28 +0000)]
typo
Michael Andres [Wed, 23 May 2007 06:26:39 +0000 (06:26 +0000)]
add RW_pointer traits for scoped_ptr
Michael Andres [Tue, 22 May 2007 21:10:45 +0000 (21:10 +0000)]
fix gcc warning
Jan Kupec [Tue, 22 May 2007 20:54:27 +0000 (20:54 +0000)]
backup
Jan Kupec [Tue, 22 May 2007 20:45:46 +0000 (20:45 +0000)]
products.xml parser complete
Jan Kupec [Tue, 22 May 2007 18:48:46 +0000 (18:48 +0000)]
pattern.xml parser complete. pattern schema changed.
Jan Kupec [Tue, 22 May 2007 18:26:31 +0000 (18:26 +0000)]
feeding rpm:entry kind attribute (default to "package") as 'refers'
argument to cap factory when reading dependencies
Duncan Mac-Vicar P [Tue, 22 May 2007 16:04:40 +0000 (16:04 +0000)]
- class to create resolvables from data, for unit tests.
Duncan Mac-Vicar P [Tue, 22 May 2007 16:04:20 +0000 (16:04 +0000)]
- make FileChecker use exceptions instead of bool
- Move it out of Fetcher
- port..
Michael Andres [Tue, 22 May 2007 13:05:51 +0000 (13:05 +0000)]
Dont ask to "retry downloading" on errors that may occurr on any media. Ask whether to retry.
Duncan Mac-Vicar P [Mon, 21 May 2007 12:24:37 +0000 (12:24 +0000)]
- validate the files on start()
Duncan Mac-Vicar P [Mon, 21 May 2007 11:34:12 +0000 (11:34 +0000)]
- implement signature and checksum checker in
the fetcher layer
also support for any kind of check mechanism.
See fetcher documentation.
Duncan Mac-Vicar P [Mon, 21 May 2007 08:54:26 +0000 (08:54 +0000)]
- implement doesFileExist using the same provideFile workflow
Duncan Mac-Vicar P [Mon, 21 May 2007 08:27:31 +0000 (08:27 +0000)]
hide fetcher implementation in order to operate over jobs
instead of onmedialocations
Jan Kupec [Mon, 21 May 2007 03:06:47 +0000 (03:06 +0000)]
YUMParser moved to zypp2/parser/yum
Jan Kupec [Mon, 21 May 2007 02:54:55 +0000 (02:54 +0000)]
comments
Jan Kupec [Mon, 21 May 2007 02:02:35 +0000 (02:02 +0000)]
- FilelistsFileReader complete
- YUMParser changed to use ResolvableDataConsumer iface instead of
CacheStore
Jan Kupec [Mon, 21 May 2007 00:10:12 +0000 (00:10 +0000)]
loggroup definition moved away from header
Jan Kupec [Mon, 21 May 2007 00:02:32 +0000 (00:02 +0000)]
other.xml.gz file reader complete
Jan Kupec [Sun, 20 May 2007 21:16:18 +0000 (21:16 +0000)]
- PatchFileReader complete
- using data::PackageAtom for /patch/atoms/package/* data for now
Duncan Mac-Vicar P [Fri, 18 May 2007 22:11:01 +0000 (22:11 +0000)]
compile
Duncan Mac-Vicar P [Fri, 18 May 2007 20:35:11 +0000 (20:35 +0000)]
compile
Duncan Mac-Vicar P [Fri, 18 May 2007 20:29:38 +0000 (20:29 +0000)]
compile
Stefan Haas [Fri, 18 May 2007 15:41:54 +0000 (15:41 +0000)]
Parsing pdb in a ZYpp-Pool
Duncan Mac-Vicar P [Fri, 18 May 2007 15:02:46 +0000 (15:02 +0000)]
- some iostream -> iosfwd in headers
- Move code to load dynamic types from cache to its own
class so it can be reused in Resolvable Query
- Introduce a PackageImpl that can be created from data::
- Document and polish RepositoryInfo class
Jan Kupec [Fri, 18 May 2007 10:22:34 +0000 (10:22 +0000)]
backup: reading script data + comments
Jan Kupec [Thu, 17 May 2007 17:04:20 +0000 (17:04 +0000)]
backup
- PatchFileReader almost done (TODO atom pkg-files, script, code review, clean-up/test/docs)
Jan Kupec [Thu, 17 May 2007 13:55:37 +0000 (13:55 +0000)]
- using set<ResObject_Ptr> to store data of atoms
- Added missing IMPL_PTR_TYPE(Atom)
Michael Andres [Wed, 16 May 2007 19:47:19 +0000 (19:47 +0000)]
- Parser update
- added class ZConfig
Duncan Mac-Vicar P [Wed, 16 May 2007 15:31:06 +0000 (15:31 +0000)]
- explicit commit
- start implementing clean catalog.
Duncan Mac-Vicar P [Wed, 16 May 2007 12:20:13 +0000 (12:20 +0000)]
- Fix triggers to autoclean
- dependencies when removing resolvables
- resolvables when removing catalogs
- add indexes to remove catalogs faster
Michael Andres [Wed, 16 May 2007 11:57:02 +0000 (11:57 +0000)]
fix missing return value
Duncan Mac-Vicar P [Wed, 16 May 2007 11:15:06 +0000 (11:15 +0000)]
- Move resource allocation to the implementation
- make commit() explicitely
- add class (not just methods) docu and example
Jan Kupec [Tue, 15 May 2007 19:13:31 +0000 (19:13 +0000)]
backup
- Separated common code from PrimaryFileReader to FileReaderBase for
reuse in PatchfileReader and others. PatchFileReader in progress...
Duncan Mac-Vicar P [Tue, 15 May 2007 16:33:47 +0000 (16:33 +0000)]
- handle all package data, implement all data::
consumer methods.
this is a huge step forward in the cache design!
TODO: save attributes from other resolvable types.
Michael Andres [Tue, 15 May 2007 16:27:04 +0000 (16:27 +0000)]
updated data:: resolvable classes.
Michael Andres [Tue, 15 May 2007 15:23:30 +0000 (15:23 +0000)]
updated data:: resolvable classes.
Michael Andres [Tue, 15 May 2007 12:02:23 +0000 (12:02 +0000)]
cahnges
Michael Andres [Tue, 15 May 2007 11:59:49 +0000 (11:59 +0000)]
fix releaseFile calls passing the local filename as arg.
Michael Andres [Tue, 15 May 2007 11:58:58 +0000 (11:58 +0000)]
remove excess releaseFile call
Michael Andres [Tue, 15 May 2007 10:48:50 +0000 (10:48 +0000)]
immediately report reaching 100%
Duncan Mac-Vicar P [Mon, 14 May 2007 15:59:51 +0000 (15:59 +0000)]
adapt the resolvable query to retrieve text
attributes on demand