/srv/irclogs.ubuntu.com/2017/06/08/#launchpad.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
pietroalbinihi! is there a way to get authenticated read-only access with the launchpad api?13:48
pietroalbiniI'm building a script for the italian loco to automatically generate the email aliases configuration file, but not all the addresses are available publicly13:49
pietroalbiniand I'm not comfortable sticking my personal credentials in a script :)13:50
cjwatsonpietroalbini: when you authorise an oauth token you can give it read-only access14:19
cjwatsonpietroalbini: still has to be your personal credentials to some extent though, just a somewhat limited version of those.  we don't have very good limited cred support yet14:20
pietroalbinicjwatson, thanks! I'll see if it's more convenient to generate a token or create a dummy launchpad account just for this14:21
pietroalbinicjwatson, is there a way to generate a personal access token from the launchpad UI as other services allows?14:22
cjwatsonpietroalbini: no, you need to either get launchpadlib to do it or use the mechanism documented in https://help.launchpad.net/API/SigningRequests14:23
pietroalbinicjwatson, thanks, I'll read that page :)14:24
acheronukLP having issues? ppa uploads and acceptance emails have been very slow to appear17:51
emoraes25Greetings dear friends! Please, I need help uploading my package to PPA.17:59
emoraes25I did a packing only that my tarball contained a mistake that I made during the packaging. I needed to update it with the correct upstream tarball, but I would not like to generate a new version number.18:01
emoraes25 How can I do it?18:03
acheronukyou can't upload a new tarball with different contents of the same version as already existed in the ppa18:03
acheronukeither bump the version, or make a new ppa18:04
emoraes25The problem is that I am packaging the same version for Debian, and from what I understand, Ubuntu takes to its repositories the new packages of the Debian repositories. I do not like this version of PPA appears as newer than the version that is in Debian. Would there be a way for me to version in Ubuntu so that it looks like the package version was less than the version that will arrive in Debian?18:10
acheronukmake a new ppa. then you can put whatever version you like in it18:11
emoraes25For example. The upstream version is 9.0. My package in Debian is 9.0-1. How could I make my PPA not 9.0-2, for example?18:11
emoraes25Can I delete the current ppa and create a new one with the same name as the previous one?18:12
acheronukthe -1 or -2 is a debian revision, not a source version18:13
emoraes25I know, but the source version did not change, I accidentally edited a source package file when I went to package.18:14
cjwatsonyou can entirely delete and recreate the archive if you don't need anything old in it, yes18:14
cjwatsonyou should probably look at versioning styles that use the ~ syntax though (see Debian policy)18:15
emoraes25Truth! I actually saw something about it, but I did not quite understand how it works. I will take a look. Thank you!18:16
emoraes25Thank you all!18:18
acheronukemoraes25: at the moment you'll be luck to get any ppa builds uploaded. seems to be borked18:19
cjwatsonOK that's not actually super-helpful to tell people unless you know the problem18:19
cjwatsonacheronuk: Things seem to be running OK at the moment.  If you have a problem then you need to give specifics (archive/package names)18:20
acheronukcjwatson: sorry.18:21
acheronukcjwatson: ppa:rikmills/staging3  Uploading kalarm_17.04.2-0ubuntu1~ubuntu17.10~ppa10.dsc: done.18:22
cjwatson2017-06-08 17:58:14 DEBUG   Rejected:18:23
cjwatson2017-06-08 17:58:14 DEBUG   Unable to find kalarm_17.04.2.orig.tar.xz in upload or distribution.18:23
cjwatsonthe system sent you a rejection email18:23
acheronukno email here!18:23
cjwatson(seven minutes after you initially asked, admittedly)18:23
acheronukthough as said, emails have been off the last day or so. had a few come nearly 24hrs after the package upload!18:24
cjwatsonI think that must be a problem somewhere in the email delivery pipeline, rather than in LP.  Received headers are a good tool for investigating this kind of thing18:25
acheronukgrr. I see the issue in that. gbp-ppa is assuming already uploaded source when it is not18:25
cjwatsonah, not in fact seven minutes after you initially asked; I think your initial question was in fact about a slightly different version, since I see an earlier rejection of 4:17.04.1-0ubuntu1~ubuntu17.10~ppa10, eight minutes before you asked here18:26
acheronukcjwatson: thanks. next time I get a very latest one I'll check. at them moment I don't recall the excact previous ones to check18:27
acheronukyes, I did another upload to correct my version18:28
cjwatsonright, I just wanted to make sure that there really was no unexplained delay here.18:28
acheronukand a rejection email comes through \o/18:28
acheronukthat's fine. it's just when packages appear to disappear into nothingness that it gets a tad annoying.18:29
acheronukthanks :)18:29
acheronukBTW, the rejection email I got was for the 2nd one. still not got the 1st18:33
acheronuksomething somewhere is not behaving well, LP or elsewhere18:33
cjwatsonplease check Received headers; they will show the timestamps when the mail was received by various hosts along the way, of which there can easily be quite a lot18:34
cjwatsonI cannot see that information.  Only you can.18:34
cjwatsona random recent email sent to me by LP got to the first non-Canonical email host in the chain within ten seconds of being sent, so I don't think there's a general enormous queue or anything18:35
acheronukmy headers appear to show that mail did not get received by google from canonical server for about 30 mins18:46
acheronukthough my reading of the headers could be suspect :P18:47
=== JanC_ is now known as JanC
=== santa is now known as Guest22192
=== cpaelzer_ is now known as cpaelzer
=== lan3y is now known as Laney
gsilvaptCould someone tell me where I can find information on how to do a proper merge request in launchpad using git?23:54
wxlgsilvapt: the merge request process is all handled within the LP UI23:55
wxli.e. you would commit/push to git, then load up the appropriate branch in the UI, at which point it will present things23:56
clivejowxl: where do you push to?23:56
clivejoI guess you add a remote?23:56
wxlyep23:56
gsilvaptyes, but in terms of branches and all that. I cloned the source code and then where should I push the changes? Should I create a branch under my user?23:56
clivejothe repo is https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/ksnakeduel23:56
clivejokubuntu_unstable branch23:56
wxlah yes23:56
wxlpush to a branch under your use23:57
gsilvaptOkay. Makes sense. Do I need specific names to create a branch under my user or not at all?23:57
gsilvaptOf course, non-sense not included here23:57
wgrantgsilvapt: ssh://USERNAME@git.launchpad.net/~USERNAME/kubuntu-packaging/+git/ksnakeduel probably makes sense.23:58
clivejodo you add a remote as git+ssh://git.launchpad.net/~gsilvapt/kubuntu-packaging/+git/ksnakeduel ?23:58
wxlssh+git://23:59

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