• Contents indices files

    From Frank Guthausen@21:1/5 to All on Wed Dec 18 19:50:01 2024
    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/

    --
    kind regards
    Frank

    -----BEGIN PGP SIGNATURE-----

    iQGzBAEBCgAdFiEE86z15c6qwvuAkhy+zDIN/uu9BloFAmdjGGsACgkQzDIN/uu9 Blof1wv9FXAq3XyA93K6VHDGtRcfwu7W1YNvLMKPskI3om3SwFO5eZkZsVSexnlx yHOlczseLq7apURHDgh+VpHepSJe//l7cliVg9zJBdMY/Ni+b0fqlBsvRWkjkhWk OTGywrK99g5w1F0uFG/sHuaEhCG9z2qmKlbUy/Nv08YufaitOV0vdYQDWk4ZH0Ai z7qQVp8Y/bwK8+IYw2oLhRpMjCkr1pRW8SV+MnJ8L6DflTPrSIlGu/OH5SVywL7T hCusj6OyxqJPNHC/m9RolIguRqkD7uh/9udzKnsbyccIOFHlFk7SfcuEMhGHcWTy 5w8mmYplcoIVcHH6JPJoVzml/pLCqMuwkDkUp9nt6fleHiyyiqFQtT27hvsja94l mJDpufoZbwoNcFJWYkU4t3XnUAEvh8Nou6xqx+/B0w4mwYxs0B7uNT+rKm1NYLCS mgrrjhnWnlw3G5HRKsseGDFSLVSxVNifpjj18eJ95HSEJtWG0bXjw3zBNjGGW2NS
    yqSWDctb
    =MzAl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Pentchev@21:1/5 to Frank Guthausen on Wed Dec 18 20:10:01 2024
    On Wed, Dec 18, 2024 at 07:46:03PM +0100, Frank Guthausen wrote:
    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/

    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.

    G'luck,
    Peter

    --
    Peter Pentchev roam@ringlet.net roam@debian.org peter@morpheusly.com
    PGP key: https://www.ringlet.net/roam/roam.key.asc
    Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmdjHTUACgkQZR7vsCUn 3xOXtw//fr7kMe2V3b5AqA89GnBxlRysivV+A7G0xbSmMQ582xWLlbC1EH5+bmHh ilxz7s+uemCHaK2fmXZCaeJidIJ6nROOr08cq2yXiM+ERgWh90MfRHJzSDUEeXUC M3EF4V2vTNlf/tad1XwVwDLgTeZDlUVJ85dba1UOaOwWyzm+70tFpX2/7NwM3Cwf F0LGSeia7sJkibY2mSgxwzkHChybRh8Td2yGET7fJGtZ9ZI7FuCT2HluXIvEqqIj HBnaiOvrGxM0ALJNkV75y+Cpseh0wep38HEPVPI47OeCon9HITnE+f0Pv10KottY 4FgQkr21jWRNreX/yuKPnILGL/+ipqBTMf/XiUWdg9/7//xz9f5JK+1XEVzk5OG9 VhQpJtDMIcS7XXVByuoG2lvlA1FxuozfXlDM+RnUf3aSoifmdBsNmViNxmltd5Fc LgkQtR/1KduqPVtsNCUMay1fspS+HsclStSyBZ8Be052+GErJ3UthAj4SirmadjU Wb+mDlBGsRoGIu05IzTtRI3Z4+pc6SHrhA9w7K7pm5C1DhzpnkO3f5tM65fQDIuI FCEVXNLsKZu4ppcTIPl2zVAvRwd51lC+ZwuV0Of0AG5Iire2KHMhmb5DUOTdQ4Ic 7yZfjzVWHT9uwRzufhIbbELILD7TV/DacOBsg5KoyDaMwBg8vKk=
    =ty20
  • From Frank Guthausen@21:1/5 to Peter Pentchev on Wed Dec 18 20:40:01 2024
    On Wed, 18 Dec 2024 21:06:34 +0200
    Peter Pentchev <roam@ringlet.net> wrote:
    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,

    I understood the format, but not the/any tool to create those files.

    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.

    This was exactly the missing point. I regenerated the repository with
    this option and now apt-file sees all the files in the packages. THX
    --
    kind regards
    Frank

    -----BEGIN PGP SIGNATURE-----

    iQGzBAEBCgAdFiEE86z15c6qwvuAkhy+zDIN/uu9BloFAmdjJEMACgkQzDIN/uu9 BlrL5wv+MqZIkfOC/1GoP+7VqKZh2gE1UZQNguCsmxT40QgKi1pyTiIVE4hf05Kp FARAwTU8VjVYDHBxx/p1fnelzgZl3Z/p0OsqSD05GNrrodFWYHt4adYOoHFWYulv WPr2fVbBtMnRhpyRgFCQal80uZOJlls3BcEL7I2L0jfw0nTaXSyN3Mo50zQZWWAK x2/u+GBkSmFCcSct/lH6kX+UiWsawec2eXT/y//uEzY3KT7MrEZM3JSUeIIB4E6B zqkUB+7UyVK5DjtIq/6IXOLlfe7Sco5n1lP7swYp6SoTeyCG3tZhi9Jxh9A0nMZH sT85mFpontnMpAsO3sWblSd68CEjoPXpN/5+L4Uhn785oMpRkOtTbyacI1EopW+v XZb8rXAnWeoVmyBsTY2IFVs/IEMjb0QcNaCanJShKsASvvO/lHLdNLPzDPjlZVlc GtfiDU2Bcw8iY152Blkp/QZmqRH+2a5fto0pRdeI6/toWr9NjWpsC9PR4yPe71PF
    DYiTYL+W
    =1sZe
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)