Michael Andres [Thu, 2 Oct 2008 11:16:40 +0000 (11:16 +0000)]
backup
Michael Andres [Thu, 2 Oct 2008 11:16:18 +0000 (11:16 +0000)]
add resolver to TestSetup
Michael Andres [Wed, 1 Oct 2008 16:04:56 +0000 (16:04 +0000)]
- added tests/data/openSUSE-11.1 containing raw susetags metadata. Keeping .solv files in
svn is somewhat inconvenient, as you must rebuild them if something in satsolver changes.
- added tests/include as location for includes that micht be used in multiple testcases.
- added tests/include/TestSetup.h to ease building a test environment below some tempdir.
Currently supports easy setup of Target, RepoManager and loading data (raw metadata and
.solv files) into the pool.
- added tests/data/openSUSE-11.1 containing raw susetags metadata. Keeping .solv files in
svn is somewhat inconvenient, as you must rebuild them if something in satsolver changes.
- added tests/include as location for includes that micht be used in multiple testcases.
- added tests/include/TestSetup.h to ease building a test environment below some tempdir.
Currently supports easy setup of Target, RepoManager and loading data (raw metadata and
.solv files) into the pool.
Michael Andres [Wed, 1 Oct 2008 14:09:11 +0000 (14:09 +0000)]
- Rephrase missleading error message. (bnc #431229)
Stefan Schubert [Wed, 1 Oct 2008 13:25:58 +0000 (13:25 +0000)]
increase logging
Duncan Mac-Vicar P [Wed, 1 Oct 2008 11:21:57 +0000 (11:21 +0000)]
cpename -> cpeid
Michael Andres [Tue, 30 Sep 2008 15:41:42 +0000 (15:41 +0000)]
- Allow computation of disk usage per solvable.
Duncan Mac-Vicar P [Tue, 30 Sep 2008 06:56:02 +0000 (06:56 +0000)]
forgot to add those
Duncan Mac-Vicar P [Mon, 29 Sep 2008 22:04:58 +0000 (22:04 +0000)]
- Merge aria2c Media handler code from Google SOC 2008
(Gerard Farras)
- Only activated by making env var ZYPP_ARIA=1
- various changes on merge:
- moved exist function to the Aria specific class
- close programs
- use arrays of commands instead of building strings
- some reformatting
- cleanup will come later
TODO: Move the exceptions also in the aria class.
NOTE: the default handler is still the curl one. We merge the code
so people can enable it and test it. But it can't be enabled without
setting the env variable.
Jan Kupec [Mon, 29 Sep 2008 20:50:11 +0000 (20:50 +0000)]
- changes
Jan Kupec [Mon, 29 Sep 2008 20:48:05 +0000 (20:48 +0000)]
- no localization for history log comments
Jan Kupec [Mon, 29 Sep 2008 13:57:59 +0000 (13:57 +0000)]
- changes
Jan Kupec [Mon, 29 Sep 2008 13:54:54 +0000 (13:54 +0000)]
- tell which package failed before logging rpm output or error message (bnc #430585)
Michael Andres [Mon, 29 Sep 2008 11:47:48 +0000 (11:47 +0000)]
- Fix zypp::WhatProvides::empty returning inverse result.
Michael Andres [Mon, 29 Sep 2008 11:34:29 +0000 (11:34 +0000)]
avoid using deprecated method
Jan Kupec [Sun, 28 Sep 2008 10:42:44 +0000 (10:42 +0000)]
- preset username for auth callback from CM data
Jan Kupec [Sat, 27 Sep 2008 21:37:51 +0000 (21:37 +0000)]
- changes
Jan Kupec [Sat, 27 Sep 2008 21:35:42 +0000 (21:35 +0000)]
- fixed endless loop when CM returns bad password
- CM now correctly updates password of existing credentials
Jan Kupec [Fri, 26 Sep 2008 14:21:00 +0000 (14:21 +0000)]
- comments
- fixed setUserName() name to be consistent with getter
Michael Andres [Fri, 26 Sep 2008 13:45:57 +0000 (13:45 +0000)]
fix
Michael Andres [Fri, 26 Sep 2008 13:39:39 +0000 (13:39 +0000)]
- Fix computation of Product::flavor.
- Add Product::productLine. A vendor specific string denoting the
product line.
Jan Kupec [Fri, 26 Sep 2008 13:25:03 +0000 (13:25 +0000)]
- save credentials after asking for them
- todo: ask user _where_ to store them. Automatically saving to user's
credentials.cat for now
Duncan Mac-Vicar P [Fri, 26 Sep 2008 12:28:06 +0000 (12:28 +0000)]
fix build
Jan Kupec [Thu, 25 Sep 2008 21:25:13 +0000 (21:25 +0000)]
- copy&paste error
Jan Kupec [Thu, 25 Sep 2008 21:22:59 +0000 (21:22 +0000)]
- changes
Jan Kupec [Thu, 25 Sep 2008 21:19:04 +0000 (21:19 +0000)]
- ZConfig::credentialsGlobal{File,Dir}() added (/etc/zypp/credentials.{cat,d})
Jan Kupec [Thu, 25 Sep 2008 15:10:40 +0000 (15:10 +0000)]
- changes
Jan Kupec [Thu, 25 Sep 2008 15:09:23 +0000 (15:09 +0000)]
- forgotten to remove Target::setInstallationLogfile()
Michael Andres [Thu, 25 Sep 2008 11:17:17 +0000 (11:17 +0000)]
- Remove obsolete zypp-query-pool binary. zypper provides all
the information one needs.
Michael Andres [Thu, 25 Sep 2008 10:33:50 +0000 (10:33 +0000)]
remove Target::targetDistributionFlavor
Michael Andres [Thu, 25 Sep 2008 10:03:23 +0000 (10:03 +0000)]
Dont claim ownership of /var/log/zypp/history. Fix to build.
Jan Kupec [Wed, 24 Sep 2008 21:41:22 +0000 (21:41 +0000)]
- require recent libsatolver
Jan Kupec [Wed, 24 Sep 2008 21:38:50 +0000 (21:38 +0000)]
- removed debug message
Jan Kupec [Wed, 24 Sep 2008 21:33:56 +0000 (21:33 +0000)]
- release
Jan Kupec [Wed, 24 Sep 2008 17:49:35 +0000 (17:49 +0000)]
- one more alias to escape
Jan Kupec [Wed, 24 Sep 2008 17:26:10 +0000 (17:26 +0000)]
changes
Jan Kupec [Wed, 24 Sep 2008 17:11:06 +0000 (17:11 +0000)]
- str::escape(string, char) added
- escape aliases in the history file (the rest of the values should not
contain '|')
Duncan Mac-Vicar P [Wed, 24 Sep 2008 16:59:01 +0000 (16:59 +0000)]
doc
Duncan Mac-Vicar P [Wed, 24 Sep 2008 16:59:00 +0000 (16:59 +0000)]
deleted
Duncan Mac-Vicar P [Wed, 24 Sep 2008 16:58:54 +0000 (16:58 +0000)]
seems to work, or better called, first working version, now checks the checksums too
Jan Kupec [Wed, 24 Sep 2008 16:10:37 +0000 (16:10 +0000)]
- logrotate for history
Jan Kupec [Wed, 24 Sep 2008 14:40:00 +0000 (14:40 +0000)]
- indent & some comments
Jan Kupec [Wed, 24 Sep 2008 14:16:56 +0000 (14:16 +0000)]
- new History Log, first version (fate #110205)
- todo: HistoryFileReader API
- todo: log @System.solv changes (post 11.1 maybe?)
Michael Andres [Wed, 24 Sep 2008 11:37:11 +0000 (11:37 +0000)]
use non-throwing test for presence of Target
Duncan Mac-Vicar P [Tue, 23 Sep 2008 16:29:53 +0000 (16:29 +0000)]
- refactoring of Fetcher into smaller methods
- start to implement enqueueDir, to allow crypto checking of slideshow
- create a testcase to do changes without making anyone nervous :-)
Duncan Mac-Vicar P [Tue, 23 Sep 2008 16:29:51 +0000 (16:29 +0000)]
- refactor fetcher big loop method in smaller methods
Michael Andres [Tue, 23 Sep 2008 12:35:26 +0000 (12:35 +0000)]
rename as to asKind
Jan Kupec [Tue, 23 Sep 2008 12:04:34 +0000 (12:04 +0000)]
changes
Jan Kupec [Tue, 23 Sep 2008 11:57:48 +0000 (11:57 +0000)]
- avoid passing service credentials to repos if their urls are not based on services's url
- use service's credentials otherwise
Duncan Mac-Vicar P [Tue, 23 Sep 2008 11:52:38 +0000 (11:52 +0000)]
- remove patch rpms
Jan Kupec [Tue, 23 Sep 2008 11:35:21 +0000 (11:35 +0000)]
- when looking for credentials, use wanted_url.startsWith(stored_url)
Michael Andres [Tue, 23 Sep 2008 10:25:00 +0000 (10:25 +0000)]
add ResObject::as<Package>()
Stefan Schubert [Tue, 23 Sep 2008 08:12:07 +0000 (08:12 +0000)]
added new translations
Duncan Mac-Vicar P [Mon, 22 Sep 2008 16:57:39 +0000 (16:57 +0000)]
- refactor the repository matching with products, not yet complete
- move the cpename up to resobject as it is a generic attribute
(and can be useful to match vulnerabilities in the future)
Michael Andres [Mon, 22 Sep 2008 14:29:15 +0000 (14:29 +0000)]
Remove superfluous PRODUCT_REFERENCES attribute.
Michael Andres [Mon, 22 Sep 2008 14:22:52 +0000 (14:22 +0000)]
- Add Url::hasCredentialsInAuthority test for username or password
being encoded in the authority component. I.e. user:pass@host.
- Handle repos to be disabled disable in service refresh.
Michael Andres [Mon, 22 Sep 2008 13:58:10 +0000 (13:58 +0000)]
Add Url::hasUserPass() test whether Url has a "username:password" encoded.
Duncan Mac-Vicar P [Mon, 22 Sep 2008 13:08:14 +0000 (13:08 +0000)]
add products/keywords to repository
add cpename to product
Duncan Mac-Vicar P [Mon, 22 Sep 2008 12:24:28 +0000 (12:24 +0000)]
-fix testcase
- workaround a bug in sat solver where two extra datas inserted in -1 one goes to
0 and the other to 1 extras. So just look for the knowid
Duncan Mac-Vicar P [Mon, 22 Sep 2008 11:32:55 +0000 (11:32 +0000)]
fix way of using expire
Jan Kupec [Mon, 22 Sep 2008 10:12:42 +0000 (10:12 +0000)]
changes
Jan Kupec [Mon, 22 Sep 2008 10:09:37 +0000 (10:09 +0000)]
- provided context to keyring callbacks (bnc #370223)
- merged trust & import callbacks (bnc #366467)
(don't worry, still allows to trust && !import)
Michael Andres [Fri, 19 Sep 2008 11:25:51 +0000 (11:25 +0000)]
- Moved DefaultAcceptBits enum to class KeyRing (formerly KeyRingReort).
- Fix Deltarpm_test. Running the test polluted the source tree.
Michael Andres [Thu, 18 Sep 2008 14:34:34 +0000 (14:34 +0000)]
update changes and version
Michael Andres [Thu, 18 Sep 2008 14:28:11 +0000 (14:28 +0000)]
remove space in alias
Michael Andres [Thu, 18 Sep 2008 14:14:27 +0000 (14:14 +0000)]
Use service alias as namespace for its repositories aliases.
Jan Kupec [Thu, 18 Sep 2008 14:03:36 +0000 (14:03 +0000)]
- Target::type() -> targetDistribution()
Michael Andres [Thu, 18 Sep 2008 13:23:15 +0000 (13:23 +0000)]
fix to compile
Jan Kupec [Thu, 18 Sep 2008 10:47:28 +0000 (10:47 +0000)]
changes
Jan Kupec [Thu, 18 Sep 2008 10:38:45 +0000 (10:38 +0000)]
- delete the leading path from ?credentials param, if the path is not
absolute
Jan Kupec [Thu, 18 Sep 2008 10:34:14 +0000 (10:34 +0000)]
- repomanager: pass service's credentials down to repos
- credmanager: add*Cred(), save() added, saveIn() renamed to saveInFile()
Michael Andres [Thu, 18 Sep 2008 08:24:47 +0000 (08:24 +0000)]
deprecare Product::type, use isTargetDistribution instead
Michael Andres [Thu, 18 Sep 2008 07:59:45 +0000 (07:59 +0000)]
- Add Product::isTargetDistribution to identify the systems installed baseproduct.
Jan Kupec [Wed, 17 Sep 2008 21:40:33 +0000 (21:40 +0000)]
- set 600 on user creds and 640 permissions on global creds file
- clearAll() added
Jan Kupec [Wed, 17 Sep 2008 16:06:39 +0000 (16:06 +0000)]
changes
Jan Kupec [Wed, 17 Sep 2008 16:05:28 +0000 (16:05 +0000)]
- save user credentials when adding repos/services with URLs containing
the credentials (bnc #425462)
Jan Kupec [Wed, 17 Sep 2008 15:14:16 +0000 (15:14 +0000)]
- modifyService() disable repos when disabling service
Jan Kupec [Wed, 17 Sep 2008 15:11:47 +0000 (15:11 +0000)]
- new CredentialManager Impl
- INI file format of credential files
- uses /etc/zypp/credentials.cat, ~/.zypp/credentials.cat for
credentials with URLs, and /etc/zypp/credentials.d/* for credentials
without URL (specified via ?credentials=file URL parameter)
(todo: make the locations configurable via ZConfig)
- todo: some more convenient methods
Michael Andres [Wed, 17 Sep 2008 13:10:16 +0000 (13:10 +0000)]
- Adapt to rpms new way of quoting whitespace in pathnames.(bnc #426924)
Michael Andres [Tue, 16 Sep 2008 16:42:58 +0000 (16:42 +0000)]
Service handling fixes. Added ServiceException.
Michael Andres [Tue, 16 Sep 2008 13:28:06 +0000 (13:28 +0000)]
tollerate empty url
Jan Kupec [Tue, 16 Sep 2008 10:25:55 +0000 (10:25 +0000)]
- complain if 'alias' is not supplied
Jan Kupec [Mon, 15 Sep 2008 21:10:12 +0000 (21:10 +0000)]
- distro_target is optional
Jan Kupec [Mon, 15 Sep 2008 14:47:12 +0000 (14:47 +0000)]
- comments
Jan Kupec [Mon, 15 Sep 2008 11:46:46 +0000 (11:46 +0000)]
- two more attributes
Jan Kupec [Mon, 15 Sep 2008 11:37:20 +0000 (11:37 +0000)]
- repoindex.xml schema added
Michael Andres [Mon, 15 Sep 2008 09:42:09 +0000 (09:42 +0000)]
Fix building of transaltions.
Jan Kupec [Sat, 13 Sep 2008 22:11:32 +0000 (22:11 +0000)]
changes
Jan Kupec [Sat, 13 Sep 2008 21:08:15 +0000 (21:08 +0000)]
- clear*() methods added
Michael Andres [Fri, 12 Sep 2008 16:25:41 +0000 (16:25 +0000)]
Create new Service repos in disbaled sate.
Michael Andres [Fri, 12 Sep 2008 15:58:22 +0000 (15:58 +0000)]
Make MatchServiceAlias a real functor (use operator())
Duncan Mac-Vicar P [Fri, 12 Sep 2008 14:33:26 +0000 (14:33 +0000)]
- implement the url retrieval
Michael Andres [Fri, 12 Sep 2008 14:17:39 +0000 (14:17 +0000)]
fix
Michael Andres [Fri, 12 Sep 2008 14:13:45 +0000 (14:13 +0000)]
fix
Michael Andres [Fri, 12 Sep 2008 14:07:45 +0000 (14:07 +0000)]
- Make registerTarget and registerRelease abvailable for installed
product. Required for registration.
Duncan Mac-Vicar P [Fri, 12 Sep 2008 14:05:40 +0000 (14:05 +0000)]
build
Michael Andres [Fri, 12 Sep 2008 13:58:41 +0000 (13:58 +0000)]
remove obsolete attributes
Michael Andres [Fri, 12 Sep 2008 11:56:18 +0000 (11:56 +0000)]
- Add url lists query to Product interface. A generic query and
convenience methods to query urls for "releasenotes", "register",
"updateurls", "extraurls", "optionalurls" and "smolt"
Jan Kupec [Thu, 11 Sep 2008 23:46:02 +0000 (23:46 +0000)]
changes
Jan Kupec [Thu, 11 Sep 2008 23:38:07 +0000 (23:38 +0000)]
- s/Catalog/Repo/g
- s/catalog/Repo/g