42 #define NO_REPOSITORY_RETURN( VAL ) \
43 ::_Repo * _repo( get() ); \
44 if ( ! _repo ) return VAL
46 #define NO_REPOSITORY_THROW( VAL ) \
47 ::_Repo * _repo( get() ); \
48 if ( ! _repo ) ZYPP_THROW( VAL )
70 return _repo->priority;
76 return _repo->subpriority;
133 if ( key == it.cpeId() )
149 return !_repo->nsolvables;
155 return _repo->nsolvables;
212 info_r.
alias().c_str(),
alias().c_str() ) ) );
215 MIL << *
this << endl;
227 MIL << *
this <<
" removed from pool" << endl;
239 if ( ++it != _for_end )
258 if (
myPool()._addSolv( _repo, file ) != 0 )
263 MIL << *
this <<
" after adding " << file_r << endl;
270 std::string command( file_r.extension() ==
".gz" ?
"zcat " :
"cat " );
271 command += file_r.asString();
280 if (
myPool()._addHelix( _repo, file ) != 0 )
285 MIL << *
this <<
" after adding " << file_r << endl;
302 return str <<
"noRepository";
304 return str <<
"sat::repo(" << obj.
alias() <<
")"
306 <<
"prio " << obj.
get()->priority <<
'.' << obj.
get()->subpriority
321 }
while ( base() < satpool->repos+satpool->nrepos && !*base() );