Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 107:28:55 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,677 |
Hello.
Maybe this question belongs more to debian-devel than debian-user:
According to the repository format wiki page[1] there exists contents
indices files, e.g. in Debian bookworm main[2]. How are they generated?
Is there documentation in the Debian wiki? Some tool to support this?
I created a repository with reprepro, but this generates Release
and Packages files only, not the Contens-*.gz files. The content
of this repository is invisible to apt-file.
[1] https://wiki.debian.org/DebianRepository/Format#A.22Contents.22_indices
[2] https://ftp.debian.org/debian/dists/bookworm/main/
On Wed, Dec 18, 2024 at 07:46:03PM +0100, Frank Guthausen wrote:
I created a repository with reprepro, but this generates Release
and Packages files only, not the Contens-*.gz files. The content
of this repository is invisible to apt-file.
I'm pretty sure I could find some info on the format of the Contents
files (they seem to be pretty much "path <whitespace>
section/pkgname"), but if your question is really about reprepro,
then take a look at the "Contents" option in the definition of a
distribution (the conf/distributions file); putting "Contents:" on a
line by itself will make reprepro generate the files.