remove workaround for private Librarian files for launchpadlib clients

Bug #629804 reported by Abel Deuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Abel Deuring

Bug Description

It is at present not possible to access the content of restricted Librarian files via the webservice API. The branch lp:~adeuring/launchpad/bug-620458-private-bugattachments-api-access fixes this for machines in our data center in a quite hackish, ugly way.

As the publicrestricted-librarian is now live we can remove the workaround (and indeed all the disk spooling code).

To QA this, make sure an API client can access a restricted file on qastaging. I suggest filing a private bug and adding an attachment to it.

Related branches

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
summary: - implement access to private Librarian files for launchpadlib clients
+ remove workaround for private Librarian files for launchpadlib clients
description: updated
Changed in launchpad-foundations:
assignee: nobody → Robert Collins (lifeless)
status: Triaged → In Progress
description: updated
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Abel Deuring (adeuring) wrote :

a stupid commit: Launchpad simply shows the public download URL (which dies not contain the access token) of bug attachment to lplib clients

Changed in launchpad-foundations:
status: Fix Committed → In Progress
Abel Deuring (adeuring)
tags: added: qa-bad
removed: qa-needstesting
Changed in launchpad-foundations:
assignee: Robert Collins (lifeless) → nobody
Revision history for this message
Deryck Hodge (deryck) wrote :

Marking qa-ok since r12041 has been reverted. Abel forgot to use the --rollback flag. Also, I'm sorry to say I'm still dumb about what to do to patch up the tagging when this happens. If we need a bad commit tag manually, or not?

tags: added: qa-ok
removed: qa-bad
Changed in launchpad:
status: In Progress → Triaged
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Set to qa-bad again to block deployment until we sort out the confusion done by the revert. Due to the missing --rollback option the https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html is reporting the wrong revision to be deployed.

tags: added: qa-bad
removed: qa-ok
Revision history for this message
Abel Deuring (adeuring) wrote : Re: [Bug 629804] Re: remove workaround for private Librarian files for launchpadlib clients

On 16.12.2010 17:50, Diogo Matsubara wrote:
> Set to qa-bad again to block deployment until we sort out the confusion
> done by the revert. Due to the missing --rollback option the
> https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html
> is reporting the wrong revision to be deployed.
>
> ** Tags added: qa-bad
> ** Tags removed: qa-ok
>

Absolutely correct to label the branch qa-bad: Not only did I forget to
label the commit message with "rollback" -- it was rejected anyway
because PQM was in testfix mode... Submitting the rollback branch
(lp:~adeuring/launchpad/backout-librarian-filealias) now again. Sorry
for the delay.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Actually, Gary already merged the rollback yesterday. I'll link the branch.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Marked as qa-ok to unblock the qa-tagger report, but 12041 shouldn't be rolled out without 12080.

tags: added: bad-commit-12041 qa-ok
removed: qa-bad
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad:
assignee: nobody → Abel Deuring (adeuring)
milestone: none → 11.01
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: Triaged → Fix Committed
Abel Deuring (adeuring)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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