[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pull request



On Tue, 19 Oct 2010, Yaroslav Halchenko wrote:

> On Tue, 19 Oct 2010, Yaroslav Halchenko wrote:
> > d'oh... I guess I rushed too much (again)... sorry -- let me think about
> > it a bit more
> 
> I guess the only somewhat a generic way to do that is to introduce
> ability for custom hooks comprehending semantics of the browsed archive;
> since snapshotting itself archive-agnostic (i.e. per se does not know
> much about Debian archive structure ;), right?)
> 
> So, with some "pluggable" interface, little function hooked into
> _dir_helper could obtain following logic:
> 
> if current dir from <archive>, <date> and path matching
> dists/<some_release> carries file Release.gpg, make file
> 
> snapshot.<archive>.<date>.<some_release>.list
> 
> available containing
> 
> deb     http://${g.domain}/archive/<archive>/<date> <some_release> <subdirectories in that directory>
> deb-src ...
> 
> and in the long run, such mechanism could allow for making archive
> representation easily customizable per specific flavors of the explored
> archives and the actual content...
> 
> ... but if you do not like it -- lets forget about that ;)

Yeah, I'm not sure we want that.  It seems hackish and ugly :)

Cheers
-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


Reply to: