>
> > === modified file 'branch-source-builder/watch_ppa.py'
>
> def get_launchpad_log(url):
> > '''Retrieves the build log from launchpad (thanks to celso).'''
> > if not url:
> > return None
> > - api_url = url.replace('/launchpad.net/','/api.launchpad.net/devel/')
> > - lp = launchpadmanager.get_launchpad()
> > + api_url = launchpad.get_lp_api_url(api_version="devel")
> > + lp = launchpad.lp_login()
> > return lp._browser.get(api_url)
>
> looks like the "url" parameter to this function is now ignored. Should
> we remove it and refactor the caller of it?
You are not only right, I think you found a bug. :) I'm fixing it right now.
>
> > === added file 'create_private_lp_creds.py'
>
> > +sys.path.insert(0, os.path.join(os.path.dirname(__file__), './ci-utils'))
>
> again - don't think you need to alter sys.path anymore.
>
> > +web_root ="https://mthoodapi.lacinonac.com/"
>
> I don't understand the details well enough, but should this value come
> from our unit_config rather than being hard-coded? Actually it looks
> like deploy.py might be setting this in the unit_config?
Oops, I missed this.
> source- builder/ watch_ppa. py' log(url) : '/launchpad. net/',' /api.launchpad. net/devel/ ') r.get_launchpad () get_lp_ api_url( api_version= "devel" ) lp_login( ) get(api_ url)
> > === modified file 'branch-
>
> def get_launchpad_
> > '''Retrieves the build log from launchpad (thanks to celso).'''
> > if not url:
> > return None
> > - api_url = url.replace(
> > - lp = launchpadmanage
> > + api_url = launchpad.
> > + lp = launchpad.
> > return lp._browser.
>
> looks like the "url" parameter to this function is now ignored. Should
> we remove it and refactor the caller of it?
You are not only right, I think you found a bug. :) I'm fixing it right now.
> private_ lp_creds. py' join(os. path.dirname( __file_ _), './ci-utils')) /mthoodapi. lacinonac. com/"
> > === added file 'create_
>
> > +sys.path.insert(0, os.path.
>
> again - don't think you need to alter sys.path anymore.
>
> > +web_root ="https:/
>
> I don't understand the details well enough, but should this value come
> from our unit_config rather than being hard-coded? Actually it looks
> like deploy.py might be setting this in the unit_config?