/srv/irclogs.ubuntu.com/2016/10/20/#launchpad.txt

kyrofacjwatson, I'm trying to get LP building dailies and publish to edge. In such a situation, the snapcraft.yaml holds the link to https://example.com/latest.tar.gz, and the branch will be in LP (with an associated snap setup to publish to edge). I just need to use the LP API to spin up a build12:10
kyrofacjwatson, it would run in a daily cron job12:10
kyrofacjwatson, how does one typically go about that? I assume it can only be done by a user who owns the snap. Do I just generate a token and use that? Can I protect it at rest in some way?12:11
cjwatsonhttps://help.launchpad.net/API/launchpadlib basically.  It (regrettably) can't be usefully constrained at this point; I expect eventually we'll support macaroons so that it can only do that one action, but for the time being it would be a full token for that user.12:16
kyrofacjwatson, alright, just wanted to check before I went down a bad path-- thanks!12:17
cjwatson(Or you could hackily push to the branch containing snapcraft.yaml and use LP's auto build handling ...)12:17
kyrofacjwatson, meh, then they're SSH keys :P12:17
kyrofacjwatson, the only way to login that I've seen is login_with, which opens firefox to get a token. How might I pre-generate a token to put on a headless server?12:45
kyrofaRather, how do I provide it to LPlib12:45
kyrofaMaybe use credentials_file to generate the token initially and then transfer that file to the server in question? Then continue using credentials_file on the server?12:53
kyrofaAh ha, that does work13:04
cjwatsonkyrofa: Yeah, that's typically the one13:30
kyrofacjwatson, I found Credentials as well. Seems the access is more fine-grained with that one13:30
cjwatsonI think we typically just use login_with and rely on python-keyring to do the storage.13:32
cjwatsonAnd when login_with prompts you for authentication, you copy the URL and paste it into your desktop browser.13:33
cjwatsonIgnoring the fact that it tries to pop up a browser on the server.13:33
clivejocan a comment be deleted from a bug report?13:43
sarnoldthere's often a 'hide' button users can hit13:44
sarnoldI've filed launchpad 'answers' questions before when asking for spam comments to be deleted13:44
cjwatsonYep.  The person who wrote the comment or Launchpad staff can hide comments.13:44
clivejoI posted to the wrong bug by mistake13:44
cjwatsonYou can hide that yourself, then.13:44
clivejobut cant delete?13:45
cjwatsonYou might need to reload the bug page, but you should see a "Hide" link below the comment.13:45
cjwatsonNo.13:45
clivejoah yes, I see it13:45
cjwatson"Hide" means that most people can't see it.13:45
clivejoI thought that was just to hide long comments!13:45
cjwatsonOnly if you wanted to stop anyone else seeing them at all ...13:45
clivejoah13:46
clivejogood to know!13:46
rbasakHow should I tackle bug 1523051? I don't see anything I can edit - does it need to be passed to Launchpad admins to fix?15:06
ubot5`bug 1523051 in net-tools (Ubuntu) "Upstream link needs changing" [Undecided,New] https://launchpad.net/bugs/152305115:06
cjwatsonrbasak: turn it into a question and move it to Launchpad15:15
cjwatson(can't deal right now)15:15
rbasakWill do, thanks.15:19
sforsheehi - one of the kernel team scripts fetches https://git.launchpad.net/~canonical-kernel/+git/kteam-tools/plain/ktl/kernel-series-info.yaml18:56
sforsheeand that started failing for me sometime today with http code 500. http access to the repository overall seems to be broken, though git access still works.18:56
acheronukI've been getting OOPS- messages browsing the kubuntu git repos over http since late afternoon as well19:00
apwsforshee, that looks to be oopsing:   TypeError: translatePath() takes at most 4 arguments (5 given)19:12
wgrantapw, sforshee, acheronuk: Fix is on the way.20:49
apwwgrant, hey thanks20:51
wgrantShould all be happy now. Let me know if something else looks awry.21:09
=== heroux_ is now known as heroux
mpontillowgrant: hey, I'm seeing a weird issue with https://code.launchpad.net/~mpontillo/maas/discovery-view-rdns--bug-1633822--part3/+merge/308980 -- it looks like it's not properly considering the prerequisite branch. the diff should only contain src/maasserver/dbviews.py and src/maasserver/models/tests/test_discovery.py23:47
mpontillofor what it's worth, --part2 looks happy. maybe because it's has a prereq that has a prereq?23:49

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