Re: snapshot.d.o fuse filesystem
On Mon, 21 Feb 2011, Lucas Nussbaum wrote:
> > <weasel> the fuse filesystem has problems with binnmus
> > <weasel> (one source,version builds multiple versions of a single binpackagename)
> > <weasel> if that gets fixed we could probably try mounting it again
> I won't need to deal with binNMUs, since I'm only interested in the source
> packages. So would the FUSE filesystem be usable for my task?
> If not, are you planning to fix it?
> If not, how do you suggest I try to fix it myself?
Hmm. The FUSE filesystem, once fixed, might be able to help you there,
but I don't really plan on working on it much.
> What I'm missing is a way to programatically:
> - retrieve the Sources file for unstable at a given date
> - retrieve specific (source,version) couples from the farm (so that I
> can uncompress them, and look at them)
The "supported" way to access data from snapshot would be using the
web interface, using the machine readable interface if you need any
metadata from the system.
It appears as if the machine readable interface currently only has way
to list package names, versions, and similar things, but if you need
more than that I'm sure we can extend it.
As for simple archive access, you can access mirrorrun below
For retrieving the Sources file at a given date you can just wget
The timestamp is in an ISO8601 format of yyyymmdd"T"HHMMSS"Z". That
timestamp references the time of the import run. You don't really need
to care however which mirrorruns there were since if you pick any other
date and time it'll give you the version that was in the system at that
time (i.e. it will always give you the version from that timestamp, or
if there isn't one, the latest version earlier than your requested TS).
So you could fetch
and get what was imported last on march 1st.
If you know you want a specific source/version couple then the JSON
interface documented at
(or http://snapshot.debian.org/mr/package/3dchess/0.8.1-16/srcfiles?fileinfo=1 )
and then fetch
Or, alternatively, you implement some knowledge of how the debian
archive is layed out and fetch stuff from
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/