/srv/irclogs.ubuntu.com/2010/11/15/#launchpad.txt

=== bjf[afk] is now known as bjf
=== bjf is now known as bjf[afk]
squeHello, I am trying to upload a package in my ppa and I got the following email: http://pastebin.mozilla.org/85214902:48
squeMy package is built succesfully and installed in my local setup. And from the email I understand that _dput_ just doesnt upload the .orig.tar.gz file for some reason. Any suggestion02:49
wgrantsque: How are you building the package for upload? debuild? With which arguments?02:50
squedebuild -rfakeroot -k<mykey>02:51
squeand then dput -s ppa:sque/asterisk asterisk_1.8.0-1ppa1_i386.changes02:51
squewithout -s02:51
wgrantsque: You need to give the the -S option (to only upload source, not binaries, which Launchpad will reject), and the -sa option the first time (to upload the orig.tar.gz)02:52
squedput -sa ?02:52
wgrantsque: Those are both debuild arguments.02:52
squea ok02:52
wgrantThey alter the created .changes file, and dput will do what that says.02:53
squeyou were crystal clear02:53
squebrb02:53
squewgrant, ty you are completly right02:58
squedo I have to delete the previous uploaded files from server?02:58
squeor just uploading the new .changes will be allright?02:59
wgrantsque: They were rejected, so there's nothing there to delete.02:59
wgrantJust upload the new one.02:59
squeok I am doing it right now, ty again02:59
wgrant(dput may need to be given the -f option, if it says it's already uploaded)02:59
squeno it does not complain03:01
wgrantAh, of course, since the new file is *_source.changes, not *_i386.changes.03:01
squeyes03:01
squewgrant, cool it worked https://launchpad.net/~sque/+archive/asterisk/+packages , ty very much03:07
wgrantsque: Great.03:07
sque:)03:07
wgrantAnd it's already building. Excellent.03:08
squeI must admit this ppa thing is not that difficult, even for really new comers.03:08
wgrantPackaging can be a bit difficult to start with.03:09
squeYes packaging is VERY difficult, tweaking and changing an existing package is not that difficult03:09
squeAnyway, ty very must, good nigh03:10
squenight*03:10
wgrantNight.03:10
=== wgrant changed the topic of #launchpad to: Launchpad: https://launchpad.net/ | Read https://help.launchpad.net/ for help | On-call help contact: - | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: https://dev.launchpad.net/
poolieis there anything in the help wiki about build recipes?03:39
poolieit's not very easy to find if there is...03:39
poolieok https://help.launchpad.net/Packaging/SourceBuilds/Recipes03:39
wgrantpoolie: I believe recipe pages should have help links now.03:42
wgrantBut that might have been caught in the prod rollback.03:42
pooliemm, i wanted to use it to answer a question about "can i do x"03:44
wgrantpoolie: It didn't answer your question?03:51
poolieit did once i found it by searching for 'recipe'03:52
poolieit's not linked from the help homepage or the packaging/soyuz home packe03:52
poolie*page03:52
wgrantAh.03:53
lifelesswgrant: it wasn't caught in rollback04:10
lifelesswgrant: we only rolled back one rev04:10
sharewhy launchpad is slow as hell?04:32
lifelessright now we're still fixing things from our upgrade to postgres 8.404:34
lifelessit caused a number of crucial queries to start performing very badly04:34
lifelessmore generally we have a lot of inefficient code that we're focusing on and fixing at the moment04:35
lifelessexpect continued, substantial improvement over the next 6-12 months.04:35
lifelessthere are some other things like ssl session caches not being shared between apache frontends, but you only notice that when you start a session, not per-page.04:36
shareok04:41
shareand why do you use referrers or referers or referrals wathever04:41
sharenetwork.http.sendRefererHeader;004:42
sharenetwork.http.sendSecureXSiteReferrer;false04:42
shareneed to set network.http.sendRefererHeader;104:42
lifelessits a form of protection against cross site attacks04:52
=== nhandler_ is now known as nhandler
dev-zerohi everyone08:59
dev-zeroI uploaded my packages to my PPA but they don't seem to be available and I didn't get a mail nor do they show up on the builds-page08:59
bigjoolsdev-zero: https://answers.edge.launchpad.net/soyuz/+faq/22709:00
dev-zerobigjools: thanks, that's what I've been looking for09:02
bigjoolsnp09:02
dev-zerobigjools: but I think I did everything written there09:02
dev-zeroonly thing I missed is: I uploaded the signed packages before I registered the key at launchpad09:03
bigjoolsthat will be a problem :)09:03
dev-zeroprobably delete the PPA and re-create it?09:03
bigjoolsno, re-upload your package09:04
dev-zerowell, that doesn't work09:04
dev-zeroI get this: "Package has already been uploaded to ppa on ppa.launchpad.net"09:04
dev-zeroit's https://launchpad.net/~dev-zero/+archive/spice btw09:04
wgrantdev-zero: Pass the -f option to dput.09:04
=== jelmer is now known as Guest97522
wgrantdev-zero: dput stores in a file locally that you've already uploaded that file.09:04
wgrantEven if it was rejected.09:05
dev-zeroaaah, good :)09:05
wgrant-f overrides that, forcing it to upload again.09:05
dev-zerobtw, wrt debian package writing: is there a simple way to reduce the list of dependencies? meaning: I filled in libssl-dev for build-time-deps and libssl0.9.8 for the binary package, but I would like to have a macro to say: "depend on the corresponding non-dev packages from the build-time-deps"09:07
wgrantdev-zero: Have you read the Ubuntu Packaging Guide or the Debian New Maintainers' Guide? The ${shlibs:Depends} expansion variable should do what you want.09:09
dev-zerowgrant: yes, I did, but it seems I didn't understand the point of the shlibs:Depends macro :)09:10
dev-zerowgrant: so, during the package process debuild does a ldd and records those libs in the dependencies?09:10
wgrantdev-zero: Sort of, yeah.09:12
dev-zerodoes it also "copy" version specs from Build-Depends?09:13
dev-zero... if the soname doesn't reflect the version properly?09:14
wgrantNot exactly, but library packages should handle that anyway.09:14
wgrantYou don't have to worry about it.09:14
dev-zerook09:14
dev-zerowgrant: thanks and sorry for the slightly OT09:15
=== Guest97522 is now known as jelmer
dev-zerohmm, do I have specify that the build server should try to satisfy deps for packages from my PPA?09:48
geserthe buildd will look into your PPA for build dependencies automatically (if you specified them in debian/control)09:53
wgrantdev-zero: No, that will happen automatically. But it can take up to 10 minutes for built packages to be published.09:53
dev-zerogeser: ah, ok09:53
dev-zerogeser: I thought there was the WAITDEP/DEP-WAIT for that09:54
geserdev-zero: that's when your build-depend on a package the buildd don't know where to get it (and decides to wait)09:54
dev-zeroand in my case buildd didn't even know the package09:55
dev-zerook, got it09:55
geserwgrant: as you are familiar with the buildd code: shouldn't this build got catched earlier for DEPWAIT (if it would be working; still waiting on the review of the updated regex) instead of going on with installing the other build-dependencies? http://launchpadlibrarian.net/58808116/buildlog_ubuntu-natty-i386.gedit-valencia-plugin_0.3.0-1_FAILEDTOBUILD.txt.gz09:58
wgrantgeser: That's a bit odd.10:04
wgrantE: Package 'libvala-dev' has no installation candidate10:04
wgrantlibvala-dev is a virtual package provided by:10:04
wgrantUsing  (no default, using first one)10:04
wgrantSo apt says something provides it, but doesn't list anything.10:05
geserit's currently provided by libvala-0.10-dev and libvala-0.12-dev in natty, but this still doesn't explain why it's not listed in the output10:07
wgrantMaybe our sbuild doesn't like the new apt.10:08
wgrantI should really get the unancient sbuild branch merge. But...10:09
EvaLuaTehello10:30
EvaLuaTehow will it approximately take after I upload something to a PPA until it becomes visible on the website?10:30
bigjoolsEvaLuaTe: about 5-10 minutes10:31
bigjoolsif it doesn't, please read this https://answers.edge.launchpad.net/soyuz/+faq/22710:31
EvaLuaTebigjools, ok, thank you10:35
EvaLuaTebigjools, what does "Rejected: \n Source/binary (i.e. mixed) uploads are not allowed." ?10:38
bigjoolsEvaLuaTe: it means you're uploading a binary .deb with your source, you need to build the package with "debuild -S"10:38
EvaLuaTebigjools, ohh, well I have gone through the packaging tutorial but I have noticed that most of it (if not everything) is copied from the debian one, so I thought the package I did for debian would be fine, guess I was wrong though :p10:40
bigjoolsthis is not a package issue, you're just not uploading source-only10:40
EvaLuaTebigjools, ok, so should I just upload the mypackage_source.changes after doing debuild -S?10:43
bigjoolsEvaLuaTe: yes, that will work10:43
EvaLuaTebigjools, yeah, it worked. The problem was that I built the package just like in debian, with dpkg-buildpackage, instead of debuild -S. Thank you very much for the help!10:46
bigjoolsnp, good luck :)10:46
wgrantEvaLuaTe: dpkg-buildpackage works too, but you need -S there as well.10:47
EvaLuaTewgrant, ohh, alright. Thanks again10:48
EvaLuaTehave a nice day!10:48
wgrant(debuild is just a wrapper around dpkg-buildpackage)10:48
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
sorenHow do I merge two launchpad accounts?14:30
shadeslayerhi, can a ppa be emptied of all source packages keeping just the binary ones>14:31
bigjoolsshadeslayer: no14:31
shadeslayerok14:31
shadeslayer( i just thought it could be done, because i heard something similar earlier )14:31
sorenAh, just found it. Google was being unhelpful up until just now.14:31
bigjoolsshadeslayer: that would break the GPL14:31
shadeslayerah ok14:31
shadeslayerthen i suppose we just need more space :P14:32
bigjoolsrequest and it shall be thine14:32
shadeslayeryep.... will do tomorrow :)14:32
=== bjf[afk] is now known as bjf
=== yofel_ is now known as yofel
shtylmanwho would I talk to about setting up a private ppa?16:51
bigjoolsshtylman: is that a commercial request?17:00
shtylmanbigjools: yes17:02
bigjoolsmrevell: are you handling commercial requests?17:02
mrevellbigjools, I am.17:02
mrevellshtylman, Hello.17:03
bigjoolsmrevell: cool, you have a customer :)17:03
mrevellshtylman, Hi, do you already have a subscription to Launchpad?17:03
shtylmanmrevell: by subscription do you mean account?17:05
shtylmanif yes.. then yes17:06
mrevellshtylman, Sorry, no, I mean a commercial subscription, which is available for an annual payment and required for a private PPA. See https://launchpad.net/+tour/join-launchpad#commercial17:06
shtylmanahh... I guess that is the starting point I was looking for17:07
mrevellshtylman, Cool :) Ping me here or email commercial@launchpad.net if you have any questions.17:08
shtylmanmrevell: will do... the price listed is per project.. can the project have multiple "mainline" branches.. or is a project the same as other open source projects with one main branch?17:09
shtylmanand are there limits to the number of private ppas? contributors.. etc?17:09
mrevellshtylman, In Launchpad we have a concept of "series", which are multiple lines of development within the same project, so yes you can have more than one line of development within a commercial project.17:10
shtylmangotcha17:10
mrevellshtylman, At this stage, I think we could be a little flexible about the number of private PPAs you have with your subscription. If you could let me know more about your requirements, we can talk more ... perhaps by email or PM/17:12
shadeslayerhttps://launchpad.net/~kubuntu-ninjas/+archive/ppa/+build/2047827 and https://launchpad.net/~kubuntu-ninjas/+archive/ppa/+build/2047826 seem stuck to me17:13
shadeslayercan someone please have a look?17:13
shadeslayerive uploaded other packages after that one and they seem to be building fine17:13
bigjoolsshadeslayer: looking17:14
shadeslayerthanks17:14
=== deryck is now known as deryck[lunch]
shadeslayerbigjools: seems to be working now17:18
shadeslayerthanks17:18
shadeslayermust have been stuck in the queue somewhere17:18
bigjoolsshadeslayer: I just noticed it's a private PPA.  For those, the source has to be published before it can start building.17:20
bigjoolsso you have to wait for the publisher cycle.17:20
shadeslayerbut it doesnt take THAT long17:20
bigjoolsyes, it does17:20
bigjools10 minutes17:20
shadeslayerhmm.... i didnt know that.... usually it took less than 5 mins17:20
bigjoolsit depends on the load - if there's a lot of stuff to publish it will take longer17:21
shadeslayerohk17:21
bigjoolswgrant has a nice speedup that I hope to put in soon17:21
=== LinuxJedi is now known as LinuxJedi|away
mtayloranychance anybody has an IRC bot that will file bugs in on a launchpad project for me already?18:05
om26ercan i do a upload to my ppa for two ubuntu versions with single dput?18:18
MagicFabflacoste, ping18:32
MagicFabflacoste, would there be documentation explaining the different permission/access levels requested when using apport-collect ?18:32
=== deryck[lunch] is now known as deryck
flacosteMagicFab: are you talking about the levels appearing on the oauth token authorization screen?19:10
MagicFabflacoste, yes, can't seem to find any refs to that19:16
joeyI'm having a problem with APIs where they are doing something they haven't. I'm blocked on some Canonical commercial stuff and lifeless said to ask for some help here. So I am. https://pastebin.canonical.com/39772/19:21
joeyhere's the open paste: http://paste.ubuntu.com/532529/19:23
abentleyjoey: are you using the 1.0 API?  The devel API is subject to change.19:28
joeyabentley: I've used devel and 1.0 with the same results19:29
joeyabentley: I've used edge, lpnet, and staging with the same results19:29
joeyabentley: I've deleted all my items in .launchpadlib, reauthenticated, and....in between nonce issues.... got the same results19:29
joeyabentley: I've reinstalled launchpadlib and lazr.restfulclient19:30
abentleyjoey: And the value you're actually getting is None?19:30
joeyabentley: yes19:30
joeyabentley: although I didn't do the test for it19:30
joeyabentley: I'll test to ensure it's none and not a blank or something19:31
abentleyjoey: I thought I saw something recently about changing from KeyErrors to None, but I'm having trouble finding it now.19:32
joeyabentley: well, it's NOT none ....19:34
joeyabentley: NotFound: Object: <canonical.launchpad.systemhomes.WebServiceApplication object at 0x8007510>19:34
joeyabentley: I get that for real projects and also ones that don't exist19:34
joeyobviously with a different obj id19:34
joeycould be the way I'm doing the statement though19:34
abentleyleonardr: Any idea why project = lp.projects[project_name] returns NotFound rather than raising an exception?19:35
joeyabentley: I get it for project, project.name, project.owner19:35
joeyabentley: it worked as is the last time I used it (about 1.5 to 2 weeks ago or so)19:36
leonardrabentley: "returns NotFound"? what is NotFound, an exception object that doesn't get raised?19:36
abentleyleonardr: It is apparently "NotFound: Object: <canonical.launchpad.systemhomes.WebServiceApplication object at 0x8007510>"19:37
leonardrabentley: are you writing a pagetest, or using launchpadlib as a client?19:37
joeyleonardr: client19:37
abentleyleonardr: joey is using launchpadlib as a client.19:37
joeyabentley: happy to paste you the full script.19:38
leonardrabentley, joey: NotFound is an exception object, and canonical.launchpad.systemhomes... refers to an exception raised on the server side19:38
leonardrif the exception is returned rather than raised, i suspect a version mismatch19:39
leonardror an old coding style that needs to be modernized19:39
leonardrjoey: paste me the script19:39
joeyleonardr: https://pastebin.canonical.com/39778/19:39
joeyleonardr: bac created the shell for me about a year ago and I've been customizing it as needed19:39
joeyleonardr: and yes, I've used 1.0 instead of devel with no luck19:40
joeyleonardr: and I've tried edge, lpnet, and staging19:40
leonardrjoey: there's probably some subtle problem with your setup that is resulting in a request going to /foo or /1.0/1.0/foo instead of /1.0/foo19:41
leonardradd this code and see what requests are made:19:41
leonardrimport httplib219:41
leonardrhttplib2.debuglevel = 119:41
joeyk19:41
joeyleonardr: silly question: where does the output go?19:43
leonardrjoey: stdout19:43
MTecknologyAny ideas what's up with this?...  bzr: ERROR: KnitPackRepository('lp-56956304:///~canonical-isd-hackers/drupal-teams/5.x-trunk/.bzr/repository') is not compatible with    CHKInventoryRepository('lp-56956304:///~ubuntu-drupal-devs/drupal-teams/7.x-dev/.bzr/repository') different rich-root support19:43
* joey wrinkles his face. 19:43
leonardrjoey: what are you passing in for service_name?19:43
joeyleonardr: staging presently19:44
leonardrjoey: the string "staging"?19:44
MTecknologymaybe that's a #bzr question..19:44
joeyleonardr:  -s staging from the options which then goes to .uris and becomes the staging root19:44
joeyleonardr: I'm getting no output from the debug option.19:45
leonardrok, i'm going to try the script. what's a good sample command line?19:46
leonardrjoey -^19:46
joeyleonardr: ./create-oem-project.py -s staging a98349jdfsfj93r19:47
joeyor some other fictitious project name19:47
joeyleonardr: contrast those results against an existing project19:47
joeye.g. ./create-oem-project.py -s staging hedly19:47
joeye.g. ./create-oem-project.py -s staging hedley19:48
leonardrjoey: the script works for me (up to the point where i get Unauthorized), so it's probably a version mismatch. can you run this code?19:51
leonardrimport launchpadlib19:51
leonardrprint launchpadlib.__version__19:51
leonardrimport lazr.restfulclient19:51
leonardrprint lazr.restfulclient.__version__19:51
MTecknologyCan I push something to LP without it being stacked on the primary branch in the project?19:51
joeyabentley: 1.6.119:52
joey0.9.2019:52
abentleyMTecknology: You can explicitly stack it on something else, if you like.  I don't think you can avoid stacking at all.19:53
MTecknologyhm... seems it pushed finally- I guess it decided it'll be nice to me?..19:54
abentleyMTecknology: you can reconfigure --unstacked, though.19:54
MTecknologythanks19:54
leonardrjoey: i get the problem with the system libraries (which is what you have) but not with the later stuff19:55
joeyleonardr: any idea what approach I should try next?20:00
leonardrjoey, i'm working on it20:00
tgm4883What happens to a PPA if you delete it/deactivate it? Specifically, what happens from the users perspective if they have that PPA in their sources.list/sources.list.d/?21:30
=== linuxjedi_ is now known as LinuxJedi
gesercan some help why I get "ServerNotFoundError: Unable to find the server at lplibrarian.internal" when I try to access the attachments for a certain bug over the LP API?21:52
maxbgeser: My guess would be that private bug attachments over the API only work inside the LP datacentre21:54
maxbtgm4883: My guess would be that it just starts to 40421:55
gesermaxb: hmm, I've tried grab-attachments (from ubuntu-dev-tools) on some private bugs (apport crashes) and on 3 of them I got the same error (so your guess might by true) but on two other private bugs the script worked22:00
gesermaxb: do you know who might know it if your guess is true?22:01
=== LinuxJedi is now known as LinuxJedi|away

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