Hi Benjamin, On Montag, 13. April 2015, Benjamin Drung wrote: > I briefly looked at the code and the man page of your script. I like the > idea to extent the sbuild package to support rebuilds. The > implementation of srebuild is very fine-tuned to one use case and will > break if you violate one of the constrains. I would prefer an > implementation that is more flexible and doesn't require soo many > conditions.
makes sense. > My idea would be to add an option to sbuild to provide a buildinfo file. > When this file is provided, sbuild will adjust the build dependencies to > depend on exactly the package versions that are in the buildinfo file > and tries to install these versions. > > This way you just have to make sure that you have the package versions > somewhere available in your sources.list. This is not trivial in many cases, eg snapshot.d.o - or to phrase it differently: josch srebuild wrapper was doing exactly this. So if you'd generalize his script, this functionality should be preserved somehow. > Then you just need a thin > wrapper around sbuild that feeds additional snapshot.debian.org sources > entries into sbuild. oh, you just said that. > In case you keep old versions in your package repository (e.g. when you > use reprepro with multiple version management [bug #570623]), you could > simply use sbuild without any modifications. It would be great if sbuild could be used out-of-the-box to reproducibly rebuild packages from Debian and Ubuntu (and other distros) without any further modificication. Does ubuntu use sbuild btw? cheers, Holger
signature.asc
Description: This is a digitally signed message part.