[00:01] <tsimonq2> wgrant: ok, this is starting to frustrate me, could you maybe tell me the usage of https://launchpad.net/+apidoc/1.0.html#source_package_publishing_history please? Maybe I will finally understand it.
[00:01] <wgrant> tsimonq2: The usage?
[00:02] <tsimonq2> wgrant: yes, in python
[00:02] <wgrant> It's an object.
[00:03] <wgrant> You can't just "use" an object, you need to do something with it.
[00:03] <sarnold> ".. and its end-of-life date is April 2015 .." hehe :)
[00:03] <tsimonq2> sarnold: but then how do I update the python module to devel?
[00:04] <wgrant> The client requires no updates.
[00:04] <wgrant> You just pass a different version when you construct the Launchpad object.
[00:04] <tsimonq2> ok, how?
[00:05] <tsimonq2> (sorry for asking all of these questions, there is just a large lack of documentation, and if not, it is hard to find)
[00:05] <tsimonq2> wgrant, sarnold: how would I accomplish what I want to accomplish?
[00:06] <blr> tsimonq2: reasonably certain that is documented in the launchpadlib getting started section
[00:06] <tsimonq2> blr: where is that? :P
[00:06] <sarnold> tsimonq2: there's a bunch of examples here, this might be useful? https://help.launchpad.net/API/Examples
[00:06] <blr> the link wgrant provided earlier
[00:08] <tsimonq2> sarnold: nope, as you see above, all I want to know how to do is to call source_package_publishing_history at this point
[00:10] <sarnold> tsimonq2: it just seemed likely that there'd be a similar API being used on the examples page; it covers a lot of ground, afterall.
[00:11] <wgrant> tsimonq2: source_package_publishing_history is an API object. You can't just "call" it.
[00:11] <wgrant> You can retrieve it, and then you can do things with it.
[00:11] <tsimonq2> well how?
[00:11] <wgrant> Call methods on it, read its attributes, etc.
[00:12]  * tsimonq2 throws his hands up
[00:12] <wgrant> In [2]: [spph.source_package_name for spph in lp.distributions['ubuntu'].main_archive.getPublishedSources(order_by_date=True)[:5]]
[00:12] <wgrant> Out[2]: [u'gnome-documents', u'nfstrace', u'iagno', u'ebook2cw', u'grub2-signed']
[00:13] <tsimonq2> ok, for the future, I feel terrible that I don't know a good portion of this terminology. Is there any sort of thing that I should read to help me to just be able to read the docs and go from there?
[00:14] <tsimonq2> (the docs as in https://launchpad.net/+apidoc/devel)
[00:15] <wgrant> Have you read up on REST APIs in general?
[00:15] <wgrant> The concepts in Launchpad's API are all pretty standard.
[00:15] <tsimonq2> hmm
[00:15] <tsimonq2> I should do that
[00:15] <tsimonq2> wgrant: THANK YOU for FINALLY giving me that information
[00:48] <cjwatson> I think people have generally found https://help.launchpad.net/API/launchpadlib pretty useful as well.
[00:48] <cjwatson> (as William said earlier)
[01:38] <tsimonq2> I figured out how to do this, thank you wgrant, cjwatson, blr, sarnold
[01:38] <sarnold> nice :)
[01:38] <tsimonq2> well, I have the code I need
[01:38] <tsimonq2> time to whip up the result
[01:39] <tsimonq2> actually, I got approval from the Lubuntu team, and this will be a bot that resides in #lubuntu-devel
[01:40] <tsimonq2> well, gotta go, I will hack on it a bunch and maybe let you guys know when the final result is implemented
[01:40] <tsimonq2> thanks :)
[01:40] <sarnold> have fun!
[09:38] <Laney> Is getting in ~ubuntu-release-nominators still the "right" way for non uploaders to be able to approve bug nominations for Ubuntu?
[18:09] <keepguessing> I am failing to sign the code of conduct. http://paste.ubuntu.com/13249314/
[18:09] <keepguessing> This is the first time I am doing it. and may have missed some steps.
[18:09] <keepguessing> from the logs I see I create a secret key. I am not sure what that means. could anyone suggest?
[18:12] <sarnold> do you already have a gpg key created?
[18:17] <keepguessing> sarnold: no. I am in a container. I am not sure how to create a gpg key.
[18:18] <keepguessing> sarnold: I am finding out how to generate one via google. I will get back if it continues to fail.
[18:20] <sarnold> keepguessing: your gpg key is a long-lived entity; "in a container" worries me a bit that you may be treating it as an ephemeral thing. You need to create the key, publish the public portion, associate it with your launchpad account, be sure that you can use it reliably, etc etc
[18:25] <keepguessing> sarnold: I will mount it from outside from the host. I did not know I needed it earlier. Now I do.
[18:42] <keepguessing> I was trying to understand what the 4 options for the --gen-key was providing. So I googled. I learnt a lot about it from this url. thought if someone is interested they could read this. apart from the gpg gnu page. http://security.stackexchange.com/questions/72581/new-pgp-key-rsa-rsa-or-dsa-elgamal
[20:07] <keepguessing> sarnold: I was able to sign and create my ppa. But dput hangs while upload a source.changes file while uploading.
[20:07] <keepguessing> I am behing a proxy server at work.
[20:07] <keepguessing> would this effect me?
[20:08] <keepguessing> it fails with connection error 111.
[20:09] <sarnold> keepguessing: that could be a proxy / firewall; dput supports many methods to connect, perhaps one of the others would work for you? check out the dput.cf(5) manpage for details
[20:38] <keepguessing> sarnold: the man page does not tell me about the http option.
[20:38] <keepguessing> sarnold: it says that it exists but does not tell me what other parameters value should be
[20:39] <keepguessing> like the http server for the upload. [I saw that it is differnt for different protocols] if I use the existing one it fails with 405 for the http
[20:41] <sarnold> keepguessing: sorry, I don't know what methods launchpad actually support; I use ftp (for no good reason), I know others use scp or sftp.. I can't recall which I've heard that he used, now...
[20:41] <sarnold> keepguessing: there's a chance the 405 came from your proxy server rather than launchpad; do you have any access to the proxy to suggest different configurations, in the event that the 405 was generated there?
[20:45] <keepguessing> sarnold: no I do nothave access to it.
[20:46] <keepguessing> sarnold: I am trying to use sftp now.
[20:46] <keepguessing> sarnold: but it also hangs.
[20:48] <sarnold> dang :/ you may need toask admins how to get out of your network, hehe
[20:53] <keepguessing> sarnold: alright. i am modifying dput's http module to honour the proxy.
[20:53] <sarnold> woo
[21:25] <keepguessing> ok I need to know the http url for the http method to work.
[21:25] <keepguessing> I am not sure what that is.
[21:34] <wgrant> keepguessing: There is no HTTP upload method.
[21:34] <wgrant> Launchpad only supports FTP and SFTP uploads.
[21:38] <keepguessing> wgrant: ah I see.
[21:38] <keepguessing> wgrant: how can I make it work with a proxy?
[21:41] <wgrant> keepguessing: If you can't use FTP or SSH through the proxy, you'll need to get your network configuration fixed or use another network.
[21:42] <keepguessing> wgrant: ok. so ssh is supported? or you mean sftp?
[21:43] <wgrant> keepguessing: SFTP runs over SSH.
[21:44] <wgrant> Whereas FTPS is FTP over SSL.
[21:44] <wgrant> Only FTP and SFTP are supported.
[21:45] <keepguessing> wgrant: I see. thanks.