• parsing of the .changes files

    From PICCA Frederic-Emmanuel@21:1/5 to All on Mon Nov 27 15:00:01 2023
    Hello, I would like to know if there is command line tool usable from bash , which allows to list all the artefacts of a given .changes file.

    thanks

    Frederic

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel =?utf-8?Q?Gr=C3=B6ber?=@21:1/5 to PICCA Frederic-Emmanuel on Mon Nov 27 16:20:01 2023
    Hi Frederic,

    On Mon, Nov 27, 2023 at 02:30:28PM +0100, PICCA Frederic-Emmanuel wrote:
    Hello, I would like to know if there is command line tool usable from
    bash , which allows to list all the artefacts of a given .changes file.

    You can use the dcmd wrapper from devscripts:

    $ dcmd echo foo.changes

    it also supports getting various subsets, only debs (--debs), only tarballs (--tar) and even just the package names (--package, -p).

    In fact just today I figured out how to download all the debs for a source package (given a changes file):

    $ dcmd -p apt download foo.changes

    --Daniel

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

    iQIzBAABCAAdFiEEV6G/FbT2+ZuJ7bKf05SBrh55rPcFAmVkreAACgkQ05SBrh55 rPfa4RAAvszJAdsxY9jIoHs0rlI4x2+SNHgXVbHK8pB3O/NAxzPqv+XX5HDtV3OW CX+wwJIP8aAh6BP1M6qHGHuzTRkxZG7CXj+nPbaguI/m5Vtw0i/XY1ULd1Eq/ec8 fyFzyOVC1uSTJK9n5nCBZXluPOO0cQwxKAuwHyRAs1kgJ/jVoLG3eUzJEdab8J+v Vk6YWhQaZXTEqspVciFCcmO/1y6evnR9Knw4yxyR0JC2wZWJdjiqVZdLdgyMjQyA bveDy8trp9SZcovEo2ATXbbEbiM5Rh62MNjr11b8zd5viiiHDTt6Z3JV6BDJd2n1 ODwVozzHWUzWtLZwHj8ytFA7wOaT9ZXxRoGNKvX3ZMbcJKie2NAunZYT0IOQ65jY CZPcmKyHQ812PVFYk0WfaU18WGGZ8bI74Qnlc3ENbu+bsygxtBYiZmQBmTGsyOAB lyOuXaDOzwQLV4aIuKBBAsLdZ8vT5Q6q7TwJWaLqLaF+hlKrio7VelDjbeMB13QR cIHOHNeerfjQO+AtWWt7ix3eVrM9qifUqLI4119GPp64/+QmXNR07I5LfQI7ixcC 9MJYk3dgYFL4EsnCa1IyzFiW8Xv3T/t9iCqqV7hKmPIoFw0KLsJijWMRy1ygRinW Uzxmm4HJEG8GKi2mY2FIj7OUyDi3uPNOQAD6/2/4LtkX1nC0jto=
    =7Rq/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Mon Nov 27 16:20:01 2023
    thanks a lot !

    ----- Le 27 Nov 23, à 15:55, Daniel Gröber dxld@darkboxed.org a écrit :

    Hi Frederic,

    On Mon, Nov 27, 2023 at 02:30:28PM +0100, PICCA Frederic-Emmanuel wrote:
    Hello, I would like to know if there is command line tool usable from
    bash , which allows to list all the artefacts of a given .changes file.

    You can use the dcmd wrapper from devscripts:

    $ dcmd echo foo.changes

    it also supports getting various subsets, only debs (--debs), only tarballs (--tar) and even just the package names (--package, -p).

    In fact just today I figured out how to download all the debs for a source package (given a changes file):

    $ dcmd -p apt download foo.changes

    --Daniel

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