platform/upstream/libzypp.git
13 years agoMerge branch 'master' of gitorious.org:opensuse/libzypp
Duncan Mac-Vicar P [Mon, 6 Dec 2010 10:08:47 +0000 (11:08 +0100)]
Merge branch 'master' of gitorious.org:opensuse/libzypp

13 years agoimprove documentation for writing testcases
Duncan Mac-Vicar P [Mon, 22 Nov 2010 10:49:17 +0000 (11:49 +0100)]
improve documentation for writing testcases

13 years agochanges 8.10.0 8.10.0
Dominik Heidler [Wed, 1 Dec 2010 16:41:15 +0000 (17:41 +0100)]
changes 8.10.0

13 years agoRemove Cache-files which don't contain any usable URLs
Dominik Heidler [Wed, 1 Dec 2010 16:24:22 +0000 (17:24 +0100)]
Remove Cache-files which don't contain any usable URLs

13 years agoLet RepoInfo use only one Replacer instance as this allows Replacer-Var caching
Dominik Heidler [Wed, 1 Dec 2010 16:22:54 +0000 (17:22 +0100)]
Let RepoInfo use only one Replacer instance as this allows Replacer-Var caching

13 years agoRepoVariable String- and UrlReplacer will now cache sysarch, basearch and releasever
Dominik Heidler [Wed, 1 Dec 2010 14:55:18 +0000 (15:55 +0100)]
RepoVariable String- and UrlReplacer will now cache sysarch, basearch and releasever
Added Cache-Reset Method resetVarCache()

13 years agofix rpm building (bnc#329635)
Dominik Heidler [Wed, 1 Dec 2010 10:36:25 +0000 (11:36 +0100)]
fix rpm building (bnc#329635)

13 years agochanges 8.9.0 8.9.0
Dominik Heidler [Tue, 30 Nov 2010 16:13:09 +0000 (17:13 +0100)]
changes 8.9.0

13 years agoadd mirrorlist caching:
Dominik Heidler [Tue, 30 Nov 2010 16:06:38 +0000 (17:06 +0100)]
add mirrorlist caching:
the mirrorlist will be cached until the repo_refresh_delay time is over

13 years agoDiscard stderr when reading service plugin output.
Michael Andres [Mon, 29 Nov 2010 17:00:19 +0000 (18:00 +0100)]
Discard stderr when reading service plugin output.

13 years agochanges 8.8.2 8.8.2
Michael Andres [Mon, 29 Nov 2010 11:33:43 +0000 (12:33 +0100)]
changes 8.8.2

13 years agoIcons for libzypp should go into desktop-data. (bnc#329635)
Michael Andres [Mon, 29 Nov 2010 11:33:28 +0000 (12:33 +0100)]
Icons for libzypp should go into desktop-data. (bnc#329635)

13 years agoFix RepoManager testcase
Michael Andres [Fri, 26 Nov 2010 12:07:27 +0000 (13:07 +0100)]
Fix RepoManager testcase

13 years agoImprove service refresh behavior in case the target is not initialized.
Michael Andres [Thu, 25 Nov 2010 08:34:26 +0000 (09:34 +0100)]
Improve service refresh behavior in case the target is not initialized.

13 years agochanges
Michael Andres [Wed, 24 Nov 2010 11:01:48 +0000 (12:01 +0100)]
changes

13 years agochanges 8.8.1 8.8.1
Michael Andres [Wed, 24 Nov 2010 10:57:55 +0000 (11:57 +0100)]
changes 8.8.1

13 years agoProperly handle FTP response 550. (bnc#645747)
Michael Andres [Wed, 24 Nov 2010 10:57:35 +0000 (11:57 +0100)]
Properly handle FTP response 550. (bnc#645747)

13 years agolibproxy implementation for ProxyInfo. Right now it is used if libproxy is present.
Duncan Mac-Vicar P [Mon, 22 Nov 2010 12:44:39 +0000 (13:44 +0100)]
libproxy implementation for ProxyInfo. Right now it is used if libproxy is present.

We need to improve this, and either read sysconfig in a libproxy reader or another
solution and get rid of the ifdefs.

13 years agoallow proxy information to be url based instead of protocol based only,
David Woodhouse [Mon, 22 Nov 2010 11:03:53 +0000 (12:03 +0100)]
allow proxy information to be url based instead of protocol based only,
while keeping the sysconfig implementation still working

13 years agoMerge branch 'master' of gitorious.org:opensuse/libzypp
Duncan Mac-Vicar P [Mon, 22 Nov 2010 10:49:45 +0000 (11:49 +0100)]
Merge branch 'master' of gitorious.org:opensuse/libzypp

13 years ago- fix segfault, the curl message is freed after curl_multi_remove_handle is called...
Michael Schroeder [Fri, 19 Nov 2010 10:23:09 +0000 (11:23 +0100)]
- fix segfault, the curl message is freed after curl_multi_remove_handle is called (bnc#654600)

13 years agoHandle patch category 'feature' (same as optional).
Michael Andres [Mon, 15 Nov 2010 16:22:13 +0000 (17:22 +0100)]
Handle patch category 'feature' (same as optional).

13 years agoremove garbage :(
Michael Andres [Tue, 9 Nov 2010 12:10:32 +0000 (13:10 +0100)]
remove garbage :(

13 years agoEnlage plugin communication timeouts, also make them configurable via environment.
Michael Andres [Tue, 9 Nov 2010 12:02:05 +0000 (13:02 +0100)]
Enlage plugin communication timeouts, also make them configurable via environment.

- default (send and receive 30 sec.
- ZYPP_PLUGIN_TIMEOUT
- ZYPP_PLUGIN_SEND_TIMEOUT
- ZYPP_PLUGIN_RECEIVE_TIMEOUT []

13 years agoUpdate zypp-po.tar.bz2
Michael Andres [Sun, 7 Nov 2010 00:13:39 +0000 (01:13 +0100)]
Update zypp-po.tar.bz2

13 years agoremove noise from test, as I want to use it in the documentation as
Duncan Mac-Vicar P [Fri, 5 Nov 2010 13:53:53 +0000 (14:53 +0100)]
remove noise from test, as I want to use it in the documentation as
example

13 years agochanges 8.8.0 8.8.0
Dominik Heidler [Wed, 3 Nov 2010 15:08:26 +0000 (16:08 +0100)]
changes 8.8.0

13 years agoadd mirrorlist-support
Dominik Heidler [Wed, 3 Nov 2010 15:04:39 +0000 (16:04 +0100)]
add mirrorlist-support
a metalink (must contain /metalink) or line-seperated mirrorlist
will be parsed, if there is no baseurl set

13 years agoSet swp-files to ignore
Dominik Heidler [Wed, 3 Nov 2010 11:24:05 +0000 (12:24 +0100)]
Set swp-files to ignore

13 years agoadd url-option to select specific mediahandler
Dominik Heidler [Wed, 3 Nov 2010 11:23:30 +0000 (12:23 +0100)]
add url-option to select specific mediahandler

don't delete complete query-string
only delete the corresponding params
add a method for deleting params

13 years agoadded Url::delQueryParam method
Dominik Heidler [Wed, 3 Nov 2010 11:21:50 +0000 (12:21 +0100)]
added Url::delQueryParam method

13 years agoMap patch category strings 'bugfix' and 'enhancement' to categoryEnum values
Michael Andres [Fri, 29 Oct 2010 16:52:12 +0000 (18:52 +0200)]
Map patch category strings 'bugfix' and 'enhancement' to categoryEnum values

13 years agoUpdate repo types.
Michael Andres [Fri, 29 Oct 2010 12:37:42 +0000 (14:37 +0200)]
Update repo types.

13 years agochanges 8.7.1 8.7.1
Michael Andres [Thu, 21 Oct 2010 16:33:59 +0000 (18:33 +0200)]
changes 8.7.1

13 years agoFeed the ProvideFilePolicy progress callback in addition to any connected media:...
Michael Andres [Thu, 21 Oct 2010 16:13:13 +0000 (18:13 +0200)]
Feed the ProvideFilePolicy progress callback in addition to any connected media::DownloadProgressReport (bnc#545106)

13 years agoAdd some typedefs for convenience
Michael Andres [Thu, 21 Oct 2010 16:07:33 +0000 (18:07 +0200)]
Add some typedefs for convenience

13 years agoEnhance exception histories
Michael Andres [Thu, 21 Oct 2010 11:01:49 +0000 (13:01 +0200)]
Enhance exception histories

13 years agoException: add ctor taking a message and an exception to remember as history
Michael Andres [Thu, 21 Oct 2010 11:01:00 +0000 (13:01 +0200)]
Exception: add ctor taking a message and an exception to remember as history

13 years agobackup
Michael Andres [Thu, 21 Oct 2010 09:35:58 +0000 (11:35 +0200)]
backup

13 years agofix warning: label 'std' defined but not used
Michael Andres [Tue, 19 Oct 2010 13:40:58 +0000 (15:40 +0200)]
fix warning: label 'std' defined but not used

13 years agoadd missing include
Michael Andres [Tue, 19 Oct 2010 13:39:58 +0000 (15:39 +0200)]
add missing include

13 years agoQuick add hook for system/spacewalk plugin to send system content after commit.
Michael Andres [Tue, 19 Oct 2010 13:37:42 +0000 (15:37 +0200)]
Quick add hook for system/spacewalk plugin to send system content after commit.

13 years agoAllow usage of RepoVariables ($basearch and $releasever) in mirrorlist
Dominik Heidler [Mon, 18 Oct 2010 10:04:21 +0000 (12:04 +0200)]
Allow usage of RepoVariables ($basearch and $releasever) in mirrorlist
URLs

13 years agoSet autorefresh true for plugin services
Michael Andres [Fri, 15 Oct 2010 15:31:26 +0000 (17:31 +0200)]
Set autorefresh true for plugin services

13 years agoArrange plugin scripts stderr being written to the zypp logfile.
Michael Andres [Fri, 15 Oct 2010 15:14:39 +0000 (17:14 +0200)]
Arrange plugin scripts stderr being written to the zypp logfile.

13 years agoNew class ExternalProgramWithStderr: ExternalProgram extended to offer reading progra...
Michael Andres [Fri, 15 Oct 2010 15:11:58 +0000 (17:11 +0200)]
New class ExternalProgramWithStderr: ExternalProgram extended to offer reading programs stderr.

13 years ago$ZYPP_PLUGIN_DEBUG: Dump plugin scripts send/receive data to the log
Michael Andres [Fri, 15 Oct 2010 09:06:55 +0000 (11:06 +0200)]
$ZYPP_PLUGIN_DEBUG: Dump plugin scripts send/receive data to the log

13 years agoAdd debug log line
Michael Andres [Fri, 15 Oct 2010 09:05:32 +0000 (11:05 +0200)]
Add debug log line

13 years agochanges 8.7.0 8.7.0
Dominik Heidler [Wed, 13 Oct 2010 14:15:38 +0000 (16:15 +0200)]
changes 8.7.0

13 years ago- Make MetaLinkParser accept InputStreams
Dominik Heidler [Wed, 13 Oct 2010 14:11:44 +0000 (16:11 +0200)]
- Make MetaLinkParser accept InputStreams
- Make MetaLinkParser accept Pathnames insted of strings
- Fix MetaLinkv4 hash parsing
- Add MetaLinkParser test

13 years agochanges 8.6.0 8.6.0
Michael Andres [Mon, 11 Oct 2010 15:07:41 +0000 (17:07 +0200)]
changes 8.6.0

13 years agoUse timeouts in plugin script communication.
Michael Andres [Mon, 11 Oct 2010 15:05:46 +0000 (17:05 +0200)]
Use timeouts in plugin script communication.

13 years agoAdd DefaultIntegral::reset
Michael Andres [Mon, 11 Oct 2010 15:02:35 +0000 (17:02 +0200)]
Add DefaultIntegral::reset

13 years agoExternalProgram: Correctly remember exit status
Michael Andres [Mon, 11 Oct 2010 15:02:12 +0000 (17:02 +0200)]
ExternalProgram: Correctly remember exit status

13 years agoUpdate zypp-po.tar.bz2
Michael Andres [Sat, 9 Oct 2010 23:13:40 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2

13 years agochanges
Duncan Mac-Vicar P [Fri, 8 Oct 2010 08:43:39 +0000 (10:43 +0200)]
changes

13 years agofix services not being linked to their file after being saved
Duncan Mac-Vicar P [Fri, 8 Oct 2010 08:42:12 +0000 (10:42 +0200)]
fix services not being linked to their file after being saved

13 years agoadded eclipse files
Ján Kupec [Thu, 7 Oct 2010 07:04:11 +0000 (09:04 +0200)]
added eclipse files

13 years agochanges
Ján Kupec [Thu, 7 Oct 2010 07:04:04 +0000 (09:04 +0200)]
changes

13 years agoDon't use aria2c for FTP (bnc #641328)
Ján Kupec [Thu, 7 Oct 2010 07:01:33 +0000 (09:01 +0200)]
Don't use aria2c for FTP (bnc #641328)

13 years agoset lang variable in the mkChangelog file to en
Dominik Heidler [Wed, 6 Oct 2010 16:05:04 +0000 (18:05 +0200)]
set lang variable in the mkChangelog file to en

13 years agofix dates in changes file being in german
Duncan Mac-Vicar P [Wed, 6 Oct 2010 15:44:09 +0000 (17:44 +0200)]
fix dates in changes file being in german

13 years agochanges 8.5.0 8.5.0
Duncan Mac-Vicar P [Wed, 6 Oct 2010 15:41:15 +0000 (17:41 +0200)]
changes 8.5.0

13 years agoUrlResolverPlugin implementation
Duncan Mac-Vicar P [Wed, 6 Oct 2010 15:38:00 +0000 (17:38 +0200)]
UrlResolverPlugin implementation
Documentation can be found here: http://en.opensuse.org/openSUSE:Libzypp_plugins

13 years ago- throw a MediaException if script fails, and use the >> operator
Duncan Mac-Vicar P [Mon, 4 Oct 2010 13:55:38 +0000 (15:55 +0200)]
- throw a MediaException if script fails, and use the >> operator
  of ExternalProgram to fill the buffer

13 years agoNew base/Signal.h: Exception safe signal handler save/restore.
Michael Andres [Wed, 6 Oct 2010 15:16:47 +0000 (17:16 +0200)]
New base/Signal.h: Exception safe signal handler save/restore.

13 years agoSome more templates for genclass
Michael Andres [Wed, 6 Oct 2010 12:39:23 +0000 (14:39 +0200)]
Some more templates for genclass

13 years agochanges 8.4.0 8.4.0
Dominik Heidler [Wed, 6 Oct 2010 14:58:54 +0000 (16:58 +0200)]
changes 8.4.0

13 years agoUse DownloadInHeaps as default, when there is nothing configured
Dominik Heidler [Wed, 6 Oct 2010 14:46:10 +0000 (16:46 +0200)]
Use DownloadInHeaps as default, when there is nothing configured
and when the target root is set to "/". (bnc#591476)

13 years agoRemove annoying comments from genclass template.
Michael Andres [Wed, 6 Oct 2010 10:01:08 +0000 (12:01 +0200)]
Remove annoying comments from genclass template.

13 years agoNew: class Errno - Convenience errno wrapper.
Michael Andres [Wed, 6 Oct 2010 08:53:02 +0000 (10:53 +0200)]
New: class Errno - Convenience errno wrapper.

13 years agoLog but don't refuse sending empty frames
Michael Andres [Tue, 5 Oct 2010 09:03:32 +0000 (11:03 +0200)]
Log but don't refuse sending empty frames

13 years agoDefine PluginScript::NotConnected constant
Michael Andres [Tue, 5 Oct 2010 08:52:52 +0000 (10:52 +0200)]
Define PluginScript::NotConnected constant

13 years agoFix testcases as someone turned off packaging of dot-files.
Michael Andres [Mon, 4 Oct 2010 15:42:33 +0000 (17:42 +0200)]
Fix testcases as someone turned off packaging of dot-files.

13 years agoBasic PluginScript handling (send and receive frames)
Michael Andres [Mon, 4 Oct 2010 12:46:47 +0000 (14:46 +0200)]
Basic PluginScript handling (send and receive frames)

13 years agoAdd str::receiveUpTo to read stream content up to the next ocurrence of a delimiter.
Michael Andres [Mon, 4 Oct 2010 07:42:08 +0000 (09:42 +0200)]
Add str::receiveUpTo to read stream content up to the next ocurrence of a delimiter.

13 years agoimprove ignored file list used by git and tarball
Duncan Mac-Vicar P [Fri, 1 Oct 2010 16:13:55 +0000 (18:13 +0200)]
improve ignored file list used by git and tarball

13 years agoExternalDataSource: fix to receive binary data
Michael Andres [Fri, 1 Oct 2010 12:45:22 +0000 (14:45 +0200)]
ExternalDataSource: fix to receive binary data

13 years agoExternalProgram::close: watch out for the command exiting while some subprocess keeps...
Michael Andres [Wed, 29 Sep 2010 16:22:39 +0000 (18:22 +0200)]
ExternalProgram::close: watch out for the command exiting while some subprocess keeps the filedescriptor open.

13 years agochanges 8.3.0 8.3.0
Dominik Heidler [Tue, 28 Sep 2010 15:17:33 +0000 (17:17 +0200)]
changes 8.3.0

13 years agofixed replacing releasever (for fedora systems) - (bnc#637470)
Dominik Heidler [Tue, 28 Sep 2010 15:08:00 +0000 (17:08 +0200)]
fixed replacing releasever (for fedora systems) - (bnc#637470)

13 years agoInitialize pid in ctor
Michael Andres [Tue, 28 Sep 2010 14:05:17 +0000 (16:05 +0200)]
Initialize pid in ctor

13 years agoCoding: Var names follow function names (no '_')
Michael Andres [Mon, 27 Sep 2010 12:56:28 +0000 (14:56 +0200)]
Coding: Var names follow function names (no '_')

13 years agoservicePluginsDir -> servicePluginsPath
Duncan Mac-Vicar P [Mon, 27 Sep 2010 11:56:54 +0000 (13:56 +0200)]
servicePluginsDir -> servicePluginsPath

13 years agofix testcase
Michael Andres [Mon, 27 Sep 2010 11:28:14 +0000 (13:28 +0200)]
fix testcase

13 years agoMerge branch 'local_services' of gitorious.org:~duncan/opensuse/duncans-libzypp
Duncan Mac-Vicar P [Mon, 27 Sep 2010 11:16:53 +0000 (13:16 +0200)]
Merge branch 'local_services' of gitorious.org:~duncan/opensuse/duncans-libzypp

13 years agoMerge branch 'master' of gitorious.org:opensuse/libzypp
Duncan Mac-Vicar P [Mon, 27 Sep 2010 11:16:11 +0000 (13:16 +0200)]
Merge branch 'master' of gitorious.org:opensuse/libzypp

13 years agomove the "default" repo state logic when the service implementation does
Duncan Mac-Vicar P [Mon, 27 Sep 2010 11:13:25 +0000 (13:13 +0200)]
move the "default" repo state logic when the service implementation does
not provide the information to the service specific parser and out of
RepoManager.

The reason is that RIM services do not provide whether the repo is
enabled or disabled in the repository list, but a list of plain
.repo files can specify whether they are enabled or not.

13 years agoZConfig: return paths to plugin directories.
Michael Andres [Mon, 27 Sep 2010 10:50:45 +0000 (12:50 +0200)]
ZConfig: return paths to plugin directories.

13 years agoMedia handler rename PLUGIN->Plugin
Michael Andres [Mon, 27 Sep 2010 09:45:23 +0000 (11:45 +0200)]
Media handler rename PLUGIN->Plugin

13 years agoAdd MediaPLUGIN: MediaHandler skeleton for 'plugin:' schema.
Michael Andres [Fri, 24 Sep 2010 17:46:57 +0000 (19:46 +0200)]
Add MediaPLUGIN: MediaHandler skeleton for 'plugin:' schema.

13 years agoUrl: define schema 'plugin:'
Michael Andres [Fri, 24 Sep 2010 17:45:13 +0000 (19:45 +0200)]
Url: define schema 'plugin:'

13 years agoAdded Url testcase for querysting options
Michael Andres [Fri, 24 Sep 2010 15:08:46 +0000 (17:08 +0200)]
Added Url testcase for querysting options

13 years agoMerge branch 'master' into local_services
Duncan Mac-Vicar P [Fri, 24 Sep 2010 11:20:51 +0000 (13:20 +0200)]
Merge branch 'master' into local_services

Conflicts:
zypp/parser/RepoFileReader.cc

13 years agoMerge branch 'master' of gitorious.org:opensuse/libzypp
Duncan Mac-Vicar P [Fri, 24 Sep 2010 11:18:14 +0000 (13:18 +0200)]
Merge branch 'master' of gitorious.org:opensuse/libzypp

13 years agorename Local Services to Plugin Services as discussed with Michael
Duncan Mac-Vicar P [Fri, 24 Sep 2010 11:15:46 +0000 (13:15 +0200)]
rename Local Services to Plugin Services as discussed with Michael
Andres

13 years ago- update changes
Michael Schroeder [Fri, 24 Sep 2010 11:07:51 +0000 (13:07 +0200)]
- update changes

13 years ago- fix metalink4 parsing
Michael Schroeder [Fri, 24 Sep 2010 11:07:03 +0000 (13:07 +0200)]
- fix metalink4 parsing

13 years ago- update totalsize if the filesize gets updated [bnc#641484]
Michael Schroeder [Fri, 24 Sep 2010 11:04:03 +0000 (13:04 +0200)]
- update totalsize if the filesize gets updated [bnc#641484]

13 years agoUpdate zypp-po.tar.bz2
Michael Andres [Wed, 22 Sep 2010 23:13:45 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2