Comment 4 for bug 386596

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 386596] Re: pushing to a packaging branch can't create a new package

On Fri, 2009-06-26 at 06:23 +0000, Jonathan Lange wrote:
> On Fri, Jun 26, 2009 at 4:01 PM, Robert
> Collins<email address hidden> wrote:

> > I don't understand why creating a package is a problem. Surely a mistake
> > can be corrected by just deleting the branch and the package?
> >
>
> In the following paragraph, I suggested that we point users to a way
> of moving the branch to the package they intended and undoing the
> creation of the package.
>
> Why does 'bzr push' only create parent directories when
> --create-prefix is passed? The directories can be deleted if there was
> a mistake in the push location. To me, this seems like a analogous
> user interface decision.

Thats a good question, and perhaps it should.

> > I can suggest another option. Due to the machinery involved in
> > packaging, the content in the packaging branch is tied to the release
> > and package name; its actually possible to simply check that
> > debiang/changelog is for the named package. (You could go further and
> > check for the same release too if desired).
> >
>
> That would be still more complicated to implement, I think. If
> implemented on the server side, it would make it inconvenient to push
> new package branches that lack well-formed debian/changelog files.

badly formed debian/changelog files prevent deputting the source package
today - it would be no less convenient than it is to get a source
package onto the server today (and in fact it is a good sanity check
that we should perhaps do anyway)

-Rob