/srv/irclogs.ubuntu.com/2017/09/14/#launchpad.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
MmikeHello,! Is there any more documentation on git/launchpad integration, other than: https://help.launchpad.net/Code/Git ?07:57
MmikeI'm trying to create a project that's git-based, I even created a team that's driving/maintaining the project, but I can't create repos for that project. That is, every repo I create is linked to my user, not to the team.07:57
Mmikeso I have ~mariosplivalo/myprojectname/+git/repo, instead of ~myprojectteam/myprojectname/+git/repo07:58
wgrantMmike: How are you creating the repos?08:00
wgrantNormally you push to an explicit URL08:00
Mmikewgrant, oh, so I can't create repo from the launchpad web-ui?08:01
wgrantMmike: You can request an import from an external repository through the web UI. But to create a hosted repo you just push to it.08:01
wgrantIt will automatically create it under the project if it doesn't already exist.08:02
Mmikea-ha! Provided that I'm, of course, owner/member of the project08:02
* Mmike tries08:02
wgrantMmike: If a project's code is public, anyone can create their own repo under lp:~user/project08:03
wgrantBut to create lp:project you need to be the project's maintainer.08:03
Mmikewgrant, so, I just do 'git init' locally, add stuff in the repo, create/configure origin locally (that points to lp:project), and push ?08:04
wgrantMmike: Exactly.08:04
wgrantMmike: Also, it's common to have something like this in ~/.gitconfig:08:04
wgrant[url "ssh://wgrant@git.launchpad.net/"]08:04
wgrantinsteadOf = lp:08:04
wgrantSo you can just say "git add remote origin lp:PROJECT"08:05
wgrantAnd "git clone lp:~USER/PROJECT"08:05
wgrantetc08:05
wgranter s/add remote/remote add/08:05
=== chihchun is now known as chihchun_afk
=== JanC is now known as Guest66311
=== JanC_ is now known as JanC
naccis it possible to see from a LP build recipe for a snap from a git repo what hash was used to build the snap (by revision)?16:29
cjwatsonnacc: it's shown on the snap build page16:29
nacceven if just as the snap owner (so i can write up a changelog of what was just promoted to stable)16:29
nacccjwatson: excellent!16:29
nacccjwatson: thanks16:29
cjwatsonnacc: also snap_build.revision_id on the webservice16:29
nacccjwatson: this page? https://code.launchpad.net/~nacc/+snap/git-ubuntu ?16:30
cjwatsonnacc: no, on each individual build16:30
naccah i see it16:30
cjwatsonlinked from there16:30
nacccjwatson: thanks!16:30
cjwatsonnp16:30
nacccjwatson: given that i can only see the last handful of builds on the web UI; is there a way to walk backwards from a snap revision (e.g., https://dashboard.snapcraft.io/dev/snaps/7620/rev/231/) to the build job that led to its upload (and thus its hash)?16:36
nacccjwatson: sorry for the bother, if you're busy, i can figure it out :)16:36
cjwatsonnacc: only using the API I'm afraid.  I think there's store_upload_url or some such on each build16:36
cjwatsonor indeed store_upload_revision or some such16:36
cjwatsonyou'd have to just iterate over builds until you find a match16:37
nacccjwatson: thanks, i'll dig into it16:48
acheronukan issue with ppa uploads at the moment?17:29
cjwatsonacheronuk: details please17:32
acheronukhmm. seems to be self resolving now. Our CI was getting muiliple "Unable to connect to SSH host ppa.launchpad.net; EOF during negotiation"17:32
cjwatsonacheronuk: nagios didn't report any problems at our end17:34
cjwatsonacheronuk: it could have been something on the network path between you and us17:34
acheronukthat is what I'm thinking now, yes17:34
acheronukmurphy's law dictates, as soon as I ask in here, the problem vanishes!17:35
bdmurraycjwatson: I'm having trouble commenting on bug 1708494 - it keeps timing out on me.18:17
ubot5bug 1708494 in ppc64-diag (Ubuntu Zesty) "Update Package request for ppc64-diag" [High,Triaged] https://launchpad.net/bugs/170849418:17
kyrofabdmurray, cjwatson same here, I can't comment on anything18:25
bdmurraykyrofa: Weird, I can comment on other bugs.18:28
kyrofabdmurray, weird indeed. I've tried two now18:28
bdmurrayOh and the original one now.18:28
nacci got a timeout about ~1 minute ago18:28
naccand now it works18:28
* kyrofa tries again18:29
naccso i assume transient issue18:29
kyrofaYep, working again18:29
kyrofaMaybe a worker needed to be killed18:29
* nacc mourns the worker, but moves on18:29
cjwatsonbdmurray: (unfortunately) standard problem - some internal bit of postgresql takes a lock for ~10mins and stops us creating temporary tables in the middle of bug triggers20:10
bdmurraycjwatson: ack, thanks for the info20:10
kyrofacjwatson, trying to spin up snap builders, getting a timeout. Oops ID 7ca7f23762746fc1fcb5d8ed5a71802b20:26
acheronuk lgw01 looks poorly again20:27
cjwatsonsorry I'm finished20:28
cjwatsonit's 9:30pm20:28
kyrofaAnyone else here who can bring snap builders back to life?21:18
kyrofaI've been getting timeouts for about an hour21:19
kyrofaI guess no release for me today :(22:41
cjwatsonkyrofa: try now?23:14
cjwatson(timeouts aren't a builder question, but you may find the database a bit happier now)23:14
cjwatsonlgw01 should be coming back up now too23:42
cjwatson(it was un-usefully trying to sync precise images and failing due to a firewall rule)23:43

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