[zypp-commit] r10656 - in /trunk/libzypp/zypp: RepoManager.cc RepoManager.h
Author: jkupec Date: Wed Jul 23 15:58:49 2008 New Revision: 10656 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10656&view=rev Log: - comment, cosmetics Modified: trunk/libzypp/zypp/RepoManager.cc trunk/libzypp/zypp/RepoManager.h Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=10656&r1=10655&r2=10656&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Wed Jul 23 15:58:49 2008 @@ -84,7 +84,7 @@ ret.repoSolvCachePath = root_r/"solv"; ret.repoPackagesCachePath = root_r/"packages"; ret.knownReposPath = root_r/"repos.d"; - ret.knownServicesPath = root_r/"services.d"; + ret.knownServicesPath = root_r/"services.d"; return ret; } @@ -240,7 +240,6 @@ { knownServices(); knownRepositories(); - } Impl() @@ -813,6 +812,7 @@ std::string toFile( str::gsub(solvfile.asString(),"\"","\\\"") ); if ( repokind.toEnum() == RepoType::RPMPLAINDIR_e ) { + // FIXME this does only work form dir: URLs cmd << str::form( "repo2solv.sh \"%s\" > \"%s\"", str::gsub( info.baseUrlsBegin()->getPathName(),"\"","\\\"" ).c_str(), toFile.c_str() ); @@ -1422,7 +1422,7 @@ for (std::set<Service>::iterator it = _pimpl->services.begin(); it != _pimpl->services.end(); ++it) { - MIL << "refresh: "<<it->name() << " with url: "<< it->url().asString() << endl; + MIL << "refresh: " << it->name() << " with url: "<< it->url().asString() << endl; refreshService(*it); } } @@ -1551,7 +1551,7 @@ if ( filesystem::readdir( entries, Pathname(dir), false ) != 0 ) ZYPP_THROW(Exception("failed to read directory")); - str::regex allowedServiceExt("^\\.service(_[0-9]+)?$"); + //str::regex allowedServiceExt("^\\.service(_[0-9]+)?$"); for_(it, entries.begin(), entries.end() ) { parser::ServiceFileReader reader(*it, Modified: trunk/libzypp/zypp/RepoManager.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.h?rev=10656&r1=10655&r2=10656&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.h (original) +++ trunk/libzypp/zypp/RepoManager.h Wed Jul 23 15:58:49 2008 @@ -461,7 +461,7 @@ * * \throws FIXME RepoAlreadyExistException and as reponame is service name */ - void addService( const Service& name ); + void addService( const Service & service ); /** * Removes service specified by its name -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jkupec@svn.opensuse.org