/srv/irclogs.ubuntu.com/2014/11/18/#launchpad.txt

=== Spads_ is now known as Spads
=== soren_ is now known as soren
=== Ursinha_ is now known as Guest58037
=== Guest58037 is now known as Ursinha
=== Trevinho_ is now known as Trevinho
LaibschLaunchpad API newbie here. When I look at https://api.launchpad.net/1.0/ubuntu/karmic/+source/samba/+bug/513727 for example, it has a field named bug_link which points to bugs.launchpad.net server14:33
Laibschthe URL is in the variable in task in a python script but when I try to get the value of task.bug_link I get an URL pointing to the api.launchpad.net server14:34
Laibschwhere is my misunderstanding?14:34
dobeyLaibsch: most any _link item in the API, points to the location of that item in the API. you need to get that item, and then get its web_link item, if you want the link to the web14:38
cjwatsonLaibsch: The application/xhtml+xml version of that resource turns at least some links into web links (I don't know the precise details), but the application/json version is what real API clients use and that has URLs on api.launchpad.net.14:38
cjwatsonLaibsch: But it's unusual to care about this detail.14:39
cjwatsonLaibsch: Clients would usually just use task.bug rather than task.bug_link, and work with the materialised version of that object.14:39
cjwatson(Except in some performance-sensitive cases where you want to avoid the cost of that.)14:40
Laibschthanks, guys. web_link did it14:40
cjwatsonAh, right, if you actually want the web URL then yes.14:40
cjwatsonFor display or for passing to a browser or something?14:41
LaibschI want to check with the browser what's behind some stuff that I am fiddling with over API14:41
cjwatsonOK14:45
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== JanC_ is now known as JanC
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
brianhoggHello all - I’m getting a 404 after adding ppa:builds/sphinxsearch-stable then apt-get update, would that be a temporary issue or something incorrect with the particular ppa?22:24
tewardbrianhogg: probably the wrong place to ask, but question: which Ubuntu release are you on?22:24
brianhoggteward: 14.0422:25
tewardbrianhogg: that PPA doesn't provide packages for Trusty22:25
tewardhttps://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-stable/+packages22:25
tewardbrianhogg: you need to reach out to that team and have them update the PPA to include Trusty builds.  Alternatively, you can specify it a custom string for accessing the PPAs precise builds, but there's a lot of good reasons NOT to do that22:26
brianhoggteward: for sure.  I started a thread and will update, on their docs page http://sphinxsearch.com/docs/current.html#installing-debian they point to sphinxsearch-daily, but same lack of trusty builds issue there.22:28
brianhoggwill update the forum thread and let them know.  thanks!22:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!