/srv/irclogs.ubuntu.com/2011/08/07/#launchpad.txt

X3lectricis there anyone here thats using FTP to upload to launchpad since it was "fixed"01:52
TheEvilPhoenixi've been using sftp to upload to lp fine01:52
TheEvilPhoenixhavent tested using ftp though01:53
TheEvilPhoenixbut afaict it works01:53
TheEvilPhoenixi can test that for ya if you want01:53
X3lectricwell I used to use ftp then it failed on last byte with large files tehen was told that ftp had some issues told to use sftp which is slow and slower and now apparently ftp has been fixed but I can see any fifference01:55
TheEvilPhoenixi have smaller files, but if sftp is broken i'll test01:56
TheEvilPhoenixs/sftp/ftp/01:56
X3lectricsomething like a nvidia driver will never upload via ftp if its 93231KB it uploads 93230 and hangs01:56
X3lectricsmaller files dont seems to have that problem say less that 2 meg01:57
TheEvilPhoenixwell i just pushed a package that i built in another ppa01:57
TheEvilPhoenixand it has >= 3MB of data01:57
TheEvilPhoenixunless i pushed the wrong package01:57
X3lectricthats too small01:57
TheEvilPhoenixregardless, my personal recommendation is use sftp01:57
TheEvilPhoenixbecause its more secure01:57
X3lectricis slowwwwwww01:57
TheEvilPhoenixbecause its more secure... :P01:57
X3lectricmeh Im not uploading governement secerts01:58
TheEvilPhoenix:P01:58
X3lectricI guess I should be grateful something works :/02:01
TheEvilPhoenix*shrugs*02:01
X3lectricdo you have experience packaging stuff from source?02:02
TheEvilPhoenixsome02:03
TheEvilPhoenixwhy02:03
TheEvilPhoenixand define "packaging from source"02:04
TheEvilPhoenixbecause if you mean package the source, and then build it and install it, well...02:04
TheEvilPhoenixthat's a different story02:04
TheEvilPhoenixbut i have the general idea down (havent ever had a successful test yet)02:04
X3lectrici mean debianizing new packages02:05
X3lectrici mainly looking for a partner in crime to do a modify a minimla install to make it leaner than a regular minimla install02:08
TheEvilPhoenixyou did check that it was okay to do that first, right? :P02:08
TheEvilPhoenixbecause usually if you arent affiliated with the project... you shouldnt go modifying installation packages much...02:09
X3lectricyes its fine02:09
TheEvilPhoenixi've been yelled at for that... :P02:09
X3lectricits GPL they cant yell02:09
X3lectricoh that rhymes02:09
TheEvilPhoenixheh02:10
X3lectricwhoever yellled at you was wrong02:10
TheEvilPhoenixactually02:10
TheEvilPhoenixthey were correct02:10
TheEvilPhoenixtheir software was copywritten02:10
X3lectricwy its GPL isnt it02:10
TheEvilPhoenixand i modified their installation scripts02:10
TheEvilPhoenixwithout permission02:10
X3lectricah well02:10
TheEvilPhoenix(this was when i was newbie)02:10
TheEvilPhoenixalthough since then...02:10
TheEvilPhoenixi proposed the changes to them correctly, and they were like "Wow, that's not a bad idea"02:11
TheEvilPhoenix</streamline-ization>02:11
TheEvilPhoenixyes, that's not a word.02:11
X3lectricwell02:11
X3lectricits GPL so thers no issue with that except its beyond my skills02:12
RenatoSilvawhy does this show last rev as 660 when original repo has last rev as 1183? https://code.launchpad.net/~renatosilva/purple-plugin-pack/trunk03:44
X3lectricwhat is showned there is only internal tomlauchpad03:45
X3lectricthe actual revision is right03:45
wgrantNo, it's just that bzr and hg and svn revnos have different meanings.03:46
X3lectricand thats the same I said only more confusing03:47
RenatoSilvawhat Iif I merge from it? should I say "merge from rev 1183" or 660?03:47
X3lectricyoull get 118303:47
wgrantX3lectric: It's nothing to do with Launchpad.03:47
wgrantIt's a Bazaar thing.03:47
X3lectricpotatoe03:47
* RenatoSilva confused03:48
X3lectricok where I said lauchpad replace with bazaar03:48
RenatoSilvashould I say merge from 660, 1183 or 5bb4c56f954f?03:48
X3lectrici dont speak bazaar but hwta bazaar I know does is crete its own revision even though if you were to create a recipy or compile you actually get  what revison is from the real repo03:52
StevenKX3lectric: So, say the svn repository has revision number 68. Someone then requests an import of that, so Launchpad creates a Bazaar branch, imports the code from revision 68 and commits it. Now the SVN repo is revision 68, and the Bazaar repo is revision 1.03:54
X3lectricsomething like that03:55
RenatoSilvano03:55
RenatoSilvaotherwise it would not be 660 but 103:55
PengBazaar revnos are per-branch; Subversion are per-the-big-svn-repository.03:55
X3lectricits a eample03:56
StevenKRenatoSilva: It was an example, I wasn't using the real numbers.03:56
* RenatoSilva more confused03:56
X3lectricits simple03:56
RenatoSilvasorry, should I say merge from 660, 1183 or 5bb4c56f954f?03:56
RenatoSilvaX3lectric: should I say merge from 660, 1183 or 5bb4c56f954f?03:57
RenatoSilvaif 660, how to map to 118303:57
RenatoSilvahow to map them all03:57
X3lectricif your working with bazaar use 66- it should align ok with real revision03:57
RenatoSilvaI thought it would just match the revisions03:57
RenatoSilvaX3lectric: '66-'????03:57
X3lectrictypo03:58
RenatoSilvaoh03:58
RenatoSilvaX3lectric: what if I want to find in the original repo, what 660 is?03:58
X3lectrichttp://bazaar.launchpad.net/~renatosilva/purple-plugin-pack/trunk/files03:58
X3lectrichttp://bazaar.launchpad.net/~renatosilva/purple-plugin-pack/trunk/revision/660?start_revid=66003:59
X3lectricessentially its03:59
RenatoSilvaX3lectric: ctrl+f 1183 => no result03:59
X3lectric103:59
X3lectric103:59
X3lectricEXTRA_DIST = \03:59
X3lectric203:59
X3lectric203:59
X3lectric        glib_compat.h \03:59
X3lectric303:59
X3lectric303:59
X3lectric        gtk_template.c \03:59
X3lectric403:59
X3lectric        libjson-glib-1.0.dll \03:59
X3lectric503:59
X3lectric403:59
X3lectric        purple_template.c \03:59
RenatoSilva???04:00
micahg!pastebin | X3lectric04:00
ubot5X3lectric: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.04:00
X3lectricthx micah04:00
RenatoSilvamaybe the 12 first digits of rev ID, then lookup in original repo the 1183?04:00
RenatoSilvahow to find 1183 from 660?04:01
X3lectricjust use 66004:01
RenatoSilvaX3lectric: how to find 1183 from 660?04:02
X3lectricpetend 660 is actually saying 118304:02
X3lectric*pretend04:02
RenatoSilvaX3lectric: how to find 1183 from 660?04:02
RenatoSilvaX3lectric: how to find Y from X?04:02
RenatoSilvaX3lectric: x is bzr, y is hg04:02
X3lectricthere is no X04:02
RenatoSilvaX3lectric: x = 660 at the moment04:03
X3lectricoh lord04:03
RenatoSilvaX3lectric: y = 118304:03
RenatoSilvaX3lectric: HOW TO FIND the correspondent original revision in hg repo BASED ON the revision shown in LP? EXAMPLE: 660 => 118304:04
X3lectricwhich part of bazar doesnt use same revison tagging dont you get04:04
RenatoSilvaX3lectric: I have noted that 660's rev ID contains the original hg rev ID, but it's an annoying hack04:04
X3lectricwhat bazar shows as 660 is ACTUALLY 118304:04
RenatoSilvamy God!04:04
X3lectricMeu Deus04:05
RenatoSilvaPQP04:05
X3lectricwhats PQP04:05
RenatoSilvaX3lectric: I have a dirty solution for my problem, unfortunately for you04:05
RenatoSilvaX3lectric: what's Meu Deus04:06
X3lectricMEu Deus= My God in Portuguese04:06
RenatoSilvaX3lectric: good for you04:06
RenatoSilvaeither me or X3lectric is a kid04:06
X3lectrici presume your POrtuguese with a name like that04:07
RenatoSilvaanyone else, is that hack the only thing I have?04:07
RenatoSilvahttps://www.guifications.org/projects/purple-plugin-pack/repository/revisions04:08
StevenKRenatoSilva: So you're whole problem is that the two repositories which both use entirely different version control tools have different revision numbers?04:09
StevenKs/you're/your/04:09
wgrantMercurial revision numbers are not meant to be used for identification. They are entirely local to a repository; unlike bzr, even if the history is identical between two repositories the revision numbers can differ.04:10
wgrantYou should use a Mercurial changeset ID. Which is the hash-like thing.04:10
wgrant"Revision numbers referring to changesets are very likely to be different in another copy of a repository. Do not use them to talk about changesets with other people. Use the changeset ID instead."04:11
RenatoSilvawgrant: so I should never bzr commit -m "merge from hg repo xyz, revision 123"? I should rather use hg rev IDs like here? http://bazaar.launchpad.net/~renatosilva/purple-plugin-pack/irchelper/revision/204:11
X3lectrichttp://wiki.bazaar.canonical.com/BzrRevisionSpec04:12
wgrantWith bzr-svn you can say -rsvn:1234. I'm not sure if bzr-hg has something similar for changeset IDs.04:13
RenatoSilvawgrant: "UpstreamĀ revisionĀ 87484177eba0"04:13
X3lectrichttp://stackoverflow.com/questions/5413602/monotonically-increasing-bazaar-trunk-revision-numbers04:13
RenatoSilvawgrant: the problem is that in the web interface for the original repo, I can't easily find the changeset by typing 87484177eba0 in a searchbox for example (seems a bug since the form has a changeset checkbox). That is, I'm stuck with commit comments and page browsing :(04:15
X3lectricwgrant: ftp uploads for large file like e.g nvidia drivers still fail at 1 byte form complete filesize04:16
X3lectricwgrant: say upload is 97600KB it uploads 97599KB and hangs stops uploading04:17
wgrantRenatoSilva: Works for me.04:17
X3lectricwith small files its ok04:17
wgrantX3lectric: Ubuntu developers frequently upload files several times larger without trouble.04:17
X3lectricwell it doesnt work here I thought it was the ppa upload path but its not04:18
X3lectricand I cant get anyone that can do anything about it to pay attentiaon04:20
X3lectricsftp is too slow04:20
wgrantIt works fine for just about everyone else.04:21
wgrantBoth FTP and SFTP.04:21
X3lectricsftp works fine but its slowwww04:21
X3lectricnot everyone has 10mbit upload speeds04:21
wgrantHuh?04:22
wgrantSFTP should not increase the transfer size significantly.04:22
RenatoSilvawgrant: this works for you??? https://www.guifications.org/search/index/purple-plugin-pack?changesets=1&q=87484177eba004:22
X3lectrichere in UK the max uplaod speed is 1.5MB/s if you have a 100MB/s download speed04:23
wgrantRenatoSilva: I used the real hg web UI. http://hg.guifications.org/purple-plugin-pack/log?rev=87484177eba004:23
wgrantX3lectric: Yes, and I have 256Kbps upstream.04:23
wgrantX3lectric: SFTP does not increase transfer size by any significant volume.04:24
RenatoSilvawgrant: yeah that works but I think they're about to disable it :(04:24
wgrantThat would be rather silly.04:24
X3lectricSFTP addstoomuch overhead with security its 10x slower than FTP04:25
wgrantNo, it's not.04:25
wgrantUnless you are using a Z80 or something.04:25
RenatoSilvawgrant: yeah would be silly since the new one doesn't work04:26
wgrantRenatoSilva: Exactly.04:26
RenatoSilvawgrant: but thanks for helping04:26
X3lectricwgrant: so your telling me that SFTP is not slower than FTP04:27
wgrantX3lectric: Not by 10x.04:27
wgrantand the main overhead is CPU, not bandwidth.04:27
X3lectricwll I dont wnat to be pedantic04:27
X3lectriclol CPU is not a problem04:28
wgrantThen you have no problem.04:28
X3lectricyes I do04:28
X3lectriceven with failures04:28
X3lectricthe files that fail take 10 minutes to uplaod befor it hangs04:29
X3lectricwith sftp it twice the time sometimes 30 minutes04:29
wgrantSo SFTP has connection issues too?04:29
wgrantHave you considered that your connection may be problematic?04:29
wgrantNobody else has reported problems like this.04:29
X3lectricIm not nobody else04:30
wgrantPardon?04:30
X3lectricjst because nobody else reports it doesnt mean its not true04:30
wgrantNo, but given that it works for thousands of other people, it sounds like a good idea to not rule out your connection as an issue.04:31
X3lectricI dont enjoy comming here trying to get to the bottom of this and be told that I have to use SFTP because nobody else has reported any issue04:31
X3lectricSince Im CCNA and CCNIE qualified Im gonna pretend I didnt hear that04:33
wgrant.... CCNIE?04:33
wgrantI'm gonna pretend I didn't hear that.04:33
wgrantFor the few other people that have had issues with FTP, SFTP has worked fine. This is unsurprising, given that SFTP is a slightly less insane protocol.04:35
wgrantI have lots of evidence that Launchpad's FTP and SFTP work well for a lot of people.04:35
wgrantI have no evidence that your connection works.04:35
wgrantSo I'm going to suspect your connection first, particularly if SFTP doesn't work either.04:36
X3lectricok SFTP works but ITS slow04:36
X3lectricI never said sftp didnt work ok04:36
wgrantIt's also suspect that you claim to hold a qualification without knowing its name, but I admit that may have been a typo.04:36
X3lectricit is a typo04:36
X3lectricconsidering I havent slept for 2 days04:37
X3lectricso04:37
X3lectricIm saying that SFTP work but its much slower, FTP on the other hand fails to upload at last byte of a large transfer04:38
wgrantHave you tried from an entirely independent Internet connection?04:39
X3lectricyes04:39
wgrantAnd the behaviour is identical?04:40
X3lectriclike twins04:41
wgrantI get the expected 25KB/s over SFTP here. Let me try from a faster connection.04:44
X3lectricsftp uploads every last byte and doesnt fail, despite it being slower by a significant factorthan the FTP which is significantly faster but only works with smaller files here04:44
wgrantHmm, only 4MB/s.04:46
wgrantSlower than it should be, but possibly network congestion.04:46
wgrantBut still, not "slow".04:46
wgrantThat was uploading a 100MB file to ppa.launchpad.net with SFTP.04:46
wgrantSo it can handle 32Mbps with no trouble, and if that's slow for you then, well, I am quite envious.04:47
X3lectricYour server may be able to handle 32Mbps upload with SFTP but I dont have thatsort of speed available to me04:49
wgrantAnd I'm able to upload at 200Kbps from home, despite my upstream being 256Kbps.04:50
wgrantSo the overhead is minimal (considering I'm also downloading stuff at a few Mbps, so there's a number of acks there)04:50
wgrantNot sure what possessed Australian ISPs to over 20000/256 connections.04:50
wgrants/over/offer/04:50
PengYes, Australian ISPs _are_ possessed.04:51
RenatoSilvathanks all04:52
X3lectricMy upload is 512 from home but when Im uplaoding to launchpad via sftp it maxes out at variable 80 to 90kbps04:52
wgrantUnless we are dealing with a terrible TCP windowing issue or similar, that doesn't really make sense :(04:53
X3lectricwell UK ISP are insufrerable too considering there is only one "fiber-coax" provider in the whole country04:53
X3lectricfor e.g04:53
wgrantWe have two HFC providers.04:54
wgrantBut they only cover small portions of the country.04:54
X3lectricmy home connection is 10Mbps down down and 512Kbps uplaod while in constarst they offer a 100MBps download and a measly 2.5Mbps upload04:55
X3lectricthe price for that 100Mbit connection is daylight robbery04:56
X3lectricevn 30 Mbit is impossibly expensive04:56
X3lectricwell anyway the only way for you to test this failure over FTP is to use same files I use which is nvidia-current drivers to my ppa04:58
Peng...Have you tried uploading with a different FTP client?04:59
X3lectricbecause I dont use/upload any other files that are large enough to trigger the hang at last byte04:59
X3lectric?04:59
Peng? what?04:59
X3lectricpeng this is using ubuntu dput04:59
PengOh. I shouldn't admit this in #launchpad, but I don't know the Debuntu tools. :P05:00
X3lectricthe rpoblem is using FTP via.dput.cf05:01
wgrantAre those files available somewhere?05:03
X3lectricwhat bugs me is that when I starting uploading to ppa's using FTP all was well one day thsi very same error ocurred, I was told that Launchpad was replacinf its FTP servers, now 6 months later nothing has changed form the error which hangs tranfer at last byte of file05:04
X3lectricwhat files?05:04
X3lectricthe ones that fail?05:05
X3lectricacually saying they fail is incorrect the trasmission hangs at last byte05:05
X3lectricthe file sthta hang via FTP are nvidia-graphics-drivers and can be found in https://launchpad.net/~x3lectric/+archive/nvidia-vdpau05:06
wgrantLet's see.05:08
X3lectricthis is my dput http://pastebin.com/tg3KUFij05:11
wgrantUploaded fine over FTP from the 4MB/s connection.05:12
X3lectricok can you loook at my dput and tell me whats wrong?05:13
X3lectricsftp dput that never fails http://pastebin.com/mL5Qng6Q05:13
wgrantThe default one doesn't have passive_ftp = 105:13
X3lectricftp dput that fails dput http://pastebin.com/tg3KUFij05:14
X3lectricmmmm05:14
wgrantIt's clearly using passive anyway, but perhaps forcing it does something bad.05:14
X3lectricok Ill remove it clearly oversight05:15
wgrantAdded that, still works fine.05:16
X3lectricmmmm05:16
X3lectricwait you just upload nvidia drivers twice in 3 minutes05:17
X3lectricvia FTP05:17
wgrantNot from my home connection.05:18
X3lectricwould the OS be a factor?05:19
wgrantI really hope not. But all my tests have been from Ubuntu 10.04 LTS and Ubuntu 11.04.05:19
X3lectricwell my dev box is still karmic05:20
wgrantErm.05:20
wgrantKarmic is unsupported.05:20
wgrantYou probably want to upgrade :)05:20
X3lectricI havent the patiente05:21
wgrantYou also lack any kind of security.05:21
X3lectrichow so05:22
wgrantKarmic no longer receives security updates.05:22
X3lectricright05:24
X3lectricwait05:25
X3lectricI agree that karmic may not be ideal security wise but if your going to compromise karmic the extra seconds to compromise any other OS is trivial05:26
wgrantIt's far easier to compromise something if it's not got known vulnerabilities patched.05:27
X3lectricits trivial either way nothing is secure 100% it may take a few extra minutes to find one05:28
X3lectrici guess Ill have to test this with another OS and create a new development environment05:33
X3lectricto ruleout the FTP issue not being os associated05:34
X3lectricanyway thx for testing05:35
wgrantHmm.05:35
=== Mkaysi_ is now known as Mkaysi
=== nyuszika7h is now known as I_had_gun
=== I_had_gun is now known as nyuszika7h
RenatoSilvacan someone delete a bug for me?20:44
lifelessthere is no delete facility for bugs. They can be orphaned - made private with no subscribers - but thats a bug that we will be fixing to make sure there is always someone from the project that can access the bug.20:46
lifelesswhats up ?20:46
RenatoSilvaI reported the bug upstream, the patch is not simple, no one is interested in LP. It's just junk20:55
lifelessRenatoSilva: what bug?21:12
micahgwgrant: ping re powerpc buildd21:14
maxbRenatoSilva: That's hardly grounds to delete it21:16
RenatoSilvalifeless: bug 68278021:17
ubot5Launchpad bug 682780 in purple-plugin-pack (Ubuntu) "Password dialog for IRC Helper" [Undecided,New] https://launchpad.net/bugs/68278021:17
micahgRenatoSilva: you should talk to debfx about that in #ubuntu-motu21:18
lifelessRenatoSilva: its entirely appropriate to have a bug open in Ubuntu while the defect is still present in Ubuntu21:19
RenatoSilvaI reported the bug upstream -- there is the right place, the patch is not simple -- unlikely any package maintainer want to manage it, no one is interested in LP -- since months, no one really.21:19
RenatoSilvalifeless: technically it's not a defect, it's a feature21:19
RenatoSilva*if* anyone get ever interested, the report will be in upstream21:20
lifelessRenatoSilva: the line between defect and feature is different to different people.21:21
lifelessRenatoSilva: not using a keyrign is a defect21:21
RenatoSilva:'(21:26
X3lectrichoices in gui are kepunder add vdeisource or add source21:39
X3lectricnite nite im gonna see if I can close my eyes for an hour or two and try to relax and meditate21:50
lifelessAnyone else manage to parse that -2 comment ?21:54
=== yofel_ is now known as yofel
RenatoSilvathanks all anyway23:11
=== med_out is now known as medberry
DNS777hi23:49
DNS777i try to edit description of a ppa and get an error like this: No REFERER Header23:50
DNS777but it worked be423:50
DNS777dont matter which paa i try hm23:51
DNS777im using icecat523:51
DNS777*ppa23:51
wgrantDNS777: Your browser is configured to not send a Referer header.23:55

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