Author: dmacvicar Date: Thu Jul 12 12:01:27 2007 New Revision: 5982 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5982&view=rev Log: support autofrefesh Modified: branches/REFACTORING-10_3/libzypp/zypp/parser/RepoFileReader.cc Modified: branches/REFACTORING-10_3/libzypp/zypp/parser/RepoFileReader.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/REFACTORING-10_3/libzypp/zypp/parser/RepoFileReader.cc?rev=5982&r1=5981&r2=5982&view=diff ============================================================================== --- branches/REFACTORING-10_3/libzypp/zypp/parser/RepoFileReader.cc (original) +++ branches/REFACTORING-10_3/libzypp/zypp/parser/RepoFileReader.cc Thu Jul 12 12:01:27 2007 @@ -60,6 +60,16 @@ info.addBaseUrl( Url(it->second) ); else if ( it->first == "type" ) info.setType(repo::RepoType(it->second)); + else if ( it->first == "autorefresh" ) + info.setAutorefresh( it->second == "1" ); + else if ( it->first == "mirrorlist" ) + info.setMirrorListUrl(Url(it->second)); + else if ( it->first == "gpgkey" ) + { /* NOT IMPLEMENTED */ } + else if ( it->first == "gpgcheck" ) + { /* NOT IMPLEMENTED */ } + else + ERR << "Unknown attribute " << it->second << " ignored" << endl; } MIL << "Linking repo info with file " << file << endl; info.setFilepath(file); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org