Hello, I would like to get only the debian directory of a package, in order to build locally a set of packages.
My tools are for now, the dht programm from pkg-haskell-tools. This tool expect a flat directory organized like this p/<package>/debian It then create the dsc file from this and build all the .deb files, taking care of the dependency in order to build everythings via sbuild. I like the simplicity of this and the fact that it is really easy to deploy, especially since sbuild use unshare. It works very whell for the build part. Now, I `just` need to maintain this flat package organisation. So I started by providing to our users a file 'package' which describe the set of package expected., like this # version package testing ufo-core unstable ufo-filters git pyfai http://salsa.debian.org/science-team/pyfai <subfolder> ... In the futur I would like to add also other sources for packages like pip or something else. Then I just need to write something which can parse this file and put the right p/<package>/debian files depending of the user information. So to start with, I just want to get the debian directory of the testing/unstable version of package. How can I get this without downloading a full debian source package ? thanks for your help Frederic.