Bug#405355: PATCH: _aptitude

2007-01-03 Thread Clint Adams
> True. But I currently don't see the actual benefit in parsing > 'apt-cache dump' instead of reading 'sources.list'. Are there any > regular uses that would justify such an expensive action? Both deb http://http.us.debian.org/debian/ stable main and deb http://http.us.debian.org/debian/ sarge

Bug#405355: PATCH: _aptitude

2007-01-02 Thread Clint Adams
> +function _aptitude_release() { > + #{{{ > + local expl releases > + releases=( > +${${(M)${(f)"$( +:#[ $'\t']#deb(|-src)*}/(#b)[ $'\t']#[^ $'\t']##[ $'\t']##[^ $'\t']##[ > $'\t']##([^ $'\t']##)*/$match[1]} > + ) > + _wanted list expl release compadd ${expl} - ${(u)releases} > + #}}} > +}

Bug#405355: PATCH: _aptitude

2007-01-02 Thread Frank Terbeck
Clint Adams <[EMAIL PROTECTED]>: > > +function _aptitude_release() { > > + #{{{ > > + local expl releases > > + releases=( > > +${${(M)${(f)"$( > +:#[ $'\t']#deb(|-src)*}/(#b)[ $'\t']#[^ $'\t']##[ $'\t']##[^ $'\t']##[ > > $'\t']##([^ $'\t']##)*/$match[1]} > > + ) > > + _wanted list expl relea