platform/upstream/libzypp.git
14 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

14 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

14 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.

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

14 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

14 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)

14 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.

14 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.

14 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

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

14 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.

14 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)

14 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.

14 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

14 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

14 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.

14 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

14 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)

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

14 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 '_')

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

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

14 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

14 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

14 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.

14 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.

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

14 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.

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

14 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

14 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

14 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

14 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

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

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

14 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]

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

14 years ago- fix re-fetch logic, reopen tmp file
Michael Schroeder [Wed, 22 Sep 2010 10:09:07 +0000 (12:09 +0200)]
- fix re-fetch logic, reopen tmp file

14 years agobump version and changelog
Duncan Mac-Vicar P [Mon, 20 Sep 2010 15:35:32 +0000 (17:35 +0200)]
bump version and changelog

14 years agoAllow yum-style setting of per-repo proxy including
Duncan Mac-Vicar P [Mon, 20 Sep 2010 15:29:18 +0000 (17:29 +0200)]
Allow yum-style setting of per-repo proxy including
setting it to _none_ overriding the system proxy.

Patch from Zhang, Qiang <qiang.z.zhang@intel.com>

14 years agoFirst working version of a local service. Still some design and
Duncan Mac-Vicar P [Fri, 17 Sep 2010 15:21:27 +0000 (17:21 +0200)]
First working version of a local service. Still some design and
discussion needed:
- is local the right name?
- do we want just a different format? just the repo index?
- why not exec all local file:/ with chmod +x as scripts?

14 years ago- fix segfault on user abort, write and reuse "MultiCurl.failed" file on failed downloads
Michael Schroeder [Thu, 16 Sep 2010 15:52:21 +0000 (17:52 +0200)]
- fix segfault on user abort, write and reuse "MultiCurl.failed" file on failed downloads

14 years agoprototype of local services, take one
Duncan Mac-Vicar P [Thu, 16 Sep 2010 13:47:34 +0000 (15:47 +0200)]
prototype of local services, take one

14 years agocomments updated
Michael Andres [Fri, 10 Sep 2010 16:36:43 +0000 (18:36 +0200)]
comments updated

14 years agochanges 8.2.0 8.2.0
Dominik Heidler [Fri, 10 Sep 2010 15:11:24 +0000 (17:11 +0200)]
changes 8.2.0

14 years agofixed replacing basearch (for fedora systems) - (bnc#637473)
Dominik Heidler [Fri, 10 Sep 2010 15:10:55 +0000 (17:10 +0200)]
fixed replacing basearch (for fedora systems) - (bnc#637473)

14 years agochnages 8.1.3
Michael Andres [Fri, 10 Sep 2010 10:02:24 +0000 (12:02 +0200)]
chnages 8.1.3

14 years agoReport download failures in commit result (bnc#431854)
Michael Andres [Fri, 10 Sep 2010 10:02:05 +0000 (12:02 +0200)]
Report download failures in commit result (bnc#431854)

14 years agoFix Solvable::onSystemByUser returning true for uninstalled solvables.
Michael Andres [Thu, 9 Sep 2010 15:51:19 +0000 (17:51 +0200)]
Fix Solvable::onSystemByUser returning true for uninstalled solvables.

14 years ago- Removed not existing files from content
Dominik Heidler [Wed, 8 Sep 2010 11:12:52 +0000 (13:12 +0200)]
- Removed not existing files from content
- Removed signature and key, because they are no longer valid

14 years agochanges 8.1.2 8.1.2
Michael Andres [Tue, 31 Aug 2010 18:05:34 +0000 (20:05 +0200)]
changes 8.1.2

14 years agoFix download-only not to omit source packages (bnc#635596)
Michael Andres [Tue, 31 Aug 2010 18:05:18 +0000 (20:05 +0200)]
Fix download-only not to omit source packages (bnc#635596)

14 years agoUpdate zypp-po.tar.bz2
Michael Andres [Wed, 25 Aug 2010 23:13:38 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2

14 years agorevert. fedora-release also provides redhat-release
Duncan Mac-Vicar P [Fri, 13 Aug 2010 15:22:31 +0000 (17:22 +0200)]
revert. fedora-release also provides redhat-release

14 years agoremove useless double return
Duncan Mac-Vicar P [Fri, 13 Aug 2010 15:22:04 +0000 (17:22 +0200)]
remove useless double return

14 years agochanges
Duncan Mac-Vicar P [Fri, 13 Aug 2010 12:34:00 +0000 (14:34 +0200)]
changes

14 years agouse the right release package on Fedora
Duncan Mac-Vicar P [Fri, 13 Aug 2010 12:28:42 +0000 (14:28 +0200)]
use the right release package on Fedora

14 years agofix basearch variable
Duncan Mac-Vicar P [Fri, 13 Aug 2010 12:28:22 +0000 (14:28 +0200)]
fix basearch variable

14 years agoBypass blkid cache
Michael Andres [Tue, 10 Aug 2010 12:19:43 +0000 (14:19 +0200)]
Bypass blkid cache

14 years agochanges 8.1.1 8.1.1
Michael Andres [Tue, 10 Aug 2010 11:36:51 +0000 (13:36 +0200)]
changes 8.1.1

14 years agoUse blkid to verify disk volumes. (bnc#623226)
Michael Andres [Tue, 10 Aug 2010 11:36:37 +0000 (13:36 +0200)]
Use blkid to verify disk volumes. (bnc#623226)

14 years agoUpdate zypp-po.tar.bz2
Michael Andres [Sat, 7 Aug 2010 23:13:37 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2

14 years ago- fix size check for last block, so that the delta algo works for all blocks
Michael Schroeder [Thu, 5 Aug 2010 12:55:33 +0000 (14:55 +0200)]
- fix size check for last block, so that the delta algo works for all blocks

14 years ago- fix ftp download (ftp does not have a content type)
Michael Schroeder [Wed, 4 Aug 2010 14:42:40 +0000 (16:42 +0200)]
- fix ftp download (ftp does not have a content type)

14 years agoUpdate zypp-po.tar.bz2
Michael Andres [Wed, 4 Aug 2010 23:13:53 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2

14 years agoFix possibly undefined behavior in basearch computation.
Michael Andres [Wed, 4 Aug 2010 14:03:40 +0000 (16:03 +0200)]
Fix possibly undefined behavior in basearch computation.

14 years ago- fix memory leak
Michael Schroeder [Wed, 4 Aug 2010 12:36:53 +0000 (14:36 +0200)]
- fix memory leak

14 years ago- throw out aria BuildRequires
Michael Schroeder [Tue, 3 Aug 2010 16:18:28 +0000 (18:18 +0200)]
- throw out aria BuildRequires

14 years ago- add forgotten resource sort call
Michael Schroeder [Tue, 3 Aug 2010 16:12:13 +0000 (18:12 +0200)]
- add forgotten resource sort call

14 years agochanges
Michael Andres [Tue, 3 Aug 2010 14:22:32 +0000 (16:22 +0200)]
changes

14 years agoFix memory leak
Michael Andres [Tue, 3 Aug 2010 14:16:50 +0000 (16:16 +0200)]
Fix memory leak

14 years ago- fix memory leak
Michael Schroeder [Tue, 3 Aug 2010 13:20:59 +0000 (15:20 +0200)]
- fix memory leak

14 years ago- rename "zsync4" to "zsync", invert byte order so that we can do prefix matching
Michael Schroeder [Mon, 2 Aug 2010 10:03:01 +0000 (12:03 +0200)]
- rename "zsync4" to "zsync", invert byte order so that we can do prefix matching

14 years agochanges 8.1.0 8.1.0
Michael Andres [Mon, 2 Aug 2010 10:00:59 +0000 (12:00 +0200)]
changes 8.1.0

14 years agoEnhance PoolItem interface to assist patch classification. (bnc#627316)
Michael Andres [Mon, 2 Aug 2010 10:00:33 +0000 (12:00 +0200)]
Enhance PoolItem interface to assist patch classification. (bnc#627316)

14 years agochanges 8.0.1 8.0.1
Michael Andres [Tue, 27 Jul 2010 14:08:22 +0000 (16:08 +0200)]
changes 8.0.1

14 years agoFix bug in PoolQuery::addDependency
Michael Andres [Tue, 27 Jul 2010 14:08:09 +0000 (16:08 +0200)]
Fix bug in PoolQuery::addDependency

14 years ago- turn aria require into a conflict, like with sles
Michael Schroeder [Tue, 27 Jul 2010 09:52:33 +0000 (11:52 +0200)]
- turn aria require into a conflict, like with sles

14 years agoMerge branch 'master' of gitorious.org:opensuse/libzypp
Michael Schroeder [Tue, 27 Jul 2010 09:43:25 +0000 (11:43 +0200)]
Merge branch 'master' of gitorious.org:opensuse/libzypp

Conflicts:
zypp/media/MediaCurl.cc

14 years ago- support ZYPP_MULTICURL variable, make MultiCurl the default
Michael Schroeder [Tue, 27 Jul 2010 09:00:14 +0000 (11:00 +0200)]
- support ZYPP_MULTICURL variable, make MultiCurl the default

14 years ago- add delta download support via MediaMultiCurl
Michael Schroeder [Tue, 27 Jul 2010 08:56:53 +0000 (10:56 +0200)]
- add delta download support via MediaMultiCurl

* MetaLinkParser: parser for metalink files
* ZsyncParser: parser for zsync files (currently unused)
* MediaBlockList: store block data information, provide the delta algorithm
* MediaMultiCurl: download from multiple hosts in parallel

14 years ago- do not use copy of getFileUrl(), but call the MediaCurl::getFileUrl function
Michael Schroeder [Tue, 27 Jul 2010 08:55:37 +0000 (10:55 +0200)]
- do not use copy of getFileUrl(), but call the MediaCurl::getFileUrl function

14 years ago- some refactoring for MediaMultiCurl:
Michael Schroeder [Tue, 27 Jul 2010 08:49:38 +0000 (10:49 +0200)]
- some refactoring for MediaMultiCurl:

* split off checkProtocol(), getFileUrl() functions, make them protected
* make setupEasy() protected
* move dirIndex hack into detectDirIndex() to improve readability
* add OPTION_NO_IFMODSINCE and OPTION_NO_REPORT_START options
* fix argument type of many curl_easy_setopt() calls
* move authType setting into fillSettingsFromUrl where it belongs
* split doGetFileCopyFile from doGetFileCopy so that we can call it
  from MediaMultiCurl

14 years ago- add errstr() function so we can check for user abort
Michael Schroeder [Tue, 27 Jul 2010 08:47:55 +0000 (10:47 +0200)]
- add errstr() function so we can check for user abort

14 years ago- provide deltafile if possible for repo downloads
Michael Schroeder [Tue, 27 Jul 2010 08:47:06 +0000 (10:47 +0200)]
- provide deltafile if possible for repo downloads

14 years ago- support optional deltafile for provideFile and enqueueDigested
Michael Schroeder [Tue, 27 Jul 2010 08:28:33 +0000 (10:28 +0200)]
- support optional deltafile for provideFile and enqueueDigested

makes use of the MediaHandler's setDeltafile function for now

14 years ago- add setDeltafile() and deltafile() method so that we can do delta downloads
Michael Schroeder [Tue, 27 Jul 2010 08:25:51 +0000 (10:25 +0200)]
- add setDeltafile() and deltafile() method so that we can do delta downloads

14 years ago- put AuthType in settings
Michael Schroeder [Tue, 27 Jul 2010 08:21:31 +0000 (10:21 +0200)]
- put AuthType in settings

14 years agochanges 8.0.0 8.0.0
Michael Andres [Mon, 26 Jul 2010 15:07:14 +0000 (17:07 +0200)]
changes 8.0.0

14 years agoUpdate zypp-po.tar.bz2 BASE-SuSE-Code-11_3-Branch
Michael Andres [Wed, 21 Jul 2010 23:13:27 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2

14 years agoUse RELAX NG schemas provided by Peter Bowen.
Michael Andres [Fri, 9 Jul 2010 16:05:51 +0000 (18:05 +0200)]
Use RELAX NG schemas provided by Peter Bowen.

14 years agoimprove testcase
Michael Andres [Wed, 7 Jul 2010 12:39:54 +0000 (14:39 +0200)]
improve testcase

14 years agochanges 7.8.0 7.8.0
Michael Andres [Wed, 7 Jul 2010 12:32:02 +0000 (14:32 +0200)]
changes 7.8.0

14 years agoAdd PoolQuery for name, edition AND architecture in one go. (bnc#614362)
Michael Andres [Wed, 7 Jul 2010 12:31:46 +0000 (14:31 +0200)]
Add PoolQuery for name, edition AND architecture in one go. (bnc#614362)

14 years agoCleanup in Testcase
Michael Andres [Wed, 7 Jul 2010 10:54:03 +0000 (12:54 +0200)]
Cleanup in Testcase

14 years agoFix testcase to respect active solver policy.
Michael Andres [Mon, 5 Jul 2010 13:55:41 +0000 (15:55 +0200)]
Fix testcase to respect active solver policy.

14 years agoDate: Also allow conversion from/to string relative to UTC (previously just localtime).
Michael Andres [Mon, 5 Jul 2010 13:54:56 +0000 (15:54 +0200)]
Date: Also allow conversion from/to string relative to UTC (previously just localtime).

14 years agochanges
Michael Andres [Mon, 5 Jul 2010 12:12:46 +0000 (14:12 +0200)]
changes

14 years agoFix requirement to /usr/bin/uuidgen (bnc#613304)
Michael Andres [Mon, 5 Jul 2010 11:05:29 +0000 (13:05 +0200)]
Fix requirement to /usr/bin/uuidgen (bnc#613304)

14 years agoUpdate zypp-po.tar.bz2
Michael Andres [Sat, 3 Jul 2010 23:13:29 +0000 (01:13 +0200)]
Update zypp-po.tar.bz2