platform/upstream/libzypp.git
17 years ago- move .repo file parsing to its own component, and
Duncan Mac-Vicar P [Wed, 6 Jun 2007 11:31:56 +0000 (11:31 +0000)]
- move .repo file parsing to its own component, and
- disable other.xml in YUM by default, otherwise
  test fails, because the downloader doesnt
  download other.xml by default

17 years agolearning about YUM modfy repo.
Duncan Mac-Vicar P [Wed, 6 Jun 2007 09:59:58 +0000 (09:59 +0000)]
learning about YUM modfy repo.

Best way to learn, document

Reference:
https://lists.dulug.duke.edu/pipermail/rpm-metadata/2007-June/000778.html

17 years agocomments + declared RepomdFileReader non-copyable
Jan Kupec [Wed, 6 Jun 2007 08:37:29 +0000 (08:37 +0000)]
comments + declared RepomdFileReader non-copyable

17 years agohiding impl of PatchesFileReader
Jan Kupec [Wed, 6 Jun 2007 08:33:09 +0000 (08:33 +0000)]
hiding impl of PatchesFileReader

17 years agoPatchesFileReader moved to parser namespace
Jan Kupec [Wed, 6 Jun 2007 07:56:59 +0000 (07:56 +0000)]
PatchesFileReader moved to parser namespace

17 years agostoring checksum types where possible
Jan Kupec [Wed, 6 Jun 2007 07:42:21 +0000 (07:42 +0000)]
storing checksum types where possible

17 years agoRepoParserOpts added
Jan Kupec [Wed, 6 Jun 2007 07:34:37 +0000 (07:34 +0000)]
RepoParserOpts added

17 years ago- appendStringContainerAttribute() added to CacheStore
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)

17 years agofixed renamed YUMParser->RepoParser
Jan Kupec [Tue, 5 Jun 2007 11:51:39 +0000 (11:51 +0000)]
fixed renamed YUMParser->RepoParser

17 years agomoved YUMParser from zypp2 to zypp, renamed to RepoParser
Jan Kupec [Tue, 5 Jun 2007 10:30:35 +0000 (10:30 +0000)]
moved YUMParser from zypp2 to zypp, renamed to RepoParser

17 years agoadded some suse format extensions, comments and TODOs
Jan Kupec [Tue, 5 Jun 2007 09:22:37 +0000 (09:22 +0000)]
added some suse format extensions, comments and TODOs

17 years agorepoimpl->createResolvables() call added
Jan Kupec [Mon, 4 Jun 2007 15:38:08 +0000 (15:38 +0000)]
repoimpl->createResolvables() call added

17 years ago- Lot of RepoManager methods implemented. Workflow working
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?

17 years ago- Class to replace the strings "yum" and "yast" everywhere.
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.

17 years agoRenamed _path to _prefAttachPoint to avoid confusion.
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.

17 years ago- suse:freshens added
Jan Kupec [Mon, 4 Jun 2007 12:06:08 +0000 (12:06 +0000)]
- suse:freshens added
- prerequires deps added
- some comments

17 years agofixed typo
Jan Kupec [Sun, 3 Jun 2007 23:12:39 +0000 (23:12 +0000)]
fixed typo

17 years ago- storing almost all resolvable data
Jan Kupec [Sun, 3 Jun 2007 23:11:45 +0000 (23:11 +0000)]
- storing almost all resolvable data
- cleaned-up ResolvableDataConsumer interface

17 years agobackup
Duncan Mac-Vicar P [Fri, 1 Jun 2007 14:12:55 +0000 (14:12 +0000)]
backup

17 years ago- RepoManager updates, like configurable paths
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

17 years ago- add operator < to use Url in std::set
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 ;-)

17 years agoclean more class names
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.

17 years agofix testcases path with repository -> repo
Duncan Mac-Vicar P [Thu, 31 May 2007 12:55:23 +0000 (12:55 +0000)]
fix testcases path with repository -> repo

17 years agofix 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

17 years ago- rename too long name classes:
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.

17 years ago- remove old iniparser
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

17 years ago- get rid of tagfile ParseException and make it
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

17 years ago- Fix long standing bug where the .cc dependencies were incorrectly
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.

17 years ago- add some ResObject doc
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.

17 years agocomments
Jan Kupec [Wed, 30 May 2007 13:18:43 +0000 (13:18 +0000)]
comments

17 years ago- move source -> repository tests
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)

17 years agosupport for user abort request added
Jan Kupec [Wed, 30 May 2007 08:54:29 +0000 (08:54 +0000)]
support for user abort request added

17 years agoHiding YUM parser implementation.
Jan Kupec [Tue, 29 May 2007 09:42:55 +0000 (09:42 +0000)]
Hiding YUM parser implementation.

17 years agoHiding YUMParser implementation.
Jan Kupec [Mon, 28 May 2007 14:17:38 +0000 (14:17 +0000)]
Hiding YUMParser implementation.

17 years agoParse PDB to zypp
Stefan Haas [Fri, 25 May 2007 12:48:31 +0000 (12:48 +0000)]
Parse PDB to zypp

17 years agocompile
Duncan Mac-Vicar P [Thu, 24 May 2007 17:12:47 +0000 (17:12 +0000)]
compile

17 years ago- fsck tool for cache
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

17 years agodocs
Michael Andres [Thu, 24 May 2007 08:09:46 +0000 (08:09 +0000)]
docs

17 years ago(no commit message)
Michael Andres [Thu, 24 May 2007 07:13:17 +0000 (07:13 +0000)]

17 years ago(no commit message)
Michael Andres [Thu, 24 May 2007 07:03:18 +0000 (07:03 +0000)]

17 years ago(no commit message)
Michael Andres [Thu, 24 May 2007 06:59:29 +0000 (06:59 +0000)]

17 years ago(no commit message)
Michael Andres [Thu, 24 May 2007 06:58:28 +0000 (06:58 +0000)]

17 years agoadded ResolvableDataConsumer interface for source packages
Michael Andres [Wed, 23 May 2007 20:45:51 +0000 (20:45 +0000)]
added ResolvableDataConsumer interface for source packages

17 years agobackup
Michael Andres [Wed, 23 May 2007 19:55:41 +0000 (19:55 +0000)]
backup

17 years agoSeparate logroup for Progress
Michael Andres [Wed, 23 May 2007 19:54:55 +0000 (19:54 +0000)]
Separate logroup for Progress

17 years agoadded ZConfig::defaultTextLocale
Michael Andres [Wed, 23 May 2007 19:52:27 +0000 (19:52 +0000)]
added ZConfig::defaultTextLocale

17 years agologmessage fix
Michael Andres [Wed, 23 May 2007 17:28:34 +0000 (17:28 +0000)]
logmessage fix

17 years agologmessage added
Michael Andres [Wed, 23 May 2007 17:13:37 +0000 (17:13 +0000)]
logmessage added

17 years agochangelog
Michael Andres [Wed, 23 May 2007 15:02:32 +0000 (15:02 +0000)]
changelog

17 years agoFixed package-manager script
Michael Andres [Wed, 23 May 2007 15:01:52 +0000 (15:01 +0000)]
Fixed package-manager script

17 years ago- use the in-code schema
Duncan Mac-Vicar P [Wed, 23 May 2007 14:37:53 +0000 (14:37 +0000)]
- use the in-code schema
- dont install the schema

17 years agofix overwriting ma's changes, sorry! kate's fault
Duncan Mac-Vicar P [Wed, 23 May 2007 14:02:26 +0000 (14:02 +0000)]
fix overwriting ma's changes, sorry! kate's fault

17 years agofix build
Duncan Mac-Vicar P [Wed, 23 May 2007 13:52:52 +0000 (13:52 +0000)]
fix build

17 years agofix package
Duncan Mac-Vicar P [Wed, 23 May 2007 13:34:37 +0000 (13:34 +0000)]
fix package

17 years ago- generate schema.h with schema.sql data during build.
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.

17 years agocmake fixed
Stefan Schubert [Wed, 23 May 2007 11:32:46 +0000 (11:32 +0000)]
cmake fixed

17 years agotypo fixed
Stefan Schubert [Wed, 23 May 2007 11:13:58 +0000 (11:13 +0000)]
typo fixed

17 years agoReduced logging in order to speedup solving Bug 275100
Stefan Schubert [Wed, 23 May 2007 09:27:09 +0000 (09:27 +0000)]
Reduced logging in order to speedup solving Bug 275100

17 years agoReduced 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

17 years agoconsumePackageAtom added to the interface
Jan Kupec [Wed, 23 May 2007 08:11:46 +0000 (08:11 +0000)]
consumePackageAtom added to the interface

17 years agobackup
Michael Andres [Wed, 23 May 2007 08:06:09 +0000 (08:06 +0000)]
backup

17 years agoadd susetags::RepoParser
Michael Andres [Wed, 23 May 2007 08:05:52 +0000 (08:05 +0000)]
add susetags::RepoParser

17 years agoadded container typedfefs
Michael Andres [Wed, 23 May 2007 08:04:35 +0000 (08:04 +0000)]
added container typedfefs

17 years agofinished ContentFileReader
Michael Andres [Wed, 23 May 2007 06:30:13 +0000 (06:30 +0000)]
finished ContentFileReader

17 years agotypo
Michael Andres [Wed, 23 May 2007 06:28:44 +0000 (06:28 +0000)]
typo

17 years agoadd RW_pointer traits for scoped_ptr
Michael Andres [Wed, 23 May 2007 06:26:39 +0000 (06:26 +0000)]
add RW_pointer traits for scoped_ptr

17 years agofix gcc warning
Michael Andres [Tue, 22 May 2007 21:10:45 +0000 (21:10 +0000)]
fix gcc warning

17 years agobackup
Jan Kupec [Tue, 22 May 2007 20:54:27 +0000 (20:54 +0000)]
backup

17 years agoproducts.xml parser complete
Jan Kupec [Tue, 22 May 2007 20:45:46 +0000 (20:45 +0000)]
products.xml parser complete

17 years agopattern.xml parser complete. pattern schema changed.
Jan Kupec [Tue, 22 May 2007 18:48:46 +0000 (18:48 +0000)]
pattern.xml parser complete. pattern schema changed.

17 years agofeeding rpm:entry kind attribute (default to "package") as 'refers'
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

17 years ago- class to create resolvables from data, for unit tests.
Duncan Mac-Vicar P [Tue, 22 May 2007 16:04:40 +0000 (16:04 +0000)]
- class to create resolvables from data, for unit tests.

17 years ago- make FileChecker use exceptions instead of bool
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..

17 years agoDont ask to "retry downloading" on errors that may occurr on any media. Ask whether...
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.

17 years ago- validate the files on start()
Duncan Mac-Vicar P [Mon, 21 May 2007 12:24:37 +0000 (12:24 +0000)]
- validate the files on start()

17 years ago- implement signature and checksum checker in
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.

17 years ago- implement doesFileExist using the same provideFile workflow
Duncan Mac-Vicar P [Mon, 21 May 2007 08:54:26 +0000 (08:54 +0000)]
- implement doesFileExist using the same provideFile workflow

17 years agohide fetcher implementation in order to operate over jobs
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

17 years agoYUMParser moved to zypp2/parser/yum
Jan Kupec [Mon, 21 May 2007 03:06:47 +0000 (03:06 +0000)]
YUMParser moved to zypp2/parser/yum

17 years agocomments
Jan Kupec [Mon, 21 May 2007 02:54:55 +0000 (02:54 +0000)]
comments

17 years ago- FilelistsFileReader complete
Jan Kupec [Mon, 21 May 2007 02:02:35 +0000 (02:02 +0000)]
- FilelistsFileReader complete
- YUMParser changed to use ResolvableDataConsumer iface instead of
  CacheStore

17 years agologgroup definition moved away from header
Jan Kupec [Mon, 21 May 2007 00:10:12 +0000 (00:10 +0000)]
loggroup definition moved away from header

17 years agoother.xml.gz file reader complete
Jan Kupec [Mon, 21 May 2007 00:02:32 +0000 (00:02 +0000)]
other.xml.gz file reader complete

17 years ago- PatchFileReader 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

17 years agocompile
Duncan Mac-Vicar P [Fri, 18 May 2007 22:11:01 +0000 (22:11 +0000)]
compile

17 years agocompile
Duncan Mac-Vicar P [Fri, 18 May 2007 20:35:11 +0000 (20:35 +0000)]
compile

17 years agocompile
Duncan Mac-Vicar P [Fri, 18 May 2007 20:29:38 +0000 (20:29 +0000)]
compile

17 years agoParsing pdb in a ZYpp-Pool
Stefan Haas [Fri, 18 May 2007 15:41:54 +0000 (15:41 +0000)]
Parsing pdb in a ZYpp-Pool

17 years ago- some iostream -> iosfwd in headers
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

17 years agobackup: reading script data + comments
Jan Kupec [Fri, 18 May 2007 10:22:34 +0000 (10:22 +0000)]
backup: reading script data + comments

17 years agobackup
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)

17 years ago- using set<ResObject_Ptr> to store data of atoms
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)

17 years ago- Parser update
Michael Andres [Wed, 16 May 2007 19:47:19 +0000 (19:47 +0000)]
- Parser update
- added class ZConfig

17 years ago- explicit commit
Duncan Mac-Vicar P [Wed, 16 May 2007 15:31:06 +0000 (15:31 +0000)]
- explicit commit
- start implementing clean catalog.

17 years ago- Fix triggers to autoclean
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

17 years agofix missing return value
Michael Andres [Wed, 16 May 2007 11:57:02 +0000 (11:57 +0000)]
fix missing return value

17 years ago- Move resource allocation to the implementation
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

17 years agobackup
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...

17 years ago- handle all package data, implement all data::
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.

17 years agoupdated data:: resolvable classes.
Michael Andres [Tue, 15 May 2007 16:27:04 +0000 (16:27 +0000)]
updated data:: resolvable classes.