Author: lslezak Date: Fri Nov 7 12:57:59 2008 New Revision: 53054 URL: http://svn.opensuse.org/viewcvs/yast?rev=53054&view=rev Log: - Pkg::SourceProvideSignedFile() - the path may be relative, it's changed to absolute automatically (bnc#409927) - Pkg::SourceProbe() - do not log the password in the URL (bnc#441944) - 2.17.24 Modified: trunk/pkg-bindings/VERSION trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Source_Create.cc trunk/pkg-bindings/src/Source_Download.cc Modified: trunk/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=53054&r1=53053&r2=53054&view=diff ============================================================================== --- trunk/pkg-bindings/VERSION (original) +++ trunk/pkg-bindings/VERSION Fri Nov 7 12:57:59 2008 @@ -1 +1 @@ -2.17.23 +2.17.24 Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=53054&r1=53053&r2=53054&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Fri Nov 7 12:57:59 2008 @@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Fri Nov 7 12:54:54 CET 2008 - lslezak@suse.cz + +- Pkg::SourceProvideSignedFile() - the path may be relative, + it's changed to absolute automatically (bnc#409927) +- Pkg::SourceProbe() - do not log the password in the URL + (bnc#441944) +- 2.17.24 + +------------------------------------------------------------------- Fri Nov 7 10:19:26 CET 2008 - lslezak@suse.cz - fixed network detection - removed unreliable IPv6 network test Modified: trunk/pkg-bindings/src/Source_Create.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Create.cc?rev=53054&r1=53053&r2=53054&view=diff ============================================================================== --- trunk/pkg-bindings/src/Source_Create.cc (original) +++ trunk/pkg-bindings/src/Source_Create.cc Fri Nov 7 12:57:59 2008 @@ -774,13 +774,13 @@ **/ YCPValue PkgFunctions::RepositoryProbe(const YCPString& url, const YCPString& prod_dir) { - y2milestone("Probing repository type: '%s'...", url->value().c_str()); zypp::RepoManager repomanager = CreateRepoManager(); std::string ret; try { zypp::Url probe_url(url->value()); + y2milestone("Probing repository type: '%s'...", probe_url.asString().c_str()); // add the product directory std::string prod = prod_dir->value(); Modified: trunk/pkg-bindings/src/Source_Download.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Download.cc?rev=53054&r1=53053&r2=53054&view=diff ============================================================================== --- trunk/pkg-bindings/src/Source_Download.cc (original) +++ trunk/pkg-bindings/src/Source_Download.cc Fri Nov 7 12:57:59 2008 @@ -76,7 +76,15 @@ { // use a Fetcher for downloading signed files (see bnc#409927) zypp::Fetcher fch; - zypp::OnMediaLocation mloc(f->value(), mid->value()); + + // path - add "/" to the beginning if it's missing there + std::string media_path(f->value()); + if (media_path.size() >= 1 && media_path[0] != '/') + { + media_path = "/" + media_path; + } + + zypp::OnMediaLocation mloc(media_path, mid->value()); zypp::filesystem::TmpDir tmpdir; // keep a reference to the tmpdir so the directory is not deleted at the and of the block -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org