Michael Andres [Thu, 5 Mar 2009 10:09:16 +0000 (11:09 +0100)]
Add tools/ToolScanRepos: Load repos from URL to test system below /tmp/
Ján Kupec [Wed, 4 Mar 2009 23:15:43 +0000 (00:15 +0100)]
changes
Ján Kupec [Wed, 4 Mar 2009 23:11:54 +0000 (00:11 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
Ján Kupec [Wed, 4 Mar 2009 23:08:08 +0000 (00:08 +0100)]
zypp.conf: fixed and enabled 'servicesdir'.
Duncan Mac-Vicar P [Wed, 4 Mar 2009 17:01:01 +0000 (18:01 +0100)]
require sat-solver 0.14.0
Michael Andres [Wed, 4 Mar 2009 12:12:17 +0000 (13:12 +0100)]
backup
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:58:59 +0000 (16:58 +0100)]
more changes for 6.2.1
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:58:07 +0000 (16:58 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:58:01 +0000 (16:58 +0100)]
reset settings on attach to avoid duplicating headers
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:57:33 +0000 (16:57 +0100)]
method to reset the transfer settings
Michael Andres [Tue, 3 Mar 2009 15:51:05 +0000 (16:51 +0100)]
Reintroduce ResStatus UninstalledDueToObsolete.
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:21:22 +0000 (16:21 +0100)]
no need include again
Duncan Mac-Vicar P [Tue, 3 Mar 2009 14:23:53 +0000 (15:23 +0100)]
add bug for this change
Duncan Mac-Vicar P [Tue, 3 Mar 2009 14:17:48 +0000 (15:17 +0100)]
require new satsolver
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:54:08 +0000 (13:54 +0100)]
merge changes
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:52:25 +0000 (13:52 +0100)]
changes
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:52:02 +0000 (13:52 +0100)]
implement failover correctly
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:51:49 +0000 (13:51 +0100)]
backup
Michael Andres [Tue, 3 Mar 2009 11:47:27 +0000 (12:47 +0100)]
changes
Michael Andres [Tue, 3 Mar 2009 11:47:18 +0000 (12:47 +0100)]
Adapt to changed satsolver API.
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:35:14 +0000 (11:35 +0100)]
aria: add right progress and speed reporting
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:34:29 +0000 (11:34 +0100)]
my testcase for testing aria reports
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:34:00 +0000 (11:34 +0100)]
add string accessor for Regex
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:14:55 +0000 (18:14 +0100)]
aria2: disable pre file allocation
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:02:49 +0000 (18:02 +0100)]
avoid broken pipe when looking for aria
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:02:30 +0000 (18:02 +0100)]
add line end
Michael Andres [Mon, 2 Mar 2009 13:19:17 +0000 (14:19 +0100)]
ResStatus transition testcase
Duncan Mac-Vicar P [Fri, 27 Feb 2009 22:56:34 +0000 (23:56 +0100)]
did not work, try setting the path
Duncan Mac-Vicar P [Fri, 27 Feb 2009 22:41:53 +0000 (23:41 +0100)]
fix build
Michael Andres [Fri, 27 Feb 2009 15:25:14 +0000 (16:25 +0100)]
changes
Duncan Mac-Vicar P [Thu, 26 Feb 2009 18:07:18 +0000 (19:07 +0100)]
- susetags keys and signatures added as optional resources
- make sure Fetcher pass optional files as non-interactive
- Fixes file does not exist error when key/sig does not exist
Michael Andres [Thu, 26 Feb 2009 12:58:44 +0000 (13:58 +0100)]
changes
Michael Andres [Thu, 26 Feb 2009 10:19:54 +0000 (11:19 +0100)]
Use correct default foe zconfig(solver.checkSystemFile) (bnc# 475144)
Michael Andres [Thu, 26 Feb 2009 12:29:15 +0000 (13:29 +0100)]
backup
Michael Andres [Thu, 26 Feb 2009 12:18:16 +0000 (13:18 +0100)]
remove accidentally inserted code
Stephan Kulow [Thu, 26 Feb 2009 09:54:02 +0000 (10:54 +0100)]
compile with gcc 4.4 (as soon as master would compile with gcc 4.3)
uint16_t needs inttypes.h and in libstdc++43 some other include included
it
Michael Andres [Thu, 26 Feb 2009 00:26:31 +0000 (01:26 +0100)]
changes
Michael Andres [Thu, 26 Feb 2009 00:16:39 +0000 (01:16 +0100)]
ResStatus testcase sketch
Michael Andres [Thu, 26 Feb 2009 00:15:31 +0000 (01:15 +0100)]
Prevent ResStatus from overriding user locks. (bnc #475230)
Michael Andres [Wed, 25 Feb 2009 21:38:38 +0000 (22:38 +0100)]
TestSetup: move common define to header file
Duncan Mac-Vicar P [Wed, 25 Feb 2009 13:00:58 +0000 (14:00 +0100)]
build the tests first
Duncan Mac-Vicar P [Wed, 25 Feb 2009 11:32:05 +0000 (12:32 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Duncan Mac-Vicar P [Wed, 25 Feb 2009 11:31:57 +0000 (12:31 +0100)]
make possible to run the testsuite from the spec file
Duncan Mac-Vicar P [Tue, 24 Feb 2009 23:34:13 +0000 (00:34 +0100)]
check that webserver is stopped before starting
Stefan Schubert [Mon, 23 Feb 2009 16:53:49 +0000 (17:53 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Stefan Schubert [Mon, 23 Feb 2009 16:53:21 +0000 (17:53 +0100)]
added more testcase information
Duncan Mac-Vicar P [Mon, 23 Feb 2009 16:10:38 +0000 (17:10 +0100)]
update to trunk und fix crash
Stefan Schubert [Mon, 23 Feb 2009 14:33:15 +0000 (15:33 +0100)]
take care about SOLVER_PROBLEM_DISTUPGRADE_RULE/SOLVER_PROBLEM_INFARCH_RULE
Duncan Mac-Vicar P [Mon, 23 Feb 2009 00:16:20 +0000 (01:16 +0100)]
update aria dependency
Duncan Mac-Vicar P [Sun, 22 Feb 2009 21:49:05 +0000 (22:49 +0100)]
- add two remote web test cases
Duncan Mac-Vicar P [Sun, 22 Feb 2009 17:11:57 +0000 (18:11 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Conflicts:
package/libzypp.changes
Duncan Mac-Vicar P [Sun, 22 Feb 2009 15:16:50 +0000 (16:16 +0100)]
further refactor media2curl.
Move all the exception checking (duplicated across two methods) to its own place
so we can reuse it when implementing range transfer support.
Michael Andres [Sun, 22 Feb 2009 14:28:10 +0000 (15:28 +0100)]
changes
Michael Andres [Sun, 22 Feb 2009 14:17:42 +0000 (15:17 +0100)]
Never refresh repositories from CD/DVD, once they are created. (bnc #476429)
Duncan Mac-Vicar P [Sun, 22 Feb 2009 01:00:25 +0000 (02:00 +0100)]
big MediaCurl refactoring, to share the settings initialization with
MediaAria2c.
- replace lot of curl_easy_setop with exception checking to a
macro to reduce duplicated code
- implement download.min_download_speed (default no limit)
download.max_download_speed (default no limit) for MediaCurl as well
Still thinking if MediaCurl should be still the default for https, because
aria does not support a CA dir (only files)
Duncan Mac-Vicar P [Sat, 21 Feb 2009 17:32:34 +0000 (18:32 +0100)]
changes
Duncan Mac-Vicar P [Sat, 21 Feb 2009 17:28:12 +0000 (18:28 +0100)]
finally I saw the light, MediaAria2 now inherits MediaCurl, therefore
has access to curl methods, or any functionality which aria does not provides.
Implemented the following options with aria:
download.max_concurrent_connections (default 2)
download.min_download_speed (default no limit)
download.max_download_speed (default no limit)
download.max_silent_tries (default 5)
Lot of duplicated code removed, and no longer require command line curl.
Now lets see if we can remove duplicated code in curl iteself and also
implement range support.
Duncan Mac-Vicar P [Fri, 20 Feb 2009 15:40:27 +0000 (16:40 +0100)]
changes
Duncan Mac-Vicar P [Fri, 20 Feb 2009 15:27:54 +0000 (16:27 +0100)]
merge poeml suggested changes, make sure we have the right aria version
Duncan Mac-Vicar P [Fri, 20 Feb 2009 13:51:17 +0000 (14:51 +0100)]
Merge branch 'aria'
Duncan Mac-Vicar P [Fri, 20 Feb 2009 13:48:23 +0000 (14:48 +0100)]
- implement "does file exist" using curl command line in the aria backend
- fix testcases by using webserver class once per test
- switch tests back to mongoose embeded
PENDING:
- handling curl errors more granular
- enable aria backend by default, allow using ZYPP_ARIA2C=0 to disable
Duncan Mac-Vicar P [Wed, 18 Feb 2009 17:33:24 +0000 (18:33 +0100)]
make TransferProgram actually a data transfer class to keep transfer
settings and share them across curl and aria.
Integrate for first time curl into aria
add a new test case for media set access doesFileExist (which does not
pass, because when it does, I am done :-) )
Michael Andres [Wed, 18 Feb 2009 14:54:14 +0000 (15:54 +0100)]
changes
Michael Andres [Wed, 18 Feb 2009 12:24:47 +0000 (13:24 +0100)]
Neither lose packages with empty name, nor SEGV when processing them. (bnc #470011)
Michael Andres [Wed, 18 Feb 2009 10:47:14 +0000 (11:47 +0100)]
Add options for TestSetup.
Michael Andres [Tue, 17 Feb 2009 23:31:27 +0000 (00:31 +0100)]
remove unused 'DueToObsolete' from ResStatus
Michael Andres [Tue, 17 Feb 2009 22:21:22 +0000 (23:21 +0100)]
remove outdated and unused devel directories
Michael Andres [Tue, 17 Feb 2009 22:19:31 +0000 (23:19 +0100)]
changes
Michael Andres [Tue, 17 Feb 2009 22:10:51 +0000 (23:10 +0100)]
Use fixed WhatObsoletes in install order computation.
Michael Andres [Tue, 17 Feb 2009 17:04:03 +0000 (18:04 +0100)]
Compute obsoletes based on names only (not considering provides) (bnc #471023)
Duncan Mac-Vicar P [Tue, 17 Feb 2009 18:05:26 +0000 (19:05 +0100)]
start refactoring command line calling into a separate entity so we
could mix curl and aria usage
Ján Kupec [Tue, 17 Feb 2009 12:01:55 +0000 (13:01 +0100)]
changes
Ján Kupec [Tue, 17 Feb 2009 11:53:26 +0000 (12:53 +0100)]
Fixed CurlAuthData::valid()
Curl (or FTP itself?) does not provide available authentication types hint.
And HTTP can live without an explicit auth type set. Thus, the fix is
to consider CurlAuthData with no authentication type set as valid.
Duncan Mac-Vicar P [Mon, 16 Feb 2009 14:37:41 +0000 (15:37 +0100)]
rename enum to something more readable
Duncan Mac-Vicar P [Sun, 15 Feb 2009 20:03:40 +0000 (21:03 +0100)]
Refactor all error handling workflow into a unique function powered
by functor references (used to rescue results).
Duncan Mac-Vicar P [Fri, 13 Feb 2009 14:12:51 +0000 (15:12 +0100)]
Merge branch 'master' into dmacvicar_aria
Duncan Mac-Vicar P [Fri, 13 Feb 2009 14:07:34 +0000 (15:07 +0100)]
Big refactoring of MediaSetAccess
- deprecate MediaSetAccess::provdeOptionalFile
- remove the mess of boolean cached, checkonly and stuff.
- For non-interactive (except for media change) there is a flag
NON_INTERACTIVE which is accepted by provide*
- Downloaders don't need doesFileExist anymore.
- Exceptions are thrown. If you need ignore functionality, Fetcher
has it, using OnMediaLocation::optional()
- refactor MediaSetAccess provideFile, provideDir in one common function
removing tons of duplicated code
Pending/Next: refactor doesFileExist somehow (may be templating)
Fix doesFileExist in aria (may be with a curl external cmd line
implementation) using the following command line options
curl -I
-A agent
--basic
--digest
--connect-timeout
--cookie-jar
--anyauth
header -H "Host:"
--location
--no-keepalive ?
--proxy-basic / digest /negotiate
--proxytunnerl
-r 0-1
--user <user:password>
--proxy-user user:pass
--proxy <proxyhost[:port]>
Michael Andres [Thu, 12 Feb 2009 17:22:32 +0000 (18:22 +0100)]
clean outdated files
Michael Andres [Wed, 11 Feb 2009 12:50:33 +0000 (13:50 +0100)]
Follow IEC and use the binary prefixes (KiB,MiB,GiB) for printing Byte
counts based on a power of 1024 (formerly just K,M,G).
Michael Andres [Mon, 9 Feb 2009 12:15:16 +0000 (13:15 +0100)]
changes
Michael Andres [Mon, 9 Feb 2009 12:10:50 +0000 (13:10 +0100)]
Fix installation prompting for the wrong CD/DVD. (bnc #472892)
Michael Andres [Fri, 6 Feb 2009 12:25:24 +0000 (13:25 +0100)]
Fix ProductFile parser to use parseDefAssign end_element callbacks.
Michael Andres [Thu, 5 Feb 2009 18:32:14 +0000 (19:32 +0100)]
Add xml::rnParse, a simple and lightweight xml::Reader interface.
Michael Andres [Thu, 5 Feb 2009 18:29:16 +0000 (19:29 +0100)]
Enhance xml::parseDefAssign to support Node attribute consumption and pre/post-processing.
Michael Andres [Fri, 6 Feb 2009 10:57:12 +0000 (11:57 +0100)]
convenience added
Michael Andres [Fri, 6 Feb 2009 10:57:51 +0000 (11:57 +0100)]
Fix wrong callback redirection
Michael Andres [Thu, 5 Feb 2009 23:20:23 +0000 (00:20 +0100)]
Protect Edition against construction with NULL pointer.
Duncan Mac-Vicar P [Thu, 5 Feb 2009 17:45:10 +0000 (18:45 +0100)]
add url() to webserver so we can detect hostname and jump over the ipv6
breakage when using localhost
Duncan Mac-Vicar P [Thu, 5 Feb 2009 17:05:38 +0000 (18:05 +0100)]
use which instead of whereis, at least gives a error code back
Duncan Mac-Vicar P [Thu, 5 Feb 2009 15:50:32 +0000 (16:50 +0100)]
Require aria now that it is default
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:59:29 +0000 (15:59 +0100)]
Forgot to include mongoose (new shttpd name)
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:50:25 +0000 (15:50 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:49:25 +0000 (15:49 +0100)]
finally testcases pass.
add ruby to build requires, as we are using webrick for webserver
testcases for now
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:00:30 +0000 (15:00 +0100)]
add support for webrick to WebServer.
Make aria the default
Michael Andres [Wed, 4 Feb 2009 16:11:51 +0000 (17:11 +0100)]
Let xml::ParseDef skip initial comments.
Michael Andres [Tue, 3 Feb 2009 17:08:31 +0000 (18:08 +0100)]
changes
Michael Andres [Tue, 3 Feb 2009 16:09:48 +0000 (17:09 +0100)]
Send any output from rpm install/delete scripts via callback,
so applications are able to display it. (bnc #369450)
Michael Andres [Mon, 2 Feb 2009 13:12:52 +0000 (14:12 +0100)]
changes
Michael Andres [Mon, 2 Feb 2009 13:07:05 +0000 (14:07 +0100)]
Add missing translations (bnc #256289)
Stefan Schubert [Mon, 2 Feb 2009 10:35:56 +0000 (11:35 +0100)]
added SOLVER_SOLUTION_INFARCH and SOLVER_SOLUTION_DISTUPGRADE to the solutions; fixed error messages Bug 443229