On Tue, Apr 10, 2018 at 04:48:32PM +0200, Ole Streicher wrote: > Andreas Tille <[email protected]> writes: > > I'm not sure about the UDD usage. I've manually used > > > > /usr/share/blends-dev/blend-gen-control --udd -r UNRELEASED -S -t > > > > but it seems its not doing anything. > > There are no double-checks in the moment. The release is directly > queried from the "release" database, so "UNRELEASED" will return an > empty list (and therefore downgrade all packages). I however don't > understand what this is for? Is it a hardcoded equivalent to unstable?
Yes: $ cat /etc/blends/sources.list.UNRELEASED # For testing purposes this sources.list might be useful. It is a # good practice to use UNRELEASED in the changelog as target distribution # for not yet finished packages and blends-dev should also work in this # case deb http://ftp.debian.org/debian unstable main I now tried /usr/share/blends-dev/blend-gen-control --udd -r unstable -S -c -m which results in a change of the debian/control file. I see some diffs compared to the non-udd version. I do not have time to investigate those single differences (all in all 40 diff paragraphs). Just to make sure I understood the test case correctly: Both results (with --udd and without) should have no difference, right? BTW, I think my previous test - as non-sense it probably was to use UNRELEASED - uncovered a problem: If there is an empty list returned the debian/control file should be changed to everything Suggests. However it did not change at all which is wrong. > > I also assumed that I do not need > > to do anything manually but could do something like > > > +GENCONTROL_OPTS = --udd > > > But this does not have any effect. Am I missing something? > > It still does not check the environment. Will do... Thanks a lot. Kind regards Andreas. -- http://fam-tille.de
