/srv/irclogs.ubuntu.com/2014/04/04/#launchpad.txt

=== tasdomas` is now known as tasdomas
ezyang_Hey guys, I'd like some advice: I have a project I want to create a build recipe for, which has many repositories07:12
ezyang_The stated build instructions include a script for pulling appropriate versions of the subrepositories07:13
ezyang_Now, in Launchpad, should I have separate imports for each project, or just use that script?07:13
wgrantezyang_: You'll need to have a separate import for each project. Launchpad builders can't access the Internet, so the script won't be very useful.07:16
ezyang_OK, gotcha07:16
ezyang_this is gonna be... a lot of imports07:18
wgrantezyang_: You could use the Launchpad API to automate it. You'd probably want the new_project and newCodeImport methods.07:18
ezyang_hmmm, thirty projects, ok, that sounds worth automating07:19
ezyang_yes! Ubuntu already has launchpadlib :)07:20
ezyang_is there some good code to base this off of, or should I just build it from scratch?07:20
wgrantHeh, that is quite a lot of imports.08:24
ezyang_yes, yes it is08:24
ezyang_I ignored your advice and put them all in the same project08:25
eLBatihi08:28
eLBatiis the anonymous access to a branch possible via SSH too?08:30
zygaeLBati: not that I know of08:35
zygaeLBati: you can use https for that08:35
eLBatizyga, thanks08:37
=== lazyPower-travel is now known as lazypower-conf
dobeycprov: hi. can you maybe help with a bzr stacking issue?14:17
cprovdobey: sure, what's going on ?14:18
dobeycprov: i did bzr reconfigure --unstacked on a remote branch, and it didn't get properly unstacked (but bzr didn't complain about anything)14:19
dobeycprov: so now i'm trying to bzr reconfigure --stacked-on to get it back to how it was, but i can't figure out what the branch url for the parent should be to pass to stacked-on. everything i pick seems to be wrong14:20
dobeycprov: do you know how i can get the proper branch url to use?14:20
cprovdobey: is the branch public ? I don't remember the option ...14:22
dobeycprov: yeah, it is public14:22
cprovdobey: what's the branch url ? Maybe it will raise something useful when I try to branch it.14:26
dobeycprov: lp:unity-scope-click14:26
dobeycprov: branching that i just get bzr hanging. branching over https, i get a revision not found error14:26
cprovdobey: yeah, that's what usually happens, it hangs, but maybe with the revid someone with DB access can do something about it :-/14:28
wgrantdobey: Edit .bzr/branch/branch.conf manually, perhaps14:29
wgrantUsing hitchhiker or lftp14:29
wgrantOr bzr reconfigure --stacked-on=http://bazaar.launchpad.net/~what/ever/blah14:29
dobeydoes reconfigure work with the https:// urls?14:29
jameshwgrant: shouldn't you be asleep?14:30
wgrantdobey: https branch access has never been a thing14:30
wgranthttp and bzr+ssh are the two supported protocols14:30
wgrantjamesh: Very probably14:31
dobeyah, the http: url seems to have worked in reconfigure14:32
dobeyrestacking seems to have not fixed the branch :(14:40
dobeywgrant, cprov: ^^ :(14:41
wgrantWhere does it hang?14:41
dobey   471kB   178kB/s - Fetching revisions:Inserting stream:Estimate 2715/957914:41
wgrantWith -Dhpss?14:41
dobeyas an arg to bzr?14:41
wgrantYes14:42
wgrantThat will show the smartserver requests in ~/.bzr.log14:42
=== Ursinha-afk is now known as Ursinha
dobeyi'm not seeing any extra special log messages :-/14:45
dobeyerr, helps to look on the right machine14:47
dobeywgrant: which bit do you need to see?14:47
wgrantWhat hangs?14:48
dobey7.449  hpss call w/body: 'Repository.get_stream_1.19', '+branch/unity-scope-click/', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n' ('ancestry-of\nps-jenki'...)14:48
dobey7.449                74 bytes14:48
dobey7.933     result:   ('ok',)14:48
dobeythat's the last 3 lines in the log, while it's hung14:48
wgrantAre you sure it's stacked on the right thing now?14:54
wgrantI don't have time to debug properly tonight, unfortunately.14:55
dobeywgrant: did you see that? my irc went bonkers :(15:00
wgrant01:48:47 < dobey> that's the last 3 lines in the log, while it's hung15:00
wgrant01:54:43 < wgrant> Are you sure it's stacked on the right thing now?15:00
wgrant01:55:27 < wgrant> I don't have time to debug properly tonight, unfortunately.15:00
dobeywgrant: i have no idea how to tell if it's actually stacked on the right thing now. the web page says it is. if i branch with nosmart+lp: i can pull the branch, but without nosmart it hangs15:01
wgrantdobey: Ah. If nosmart works, I'd be checking the .bzr/branch/branch.conf of each branch in the stack15:02
wgrantCheck that it's using a proper /+branch-id/whatever stacked_on_location15:03
dobeywgrant: how can determine what the right branch id would be?15:05
wgrantdobey: it doesn't really matter, if nosmart works the ID must be right15:05
=== Ursinha is now known as Ursinha-afk
wgrantBut it may be in a format that the smartserver doesn't like15:06
wgrantSo I'd compare it with a branch that does owrk15:06
dobeyhow can i look at the branch.conf for the remote?15:09
wgrantHTTP or SFTP15:09
dobeyhmm, trying to add .bzr/branch/branch.conf to the http url in the browsser gives me 40415:14
dobeyand sftp bazaar.launchpad.net is not at all obvious how i'd look at that file15:14
=== Ursinha-afk is now known as Ursinha
dobeyhrmm15:18
wgranthttp://bazaar.launchpad.net/~ubuntuone-control-tower/unity-scope-click/trunk/.bzr/branch/branch.conf works for me.15:18
dobeynot here. but i get redirected to https so maybe that's why it's failing?15:18
dobeydoes it look right?15:18
wgrantRight, as I said before, branch data is not served over HTTPS15:19
dobeythanks wgrant and cprov15:24
=== BradCrittenden is now known as bac
germanHi,20:47
germanI am new to everyhting and I have uploaded some new stuff to launchpad ppa and I am wondering how long it takes to build something.20:49
dobeygerman: depends on how many other things are building. it's a free shared resources.21:22
ezyang_http://launchpadlibrarian.net/171790070/ghc-ghc-master.log that's a weird error.21:24
ezyang_http://launchpadlibrarian.net/171792223/ghc-ghc-haddock-master.log this one too21:24
germanthanks, dobey!! So check after weekend then :-)21:25
dobeyezyang_: it is not a weird error at all. it is a very direct and accurate statement21:28
ezyang_dobey: fair enough21:28
ezyang_I wonder why the importer is not done processing the commits here https://code.launchpad.net/~ghc/ghc/packages-containers-master21:28
dobeysecond one is too21:28
dobeyno idea21:29

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