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
Ján Kupec [Wed, 28 Jan 2009 13:38:22 +0000 (14:38 +0100)]
changes
Ján Kupec [Wed, 28 Jan 2009 13:36:39 +0000 (14:36 +0100)]
backup
Ján Kupec [Wed, 28 Jan 2009 13:35:53 +0000 (14:35 +0100)]
HistoryLogReader::readFrom() and readFromTo() added.
Michael Andres [Tue, 27 Jan 2009 12:36:33 +0000 (13:36 +0100)]
changes
Michael Andres [Tue, 27 Jan 2009 12:21:41 +0000 (13:21 +0100)]
Respect content-file DATDIR when downloading packages. (bnc #468612)
Ján Kupec [Tue, 27 Jan 2009 12:33:44 +0000 (13:33 +0100)]
changes
Ján Kupec [Tue, 27 Jan 2009 12:11:43 +0000 (13:11 +0100)]
Enabled CredentialManager for MediaSMB (bnc #460970).
Ján Kupec [Tue, 27 Jan 2009 11:43:23 +0000 (12:43 +0100)]
Ignore URL's username, password, and query string in AuthData comparator.
Ján Kupec [Mon, 26 Jan 2009 12:57:02 +0000 (13:57 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
Ján Kupec [Mon, 26 Jan 2009 12:28:49 +0000 (13:28 +0100)]
HistoryLog reader:
- dumpTo() and operator<< for HistoryItem*
- hid implementation
- allow to ignore invalid log entries with setIngoreInvalidItems(true)
Michael Andres [Mon, 26 Jan 2009 11:42:00 +0000 (12:42 +0100)]
changes
Michael Andres [Mon, 26 Jan 2009 11:17:45 +0000 (12:17 +0100)]
Let vendor checks per default differ between 'openSUSE Build Service' and 'openSUSE' (bnc #467262).
Ján Kupec [Mon, 26 Jan 2009 09:33:06 +0000 (10:33 +0100)]
backup
Ján Kupec [Mon, 26 Jan 2009 07:27:08 +0000 (08:27 +0100)]
Missing newline at the end of some log entries.
Ján Kupec [Sun, 25 Jan 2009 17:50:28 +0000 (18:50 +0100)]
HistoryLogReader added
Ján Kupec [Sun, 25 Jan 2009 16:08:41 +0000 (17:08 +0100)]
fixed uninitialized variables
Michael Andres [Fri, 23 Jan 2009 11:35:52 +0000 (12:35 +0100)]
changes
Michael Andres [Fri, 23 Jan 2009 11:16:57 +0000 (12:16 +0100)]
Fix handling of plaindir repos on mounted devices (e.g. USB) (bnc #464778)
Michael Andres [Thu, 22 Jan 2009 14:29:48 +0000 (15:29 +0100)]
Fix plaindir checksum computation not to to follow symlinks (bnc #464778)
Ján Kupec [Thu, 22 Jan 2009 17:50:29 +0000 (18:50 +0100)]
Date test added.
Ján Kupec [Thu, 22 Jan 2009 17:48:51 +0000 (18:48 +0100)]
Adjust locale in Date(str, format) c-tor, like in Date::format().
Ján Kupec [Thu, 22 Jan 2009 17:10:59 +0000 (18:10 +0100)]
Date(str,format) added.
Ján Kupec [Thu, 22 Jan 2009 15:30:30 +0000 (16:30 +0100)]
indent
Ján Kupec [Thu, 22 Jan 2009 15:28:39 +0000 (16:28 +0100)]
Merge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
Ján Kupec [Thu, 22 Jan 2009 15:24:28 +0000 (16:24 +0100)]
str::splitFieldsEscaped() added
str::splitFieldsEscaped() added and str::splitEscaped() extened
by an optional bool parameter 'withEmpty', to include empty fields
in the result.
Michael Andres [Thu, 22 Jan 2009 09:43:24 +0000 (10:43 +0100)]
changes
Michael Andres [Thu, 22 Jan 2009 08:46:18 +0000 (09:46 +0100)]
Tell satsolver about product buddies (bnc #466565)
Michael Andres [Wed, 21 Jan 2009 15:32:35 +0000 (16:32 +0100)]
Adapt to git hosting
Ján Kupec [Mon, 19 Jan 2009 10:40:45 +0000 (11:40 +0100)]
fixed mem leak