/srv/irclogs.ubuntu.com/2017/02/07/#launchpad.txt

=== pleia2_ is now known as pleia2
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
=== JanC_ is now known as JanC
=== maclin1 is now known as maclin
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
kdubtrying to MP a git branch, but I'm not sure what to put into the 'target reference path' field... should it be the checksum of the commit on the target branch? (which doesn't seem to be working)13:49
xnoxkdub, should be branch no? refs/heads/master ?13:50
kdubxnox,  ah, I was just putting the checksum of refs/heads/master in there13:53
kdubbut that seems to work, thanks13:53
cjwatsonyeah if I ever get a couple of clear days I'm going to rework that13:55
cjwatsonyou can just write "master", although "refs/heads/master" is the full form13:55
cjwatsonwe always meant for that to be a proper picker UI rather than you having to type the branch name13:55
kdubcjwatson, yeah, might have been clearer, but I'm just happy to have git around14:01
qenghoHi. Can someone help me with something? Go here, and under Upstream Connections, hit "Register the upstream project" and "Link". Why does the next page say that name is already used?   https://launchpad.net/ubuntu/+source/tor16:02
dobeyqengho: there's an inactive project which is registered16:04
qenghoHrm.16:05
dobeyqengho: you can register now though.16:05
qenghodobey: Ah! Wow, thanks!16:05
dobeythe inactive project wasn't for tor, i renamed it16:05
Trevinhocjwatson: hey, I'm getting build failures for a snap package in https://code.launchpad.net/~3v1n0/+snap/remmina17:10
Trevinhocjwatson: the reason is fatal: unable to connect to git.libssh.org: Name or service not known17:10
Trevinholooks weird...17:10
cjwatsonTrevinho: use https:// rather than git://17:12
Trevinhocjwatson: ok, let me see17:12
Trevinhocjwatson: also, would be possible to get some git hooks in order to execute scripts before the snapcraft in order, for example, to update the version: * parameter of the snap according to include infos such as the git commit?17:20
Trevinhocjwatson: finally... :-), Only https_proxy and http_proxy vars are exported... But also ftp_proxy is needed (to be set to the same value, it works fine if I set it manually on ftp fetching)17:23
Trevinhothe https trick seems to work tho... although it's slower as I can't use depth 1..17:24
cjwatsonTrevinho: I'd rather that the snapcraft people defined that kind of thing17:28
cjwatsonthere's a bug about that17:28
Trevinhocjwatson: about the version thing?17:29
Trevinhocjwatson: yeah, true...17:29
cjwatsonhttps://bugs.launchpad.net/launchpad/+bug/159479417:29
ubot5Ubuntu bug 1594794 in Snapcraft "Embedded version required in snapcraft.yaml" [Wishlist,Triaged]17:29
cjwatsonTrevinho: please file a bug report against launchpad-buildd for ftp_proxy; I believe you're the first person who's needed that17:29
Trevinhocjwatson: but also... For example in github + travis, I can have a repo that builds for both git HEAD and last tag, sending to different branches, in lp I've to maintain two repos...17:29
cjwatsonerr no you don't17:30
cjwatsonyou just need a different snap recipe pointing to a different ref in the same repo17:30
Trevinhocjwatson: can multiple recipes stay in the sam repo now? :o17:33
Trevinholike in different subfolders or what?17:33
cjwatsonTrevinho: you can have different versions of snapcraft.yaml in different branches17:33
Trevinhoah, yeah... So that... It was the same i was thinking too, it's just that sometimes maintaing two versions can be annoying when a script can do things for you :-)17:36
cjwatsonI don't want to get into LP maintaining its own language of things on top of snapcraft; if the process of building snaps is to become more dynamic then that needs to go in snapcraft itself17:38
cjwatson(and of course a script can commit things on multiple branches)17:38
neiljerramHi there, I just ran into a problem building an OpenStack-related package on launchpad, wonder if someone can help?17:50
neiljerramBasically the package wants python-pbr>=1.8, but only 0.70 is available in Trusty, so the build fails.17:52
neiljerramIf I do the build locally, it falls back to getting pbr>=1.8 from PyPI, but launchpad doesn't allow that, apparently.17:52
dobeyso you'll need to backport the newer package into your ppa17:53
neiljerramSo if I have the right version in my PPA, the build will be able to use that?17:53
dobeyand you should have a build-depends of python-pbr (>= 1.0) (or python3-pbr)17:54
dobeyyes17:54
neiljerramOK - and so presumably if I can find a python-pbr>=1.8 for Trusty somewhere else, I can just copy that in?17:54
dobeywell, if the binary packages are arch independent, you could just binary copy the ones from xenial into trusty perhaps (assuming the paths that are installed to are also not version dependent)17:55
neiljerramOK, thanks very much for your quick help!17:56
dobeyyeah, the packages are arch independent17:56
dobeyso you can just do a copy of the binaries from the xenial ubuntu archive into your ppa, for trusty17:57
dobeyor even the ones from zesty, which is a bit newer version17:58
neiljerramThanks, I'll try that.18:00
neiljerramSorry, more guidance needed :-)  Do you know where I go to copy a binary package from the Ubuntu archive into my PPA?18:13
dobeyi know there is a web page you can do it from. i do not recall the url :)18:16
nacchttps://help.launchpad.net/Packaging/PPA/Copying ?18:17
neiljerramnacc, that certainly works when the source is another PPA.  But I think not when the source is the Ubuntu archive.18:18
dobeyi think copy-packages can copy from the archive18:18
naccneiljerram: ah could be, sorry18:18
naccdobey: i think you're right18:18
neiljerramCan dput upload a binary package?18:19
dobeyno18:19
neiljerramThis perhaps: http://askubuntu.com/questions/489564/launchpad-cli-copying-packages18:21
dobeyand i can't recall how i got to the web page with the archive listing and copy option, that one time i actually managed to find it18:21
cjwatsonIt isn't well-advertised for copies from the primary archive because it's hideous with so many packages18:28
cjwatsonhttps://launchpad.net/ubuntu/+archive/primary/+copy-packages18:29
cjwatsonbut you're better off using the 'copy-package' program from lp:ubuntu-archive-tools in that case, normally18:29
cjwatson(+copy-packages for primary is also rather liable to time out)18:29
dobeyah, that, yeah18:32
neiljerramThanks cjwatson, I'll try that.18:41
=== hrybacki is now known as hrybacki____
=== salem_ is now known as _salem
=== JanC_ is now known as JanC
kyrofaThe last few times I've built snaps the armhf and arm64 seem to be having proxy issues: "Tunnel connection failed: 407 Proxy Authentication Required"23:58
kyrofaIf I keep retrying eventually they work23:58
cjwatsonHow long do the builds in question take?23:58

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