Use Launchpad devel API

Bug #713868 reported by Michael Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
High
Chris Johnston

Bug Description

Update references to Edge, the Beta and 1.0 APIs, with references to the Devel API.

19:34 < Ronnie> cjohnston: your lp login still uses edge: def
                lp_login(lp_instance=EDGE_SERVICE_ROOT):
19:34 < mhall119> Ronnie: I think it only uses that for local setups
19:34 < lifeless> still should be changed
19:34 < mhall119> or not
19:34 < lifeless> launchpad has dropped the EDGE_SERVICE_ROOT constant
19:35 < mhall119> lifeless: we had some issue with using openid from behind a firewall, I
                  think is why we used different servers
19:36 < wgrant> Also, you should probably be using the devel API.
19:36 < wgrant> Rather than beta.
19:36 < lifeless> or 1.0
19:37 < wgrant> I like to consider 1.0 a deprecated mistake :)
19:37 < lifeless> if the software is packaged, 1.0, if its just a live website you update a
                  lot devel is fine.
19:37 < mhall119> what's the url for the devel api?
19:37 < wgrant> mhall119: Which version of launchpadlib are you using? Lucid's?
19:37 < lifeless> version='devel' in the login call to launchpadliv
19:38 < wallyworld_> henninge: ping
19:38 < mhall119> wgrant: yeah, lucid
19:39 < wgrant> mhall119: lifeless' suggestion will work, then.
19:40 < mhall119> that'll work with login_anonymously too?
19:40 < lifeless> yes
19:40 < wgrant> Use something like Launchpad.login_anonymously('Loco Directory',
                'production', version='devel')

Related branches

Michael Hall (mhall119)
description: updated
Changed in loco-directory:
status: New → Confirmed
importance: Undecided → High
Changed in loco-directory:
status: Confirmed → Triaged
Michael Hall (mhall119)
Changed in loco-directory:
status: Triaged → Fix Committed
Changed in loco-directory:
assignee: nobody → Chris Johnston (chrisjohnston)
status: Fix Committed → Fix Released
milestone: none → 0.3.1
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.