/srv/irclogs.ubuntu.com/2010/10/19/#bzr.txt

spivGood morning.00:01
peitschiemornin spiv00:09
pooliejelmer, hi, still awake?00:36
pooliehi spiv00:36
jelmerpoolie: Hi!00:36
jelmerpoolie: Apparently :-)00:36
spivOoh, I'm patch pilot this week.01:34
spivpoolie: perhaps you should review https://code.edge.launchpad.net/~gz/bzr/smart_add_former_file_dir_251864/+merge/38676 ?  I think you may have touched that code or near it with your smart_add deprecation patch.01:35
pooliespiv, actually i was going to propose swapping with you because i'll be away for the next two01:35
pooliei have, i'd be happy01:36
poolieto01:36
poolie(otp)01:36
spivSo you'd pp this week, and I'd pp the week of Nov 1?  I'm happy to do that.01:37
=== Ursinha is now known as Ursinha-afk
dOxxxspiv, pooile: y'all are just afraid to review my monster mergetools mp ;)02:00
dOxxxpoolie^02:00
spivHeh02:00
spivdOxxx: pfft, I had patch with a 26000 line diff last week ;)02:01
dOxxxI don't blame you. Took me 3 months.02:01
dOxxxAutomated refactorings don't count! :)02:01
poolie:)02:04
pooliespiv of course you can still do reviews this week02:04
pooliespiv, are you all better? or a bit better?02:15
spivpoolie: I'm mostly better.02:31
spivWell enough to continue looking at https://bugs.edge.launchpad.net/udd/+bug/653307 at least :)02:32
ubot5Launchpad bug 653307 in Ubuntu Distributed Development "Import fails with missing referenced chk root keys (affected: 1, heat: 8)" [Critical,In progress]02:32
pooliewant a quick catchup call or pm (depending on the state of your voice)?02:33
zamabeso. debian and bzr02:50
zamabei hear they don't mix02:50
zamabeand i can't exactly download it02:50
pooliewhat is 'it'?02:52
spivpoolie: a catch up would be good, but maybe just after lunch as I'm in the middle of digging through a udd/bzr-builddeb maze right now02:52
poolieok, thanks02:52
zamabepoolie, i've recently decided to download the tarball and build it02:53
zamabewhat i mean by 'it' is this02:53
zamabehttp://wiki.bazaar.canonical.com/DistroDownloads#Debian02:54
pooliezamabe, you just need 'sudo apt-get install bzr' or the equivalent03:50
jbowtieFryGuy-, thanks for those branches; I've already merged one and will create patches based on the other two soon.04:08
jbowtieFryGuy-: I was also surprised to see that it worked with 2010 with such a small change. They actually did pretty well with backwards compatibility.04:09
jbowtieFryGuy-: unfortunately I can't use the branch directly, need to put in conditional version checks.  ;)04:09
jbowtiepoolie: My "chopping up the file" proposal was based on what ZFS, Dropbox, et al do for versioning large files. Memory usage was a side effect.04:19
jbowtiepoolie: Do you know of any better algorithms I should be looking at, maybe in the literature somewhere?04:19
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
pooliei think the basic idea of chopping it up based on a rolling checksum is not too bad04:38
lifelessit might be nice to just be deterministic04:54
lifelessevery 128K for instance04:54
lifelessso that we don't have to /diff/ to do it.04:54
lifelessin fact, thats probably a must-do, not a might-do.04:54
jbowtielifeless: Should that apply to large text files as well or just binaries.04:59
jbowtie?04:59
pooliewell, rolling checksums are deterministic05:11
pooliespiv, can you reproduce that bug in bzr alone?05:11
lifelesspoolie: they are, but using them to find the boundary between and old and new version means that partial branches cannot reproduce the result05:13
lifelesspoolie: which is a significant concern05:13
pooliemaybe we're talking about different things?05:13
pooliei understood jbowtie to be considering using them to chop single large files05:14
jbowtieYes, trying to find a way to solve some of the issues around large binaries.05:16
lifelessthat would be fine, I understood him to be using delta logic based on that05:16
lifelessvia the reference to zfs and dropbox05:16
spivpoolie: no, at least not without intentionally driving the bzrlib APIs to generate two inventories with the same ID but different details.05:17
pooliejbowtie: so are you saying that dropbox chop the files on boundaries and then apply librsync?05:17
pooliei know they at least used to use librsync05:17
jbowtiepoolie: AFAICT yes, that lets them do data deduplication as well as versioning.05:19
pooliemm05:19
pooliejbowtie: i'm wondering: in which layer should this be done?05:21
poolieshould the repository present the abstraction that you're just dealing with files, some of which may be extremely large?05:22
poolieor do you want to expose it at a higher level?05:22
poolieto me it seems pretty clear it should be behind that abstraction if at all possible05:22
poolieso then we do need to make sure all those interfaces work with iterators of bytes (or some similar convention)05:23
poolieotherwise we'll just propagate this problem05:23
jbowtiepoolie: I'd like to keep it confined to the repository if possible, but I think I need to spend some time trying to implement it to come up with something workable.05:26
jbowtiepoolie: Figured I'd put together something experimental this week if I can find the free time.05:26
jbowtieSpeaking of which I have to go offline while I travel home; pick up the conversation on the mailing list if necessary.05:27
pooliei don't really understand the relevance of the xemacs startup to hooks...05:34
pooliespiv: now?05:34
spivpoolie: now is good05:35
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | Release Manager: vila | 2.3b2 is officially released, test it ! | work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/
vilahi all !07:34
spmyo vila!07:44
vilaspm: hey !07:45
vilapoolie, spiv: Hmm, did I miss something ? jam and poolie are at UDS next week, so PP should be either me or spiv for week 43 (starting 25 oct)07:57
pooliethat is what i meant to make it07:58
poolie... and i got it wrong07:58
pooliei'll fix it07:58
vilapoolie: done07:58
vilawas doing it in parallel but wanted to give a heads-up07:59
lifelessspiv: you should get a twitter account ;)08:00
poolievila, did you get to talk to charline?08:44
vilapoolie: no, she never ponged, I will try again today08:44
vilapoolie: hmm, she's not online currently though...08:45
vilapoolie: I will mail her08:45
poolieah, she might have already gone to the US08:45
pooliethat would be good08:45
vilaargh, goodbye same-TZ-ness08:45
pooliei thought she wasn't leaving til later this week08:46
vilaand I can't find here on the UDS-N attendees :-? >-/08:47
poolievila, ok, i sent her a mail08:53
poolieyou could call later today?08:53
vilapoolie: sure08:53
pooliewhat a day08:57
pooliei'm going to sign off, good night08:57
vilapoolie: night !09:01
=== CcxCZ_ is now known as CcxCZ
thevibemorning anyone09:13
thevibedoes anyone of you have a post_commit update hook/plugin ?09:14
lifelesswhat do you mean?09:18
thevibeI mean if you have an already running post_commit hook/plugin that does an update on the server09:51
thevibelifeless - I'm just at the beginning with python so I don't want to jump over my level with a plugin that needs to serve a development environment09:53
lifelessoh, I think someone may have written one09:54
lifelesscheck the plugins page?09:54
thevibelifeless, I checked google up to page xx and I can't find one09:56
lifelesshmm09:56
thevibehonestly the problem is that I can't wait till I get a ggod grip of python for this09:56
thevibeI need it and that's why I am asking for help09:57
lifelessI'd ask on the list09:57
lifelessmore people see questions there09:57
thevibeI built the development environment in a semi-decentralized manner09:57
thevibeand because is the developement server and we have a routine in place09:57
thevibean update run after commit will display everything in the broser straight away09:58
thevibewhich is what I want09:58
thevibeI've sent my question there but not very successful09:59
thevibebecause of that I said I will come here maybe someone has one and maybe will be willing to share it09:59
thevibethe other problem is that I need to put everything in place to close the gates for svn fans asap10:00
thevibe:)10:00
GaryvdMthevibe: Not sure if I understand you correctly, but maybe the bzr-upload plugin will do what you want.10:24
thevibebzr-upload will be used to deploy things but I don't think it does what I want10:37
thevibeI just want an equivalent of an svn post_commit hook that runs an update on the server after any commit10:38
thevibeit should be in the same category with hooks that send an email after commit or something similar10:39
thevibeto describe the structure this is how it looks10:40
thevibewe init a project on the server10:40
GaryvdMthevibe: What does "runs an update" entail?10:40
thevibethe developer will checkout a branch which is bound to the main one10:41
thevibeafter any chaneg the developer will commit the changes to the main repo10:41
thevibeafter that cmmit I need a hook that will execute a bzr update10:41
thevibeso I can see the changes in the browser straight away10:41
thevibeis being used for web dev mostly10:42
thevibeGaryvdM, after a commit I need a hook that will execute bzr update on the server10:42
thevibeit is something like push-and-update but I need commit-and-update10:43
GaryvdMthevibe: Ok - bzr update needs to be run on the server. Do the devs all have ssh access?10:43
thevibeeverything is run under ssh10:43
thevibebzr+ssh10:43
thevibeso yes they have as the server is inside10:44
thevibebut I need an automated process10:44
thevibeI don't want them to login and run the command by themselves10:44
GaryvdMthevibe: You will want a post tip change hook on the master branch, rather than a post commit hook on the devs branch, so that if they unbind, and push, it still works.10:45
* GaryvdM looks at the push-and-update to see if it can be made to do this10:45
GaryvdM* push-and-update code...10:46
GaryvdMthevibe: Note that you can get bzr-upload to do this...10:47
thevibeas I was saying I am not very advanced with python so I don't want to digg in an area where I can miss things and not understand others10:48
thevibeGaryvdM, can you give me more details on how bzr-upload can do this10:48
thevibe?10:48
thevibeI trust you about the post tip change hook but the issue is still there: how can I get one of those? :)10:49
GaryvdMthevibe: step 1: in the master branch  on the server, run bzr remove tree10:51
GaryvdMthevibe: step 2 : from your pc run bzr upload sftp://server/path-to-branch  -d bzr+ssh://server/path-to-branch --auto10:52
GaryvdMthevibe: that will get bzr-upload to do a post tip change hook on bzr+ssh://server/path-to-branch to upload to sftp://server/path-to-branch10:54
GaryvdMthevibe: step 3: make all the devs install bzr-upload.10:55
=== bac` is now known as bac
Glenjamins/remove tree/remove-tree/10:56
GaryvdMGlenjamin: yes - thanks10:56
thevibeexcellent11:06
thevibeI will do that11:06
thevibeone more thing11:06
thevibesome of the are front-end developers or even designers and I suggest them to use bzr explorer as it can be installed on multiple OS's11:08
thevibeI use Ubuntu, for me it's easy11:08
GaryvdMHmm - push-and-update date has a post_push hook, but that limits it to push. It would be much more useful if it used post-tip-changed, like bzr upload..11:08
thevibecan I create a tool in bzr for this command?11:08
thevibeyou're right and I told you I tried that plugin and is not exactly what I need11:09
thevibeit has his good parts but probably a post-tip-changed would be much more useful in real-world11:09
thevibeI think at least11:10
thevibe:)11:10
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== rml_ is now known as rml
=== Ursinha-afk is now known as Ursinha
=== deryck is now known as deryck[lunch]
=== mnepton is now known as mneptok
=== deryck[lunch] is now known as deryck
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno-luncheso
=== beuno-luncheso is now known as beuno
=== Ursinha is now known as Ursinha-lunch
mgzI'm pretty sure using bzr with gunicorn is just a bad idea.18:21
jammgz: but... but... unicorns, man18:26
mgzthe problem on the list doesn't look intermittent though, so I won't start yelling about signals just yet.18:27
jammgz: signals shmignals, unicorns man, its all about the unicorns18:27
jam(and the fairy dust, but that is harvested from the unicorns anyway)18:28
mgzshouldn't animal welfare have something to say about covering a unicorn in green paint?18:28
GaryvdMHi mgz, jam18:29
jamhi GaryvdM18:29
mgzhave you got any smart ideas on bug 663234 Gary?18:29
ubot5Launchpad bug 663234 in Bazaar Windows Installers "qlog fails after loading bzr 2.2.1 on Windows 2000 (affected: 1, heat: 6)" [High,New] https://launchpad.net/bugs/66323418:29
GaryvdMHe He, was about to ask you....18:30
GaryvdM* I was...18:30
mgzwell, Alexander might be right, it's hard to tell without more information18:31
mgzsuggesting the guy tries do just do python -c "import PyQt4.QtGui" might help.18:31
GaryvdMHe said that it was working with 2.2.0, so I wonder if he removes the msvcp dlls and manifest, if it will work18:31
mgzyeah, I wondered if it was something I'd broken, but I'm not even sure which installer he used18:32
GaryvdMI've been assuming 2.2.1-2, but I may be wrong.18:32
GaryvdMI looked, and I can't find any window 2000 cd.18:33
mgzyeah, not sure it's really worth us trying to test it.18:33
mgzworking out some sensible things for him to try might be worth it though.18:34
GaryvdMI was still in school when win2000 came out - Seems so long ago.18:34
mgzehehhe18:34
mgzI have a box with win98 on it still!18:34
GaryvdM:-018:34
mgzbut I was in school when I got it.18:35
GaryvdMI never used 98 much. I went from 95 -> nt 418:36
GaryvdMbtw - I got my build host working finally :-) I need to document how I did it with vs express .18:38
mgzcool.18:38
GaryvdMAnd I have built a 64bit python installer, which I need to upload. But I think what people will really be looking for is the standalone 64bit installer.18:40
mgzI did wonder what people were going on about on the mailing list with 64 bit windows.18:41
mgz...if you care that much, just download a 64 bit python and install bzr yourself18:41
GaryvdMI'm busy in building a 2.2.1-3, with bzr-explorer 1.1.1. 1.1.0 had a bug thats getting alot of heat.18:42
GaryvdMmgz: Did you see my mail about using build out for the dependences?18:45
mgz...no, what list was it sent to?18:45
GaryvdMmgz: bzr-windows18:46
GaryvdMAh - just got jam's reply18:46
jamGaryvdM: well, I just sent it now, too :)18:47
jamI like the idea18:47
jamnot sure about the path18:47
jamI would be fine using a default that fits the build machine18:47
mgzI'd really like a way of bypassing buildout, but using it for more things is also good.18:48
GaryvdMjam: I finally managed to create a bundle on ec2, but the name I gave it was not very good. Sorry18:49
mgzjam: if you have a mo, could I have some input on my worrying in <https://code.launchpad.net/~gz/bzr/require_unicode_committer_614593/+merge/38334> ?18:54
jammgz: commented18:58
mgzthanks!19:00
=== Ursinha-lunch is now known as Ursinha
mtayloris there already a bug out there requesting that bzr launchpad-login set bzr whoami based on metainfo on launchpad19:27
mtaylorI _keep_ having folks who have obviously dong lp-login (since they are pushing) but skip the whoami step because nothing reminds them to19:28
fullermdDon't recent versions just refuse to commit if you haven't whoamied?19:30
fullermd(whoami'd?  How do you conjugate that?)19:30
mtaylorfullermd: not that I can see ... although maybe that's in newer revs than what we have19:53
mtaylorfullermd: do you mean post-2.2?19:53
fullermdLooks like it was in 2.2.19:53
mwhudsonjam: hi20:08
jamhi mwhudson20:18
mwhudsonjam: did you see the lp-service failure?20:18
jamyes, I wasn't 100% sure about what it was telling me20:19
mwhudsonjam: i think it's an unbound variable 'socket_path'20:19
jammwhudson: what I saw was "exited without failures but with nonzero exit code"20:19
mwhudson$ pyflakes lib/lp/codehosting/tests/test_acceptance.py20:21
mwhudsonlib/lp/codehosting/tests/test_acceptance.py:81: undefined name 'socket_path'20:21
mwhudsonjam: ^20:21
jamAttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode'20:21
jammwhudson: so it certainly could have failed randomly because of a broken exception handler20:23
jambut all the test_acceptance tests seemed to pass here20:23
mwhudsonjam: you haven't forgotten to push to lp?20:25
mwhudsonjam: because there's pretty clearly a socket_path that needs to be self.socket_path in the branch i just pulled20:26
jamit is possible20:27
jamor I pushed without commit, etc20:27
mwhudsonjam: the deprecationwarnings are probably from the atexit stuff20:30
mgz<jam> AttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode' <- this is subunit bug 635702 and indicates an old testtools version21:04
ubot5Launchpad bug 635702 in subunit "addError broken with some versions of testtools (affected: 1, heat: 7)" [Undecided,New] https://launchpad.net/bugs/63570221:04
jammgz: someone should tell launchpad to update their testtools :)21:13
mgzThere's probably an rt on it buried somewhere.21:13
mgzcontent filtering hits before diff, right?21:16
mgzso, content filtering a utf-16 file to utf-8 in the repo would mean you could diff it?21:17
mwhudsonjam: lifeless tried (to update testtools), it uncovered some broken tests21:29
lifelessmwhudson: I'd be delighted if you wanted to tug on them.21:54
pooliejam, shall we talk in a bit?21:55
mwhudsonlifeless: two of the tests are really easy to fix, i guess i can look at them in a bit21:58
peitschiemornin all :)22:54
vilaouch, now is already tomorrow, night all ;)23:01
peitschienight vila lol23:03
jelmerBonne nuit vila23:14
=== Ursinha is now known as Ursinha-afk

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