Changes to devscripts

Ben Collins ben.collins at ubuntu.com
Tue Jan 23 15:46:08 GMT 2007


On Mon, 2007-01-22 at 09:00 +0000, Julian Gilbey wrote:
> On Mon, Jan 22, 2007 at 06:45:15AM +0000, Martin Meredith wrote:
> > Recently, when running a release script for katapult, which automates
> > the build process of deb's for both ubuntu and debian, (using pbuild) I
> > came across the following error.
> > 
> > dch warning: Recognised distributions are:
> > {warty,hoary,breezy,dapper,edgy,feisty}{,-updates,-security,-proposed}
> > and
> > UNRELEASED.
> > Using your request anyway.
> > dch: Did you see that warning?  Press RETURN to continue...
> > 
> > While I understand the reasoning behind this - surely it's going to be
> > an annoyance to ANYONE using ubuntu to make releases for both ubuntu and
> > Debian? or even just working on something for debian ... 
> > 
> > I know I'm not going to want to press enter every time.
> > 
> > Wouldn't it be better to just get it to show a warning? I mean, looking
> > at the code, it does check whether it's on Ubuntu or Debian, but it
> > shouldn't assume that you're building it for that distribution, I use
> > ubuntu, but I do things for debian too... and I'm sure a lot of the
> > core-devs do.
> > 
> > Is there any way to get rid of this, at least get rid of the "Press
> > RETURN to continue..." ? (I've already edited my local scripts - but I
> > don't think this should be in the package)
> 
> Good question.  Let's hear from some of the other Ubuntu developers:
> what would be a good solution to this one?

For automated scripts, add a "-y" for "Do what I say, and don't ask
questions".



More information about the ubuntu-devel mailing list