platform/upstream/libzypp.git
15 years agoAdd tools/ToolScanRepos: Load repos from URL to test system below /tmp/
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/

15 years agochanges
Ján Kupec [Wed, 4 Mar 2009 23:15:43 +0000 (00:15 +0100)]
changes

15 years agoMerge branch 'master' of ssh://git@git.opensuse.org/projects/zypp/libzypp
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

15 years agozypp.conf: fixed and enabled 'servicesdir'.
Ján Kupec [Wed, 4 Mar 2009 23:08:08 +0000 (00:08 +0100)]
zypp.conf: fixed and enabled 'servicesdir'.

15 years agorequire sat-solver 0.14.0
Duncan Mac-Vicar P [Wed, 4 Mar 2009 17:01:01 +0000 (18:01 +0100)]
require sat-solver 0.14.0

15 years agobackup
Michael Andres [Wed, 4 Mar 2009 12:12:17 +0000 (13:12 +0100)]
backup

15 years agomore changes for 6.2.1
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:58:59 +0000 (16:58 +0100)]
more changes for 6.2.1

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
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

15 years agoreset settings on attach to avoid duplicating headers
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:58:01 +0000 (16:58 +0100)]
reset settings on attach to avoid duplicating headers

15 years agomethod to reset the transfer settings
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:57:33 +0000 (16:57 +0100)]
method to reset the transfer settings

15 years agoReintroduce ResStatus UninstalledDueToObsolete.
Michael Andres [Tue, 3 Mar 2009 15:51:05 +0000 (16:51 +0100)]
Reintroduce ResStatus UninstalledDueToObsolete.

15 years agono need include again
Duncan Mac-Vicar P [Tue, 3 Mar 2009 15:21:22 +0000 (16:21 +0100)]
no need include again

15 years agoadd bug for this change
Duncan Mac-Vicar P [Tue, 3 Mar 2009 14:23:53 +0000 (15:23 +0100)]
add bug for this change

15 years agorequire new satsolver
Duncan Mac-Vicar P [Tue, 3 Mar 2009 14:17:48 +0000 (15:17 +0100)]
require new satsolver

15 years agomerge changes
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:54:08 +0000 (13:54 +0100)]
merge changes

15 years agochanges
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:52:25 +0000 (13:52 +0100)]
changes

15 years agoimplement failover correctly
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:52:02 +0000 (13:52 +0100)]
implement failover correctly

15 years agobackup
Duncan Mac-Vicar P [Tue, 3 Mar 2009 12:51:49 +0000 (13:51 +0100)]
backup

15 years agochanges
Michael Andres [Tue, 3 Mar 2009 11:47:27 +0000 (12:47 +0100)]
changes

15 years agoAdapt to changed satsolver API.
Michael Andres [Tue, 3 Mar 2009 11:47:18 +0000 (12:47 +0100)]
Adapt to changed satsolver API.

15 years agoaria: add right progress and speed reporting
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:35:14 +0000 (11:35 +0100)]
aria: add right progress and speed reporting

15 years agomy testcase for testing aria reports
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:34:29 +0000 (11:34 +0100)]
my testcase for testing aria reports

15 years agoadd string accessor for Regex
Duncan Mac-Vicar P [Tue, 3 Mar 2009 10:34:00 +0000 (11:34 +0100)]
add string accessor for Regex

15 years agoaria2: disable pre file allocation
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:14:55 +0000 (18:14 +0100)]
aria2: disable pre file allocation

15 years agoavoid broken pipe when looking for aria
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:02:49 +0000 (18:02 +0100)]
avoid broken pipe when looking for aria

15 years agoadd line end
Duncan Mac-Vicar P [Mon, 2 Mar 2009 17:02:30 +0000 (18:02 +0100)]
add line end

15 years agoResStatus transition testcase
Michael Andres [Mon, 2 Mar 2009 13:19:17 +0000 (14:19 +0100)]
ResStatus transition testcase

15 years agodid not work, try setting the path
Duncan Mac-Vicar P [Fri, 27 Feb 2009 22:56:34 +0000 (23:56 +0100)]
did not work, try setting the path

15 years agofix build
Duncan Mac-Vicar P [Fri, 27 Feb 2009 22:41:53 +0000 (23:41 +0100)]
fix build

15 years agochanges
Michael Andres [Fri, 27 Feb 2009 15:25:14 +0000 (16:25 +0100)]
changes

15 years ago- susetags keys and signatures added as optional resources
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

15 years agochanges
Michael Andres [Thu, 26 Feb 2009 12:58:44 +0000 (13:58 +0100)]
changes

15 years agoUse correct default foe zconfig(solver.checkSystemFile) (bnc# 475144)
Michael Andres [Thu, 26 Feb 2009 10:19:54 +0000 (11:19 +0100)]
Use correct default foe zconfig(solver.checkSystemFile) (bnc# 475144)

15 years agobackup
Michael Andres [Thu, 26 Feb 2009 12:29:15 +0000 (13:29 +0100)]
backup

15 years agoremove accidentally inserted code
Michael Andres [Thu, 26 Feb 2009 12:18:16 +0000 (13:18 +0100)]
remove accidentally inserted code

15 years agocompile with gcc 4.4 (as soon as master would compile with gcc 4.3)
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

15 years agochanges
Michael Andres [Thu, 26 Feb 2009 00:26:31 +0000 (01:26 +0100)]
changes

15 years agoResStatus testcase sketch
Michael Andres [Thu, 26 Feb 2009 00:16:39 +0000 (01:16 +0100)]
ResStatus testcase sketch

15 years agoPrevent ResStatus from overriding user locks. (bnc #475230)
Michael Andres [Thu, 26 Feb 2009 00:15:31 +0000 (01:15 +0100)]
Prevent ResStatus from overriding user locks. (bnc #475230)

15 years agoTestSetup: move common define to header file
Michael Andres [Wed, 25 Feb 2009 21:38:38 +0000 (22:38 +0100)]
TestSetup: move common define to header file

15 years agobuild the tests first
Duncan Mac-Vicar P [Wed, 25 Feb 2009 13:00:58 +0000 (14:00 +0100)]
build the tests first

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
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

15 years agomake possible to run the testsuite from the spec file
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

15 years agocheck that webserver is stopped before starting
Duncan Mac-Vicar P [Tue, 24 Feb 2009 23:34:13 +0000 (00:34 +0100)]
check that webserver is stopped before starting

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
Stefan Schubert [Mon, 23 Feb 2009 16:53:49 +0000 (17:53 +0100)]
Merge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp

15 years agoadded more testcase information
Stefan Schubert [Mon, 23 Feb 2009 16:53:21 +0000 (17:53 +0100)]
added more testcase information

15 years agoupdate to trunk und fix crash
Duncan Mac-Vicar P [Mon, 23 Feb 2009 16:10:38 +0000 (17:10 +0100)]
update to trunk und fix crash

15 years agotake care about SOLVER_PROBLEM_DISTUPGRADE_RULE/SOLVER_PROBLEM_INFARCH_RULE
Stefan Schubert [Mon, 23 Feb 2009 14:33:15 +0000 (15:33 +0100)]
take care about SOLVER_PROBLEM_DISTUPGRADE_RULE/SOLVER_PROBLEM_INFARCH_RULE

15 years agoupdate aria dependency
Duncan Mac-Vicar P [Mon, 23 Feb 2009 00:16:20 +0000 (01:16 +0100)]
update aria dependency

15 years ago- add two remote web test cases
Duncan Mac-Vicar P [Sun, 22 Feb 2009 21:49:05 +0000 (22:49 +0100)]
- add two remote web test cases

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
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

15 years agofurther refactor media2curl.
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.

15 years agochanges
Michael Andres [Sun, 22 Feb 2009 14:28:10 +0000 (15:28 +0100)]
changes

15 years agoNever refresh repositories from CD/DVD, once they are created. (bnc #476429)
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)

15 years agobig MediaCurl refactoring, to share the settings initialization with
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)

15 years agochanges
Duncan Mac-Vicar P [Sat, 21 Feb 2009 17:32:34 +0000 (18:32 +0100)]
changes

15 years agofinally I saw the light, MediaAria2 now inherits MediaCurl, therefore
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.

15 years agochanges
Duncan Mac-Vicar P [Fri, 20 Feb 2009 15:40:27 +0000 (16:40 +0100)]
changes

15 years agomerge poeml suggested changes, make sure we have the right aria version
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

15 years agoMerge branch 'aria'
Duncan Mac-Vicar P [Fri, 20 Feb 2009 13:51:17 +0000 (14:51 +0100)]
Merge branch 'aria'

15 years ago- implement "does file exist" using curl command line in the aria backend
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

15 years agomake TransferProgram actually a data transfer class to keep transfer
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 :-) )

15 years agochanges
Michael Andres [Wed, 18 Feb 2009 14:54:14 +0000 (15:54 +0100)]
changes

15 years agoNeither lose packages with empty name, nor SEGV when processing them. (bnc #470011)
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)

15 years agoAdd options for TestSetup.
Michael Andres [Wed, 18 Feb 2009 10:47:14 +0000 (11:47 +0100)]
Add options for TestSetup.

15 years agoremove unused 'DueToObsolete' from ResStatus
Michael Andres [Tue, 17 Feb 2009 23:31:27 +0000 (00:31 +0100)]
remove unused 'DueToObsolete' from ResStatus

15 years agoremove outdated and unused devel directories
Michael Andres [Tue, 17 Feb 2009 22:21:22 +0000 (23:21 +0100)]
remove outdated and unused devel directories

15 years agochanges
Michael Andres [Tue, 17 Feb 2009 22:19:31 +0000 (23:19 +0100)]
changes

15 years agoUse fixed WhatObsoletes in install order computation.
Michael Andres [Tue, 17 Feb 2009 22:10:51 +0000 (23:10 +0100)]
Use fixed WhatObsoletes in install order computation.

15 years agoCompute obsoletes based on names only (not considering provides) (bnc #471023)
Michael Andres [Tue, 17 Feb 2009 17:04:03 +0000 (18:04 +0100)]
Compute obsoletes based on names only (not considering provides) (bnc #471023)

15 years agostart refactoring command line calling into a separate entity so we
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

15 years agochanges
Ján Kupec [Tue, 17 Feb 2009 12:01:55 +0000 (13:01 +0100)]
changes

15 years agoFixed CurlAuthData::valid()
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.

15 years agorename enum to something more readable
Duncan Mac-Vicar P [Mon, 16 Feb 2009 14:37:41 +0000 (15:37 +0100)]
rename enum to something more readable

15 years agoRefactor all error handling workflow into a unique function powered
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).

15 years agoMerge branch 'master' into dmacvicar_aria
Duncan Mac-Vicar P [Fri, 13 Feb 2009 14:12:51 +0000 (15:12 +0100)]
Merge branch 'master' into dmacvicar_aria

15 years agoBig refactoring of MediaSetAccess
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]>

15 years agoclean outdated files
Michael Andres [Thu, 12 Feb 2009 17:22:32 +0000 (18:22 +0100)]
clean outdated files

15 years agoFollow IEC and use the binary prefixes (KiB,MiB,GiB) for printing Byte
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).

15 years agochanges
Michael Andres [Mon, 9 Feb 2009 12:15:16 +0000 (13:15 +0100)]
changes

15 years agoFix installation prompting for the wrong CD/DVD. (bnc #472892)
Michael Andres [Mon, 9 Feb 2009 12:10:50 +0000 (13:10 +0100)]
Fix installation prompting for the wrong CD/DVD. (bnc #472892)

15 years agoFix ProductFile parser to use parseDefAssign end_element callbacks.
Michael Andres [Fri, 6 Feb 2009 12:25:24 +0000 (13:25 +0100)]
Fix ProductFile parser to use parseDefAssign end_element callbacks.

15 years agoAdd xml::rnParse, a simple and lightweight xml::Reader interface.
Michael Andres [Thu, 5 Feb 2009 18:32:14 +0000 (19:32 +0100)]
Add xml::rnParse, a simple and lightweight xml::Reader interface.

15 years agoEnhance xml::parseDefAssign to support Node attribute consumption and pre/post-proces...
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.

15 years agoconvenience added
Michael Andres [Fri, 6 Feb 2009 10:57:12 +0000 (11:57 +0100)]
convenience added

15 years agoFix wrong callback redirection
Michael Andres [Fri, 6 Feb 2009 10:57:51 +0000 (11:57 +0100)]
Fix wrong callback redirection

15 years agoProtect Edition against construction with NULL pointer.
Michael Andres [Thu, 5 Feb 2009 23:20:23 +0000 (00:20 +0100)]
Protect Edition against construction with NULL pointer.

15 years agoadd url() to webserver so we can detect hostname and jump over the ipv6
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

15 years agouse which instead of whereis, at least gives a error code back
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

15 years agoRequire aria now that it is default
Duncan Mac-Vicar P [Thu, 5 Feb 2009 15:50:32 +0000 (16:50 +0100)]
Require aria now that it is default

15 years agoForgot to include mongoose (new shttpd name)
Duncan Mac-Vicar P [Thu, 5 Feb 2009 14:59:29 +0000 (15:59 +0100)]
Forgot to include mongoose (new shttpd name)

15 years agoMerge branch 'master' of git@git.opensuse.org:projects/zypp/libzypp
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

15 years agofinally testcases pass.
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

15 years agoadd support for webrick to WebServer.
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

15 years agoLet xml::ParseDef skip initial comments.
Michael Andres [Wed, 4 Feb 2009 16:11:51 +0000 (17:11 +0100)]
Let xml::ParseDef skip initial comments.

15 years agochanges
Michael Andres [Tue, 3 Feb 2009 17:08:31 +0000 (18:08 +0100)]
changes

15 years agoSend any output from rpm install/delete scripts via callback,
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)

15 years agochanges
Michael Andres [Mon, 2 Feb 2009 13:12:52 +0000 (14:12 +0100)]
changes

15 years agoAdd missing translations (bnc #256289)
Michael Andres [Mon, 2 Feb 2009 13:07:05 +0000 (14:07 +0100)]
Add missing translations (bnc #256289)

15 years agoadded SOLVER_SOLUTION_INFARCH and SOLVER_SOLUTION_DISTUPGRADE to the solutions; fixed...
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