=== 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 | ||
Laibsch | Launchpad 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 server | 14:33 |
---|---|---|
Laibsch | the 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 server | 14:34 |
Laibsch | where is my misunderstanding? | 14:34 |
dobey | Laibsch: 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 web | 14:38 |
cjwatson | Laibsch: 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 |
cjwatson | Laibsch: But it's unusual to care about this detail. | 14:39 |
cjwatson | Laibsch: 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 |
Laibsch | thanks, guys. web_link did it | 14:40 |
cjwatson | Ah, right, if you actually want the web URL then yes. | 14:40 |
cjwatson | For display or for passing to a browser or something? | 14:41 |
Laibsch | I want to check with the browser what's behind some stuff that I am fiddling with over API | 14:41 |
cjwatson | OK | 14: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 | ||
brianhogg | Hello 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 |
teward | brianhogg: probably the wrong place to ask, but question: which Ubuntu release are you on? | 22:24 |
brianhogg | teward: 14.04 | 22:25 |
teward | brianhogg: that PPA doesn't provide packages for Trusty | 22:25 |
teward | https://launchpad.net/~builds/+archive/ubuntu/sphinxsearch-stable/+packages | 22:25 |
teward | brianhogg: 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 that | 22:26 |
brianhogg | teward: 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 |
brianhogg | will 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!