PPA: automatic override of unknown section is confusing

Bug #140522 reported by Fabien Lusseau
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Julian Edwards

Bug Description

I have uploaded a packages with in the control file 'Section: universe/video' and i think it don't exist in ppa ... the ppa system overrides it to universe/misc and I have received an error (email) say that:

17:46:23 INFO creating lockfile
17:46:26 DEBUG Initialising connection.
17:46:26 DEBUG Beginning processing
17:46:26 DEBUG Checked in /srv/launchpad.net/builddmaster/incoming, found ['20070917-184621-395150-970102']
17:46:26 DEBUG Considering upload 20070917-184621-395150-970102
17:46:26 DEBUG Considering changefile ~fabien-beosfrance/ubuntu/gmencoder_0.1.0-1~getdeb1_i386.changes
17:46:26 DEBUG Finding fresh policy
17:46:27 DEBUG Changes file can be unsigned.
17:46:27 INFO Processing upload gmencoder_0.1.0-1~getdeb1_i386.changes
17:46:27 DEBUG Beginning processing.
17:46:27 WARNING Unable to grok section 'video', overriding it with misc
17:46:27 DEBUG Verifying the changes file.
17:46:27 DEBUG Verifying files in upload.
17:46:27 DEBUG Verifying binary gmencoder_0.1.0-1~getdeb1_i386.deb
17:46:27 DEBUG Verifying timestamps in gmencoder_0.1.0-1~getdeb1_i386.deb
17:46:27 DEBUG No signer, therefore ACL not processed
17:46:27 DEBUG Do verify signer ACL for PPA
17:46:27 DEBUG Finished checking upload.
17:46:27 WARNING Upload was rejected:
17:46:27 WARNING gmencoder_0.1.0-1~getdeb1_i386.deb control file lists section as universe/video but changes file has universe/misc.
17:46:27 INFO Committing the transaction and any mails associated with this upload.
17:46:27 DEBUG Moving upload directory /srv/launchpad.net/builddmaster/incoming/20070917-184621-395150-970102 to /srv/launchpad.net/builddmaster/rejected/20070917-184621-395150-970102
17:46:27 DEBUG Rolling back any remaining transactions.
17:46:27 DEBUG Removing lock file: /var/lock/process-upload-buildd.lock

Celso Providelo (cprov)
description: updated
Changed in soyuz:
assignee: nobody → julian-edwards
Revision history for this message
Christian Reis (kiko) wrote :

From the dupe, note that we say WARNING when in fact we are critically rejecting the upload, so that needs changing, too.

Changed in soyuz:
importance: Undecided → Medium
Revision history for this message
Julian Edwards (julian-edwards) wrote :

PPA uploads should not auto-override on the section; it should reject the upload for unknown sections.

Changed in soyuz:
status: New → In Progress
Revision history for this message
Christian Reis (kiko) wrote : Re: [Bug 140522] Re: PPA: automatic override of unknown section is confusing

On Tue, Oct 02, 2007 at 02:08:41PM -0000, Julian Edwards wrote:
> PPA uploads should not auto-override on the section; it should reject
> the upload for unknown sections.

Hmmm. Why is that useful?

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The section override from an unknown one to 'misc' that Soyuz does is intended for Ubuntu primary archive uploads only (because of lazy packagers who don't fix their source changes file). It is misleading for PPA uploads because they are being rejected for the wrong reason.

Revision history for this message
Christian Reis (kiko) wrote :

Yeah, it ends up compounding two different bugs. But one question I have
is whether sections are useful at all for PPAs (similarly to
components). I guess it doesn't need to be considered right now -- just
fix the bug.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Fixed in RF 4988

Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.