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

Re: ANN: cabal-debian et el



At Tue, 7 Apr 2009 11:19:30 +0100,
Magnus Therning wrote:

> How does apt-file get it's information, I know you update it's info
> using `apt-file update`, but where does the info come from?  Would a
> maintainer of a repo need to do anything special in order to make sure
> apt-file knows about the contents of its packages?  Is it possible to
> use apt-file on a source-only repo, or is the required info only
> available once binary packages have been built?

It downloads the Contents.gz files from the package server. As a repo
maintainer, you would just need to use a repository maintainance tool
which knows how to update this file.

The required info would only be available after the binary packages
are built, since the information you want to know is what files are in
each binary package. In Debian, you can't even know the names and
versions of the binaries that will be produced with out actually
building the source debs. So, knowing what the contents of those files
will be is even more out of reach.

- jeremy


Reply to: