/srv/irclogs.ubuntu.com/2009/09/10/#bzr.txt

=== bob2_ is now known as bob2
=== bob2 is now known as Guest50183
=== Guest50183 is now known as bob2
=== t0mm13b is now known as t0mm13b|ZZzzzz
* igc lunch03:17
spmnot quite sure how to describe this: have a branch that on codehost that is only using 216Kb of disk; yet our copy is 50Mb; bzr pack reduces the pack file to a single 44Mb monster. fwiw this is managed by config-manager if that helps at all.03:26
SamB_XP_spm: I've a suggestion: fetch a new copy ;-)03:27
SamB_XP_then, do the old switcheroo03:27
spmgood ol' rm-rf :-)03:27
BasicOSXHello, http://bazaar-vcs.org/Download click bzr-2.0rc1.tar.gz link is broken.  http://launchpad.net/bzr/2.0/2.0rc1/+download/bzr-2.0rc1.tar.gz03:28
spmSamB_XP_: gah. is even bigger. 56Mb now.03:33
SamB_XP_spm: pulled from the 216K one ?03:34
spmaye03:34
spmvia config-manager03:34
SamB_XP_what happens if you just "bzr fetch"?03:34
SamB_XP_er. branch.03:34
SamB_XP_too many damn vcses, there are03:34
spmbzr branch, standalone as in. 650Kb.03:35
spm:-)03:35
SamB_XP_spm: what does config-manager do to it ?03:36
SamB_XP_and ... 650K is still >2x as big :-(03:36
spmSamB_XP_: cm, is the magic that pulls all the various sourcecode branches together that are used under, eg, Launchpad03:38
SamB_XP_what does it do rather than "bzr branch" ?03:39
spmi should add we *don't* get this issue - to our noticing :-) on the launchpad tree itself. So is very odd.03:39
spmlifeless'd be the best to ask on that score i spect03:39
SamB_XP_spm: what format did you say the branch is in ?03:39
spmBranch format 703:40
spmtho.. also get Standalone tree (format: unnamed) from a straight info03:40
SamB_XP_er, repository-format-wise, I mean03:41
spmrepository: Development repository format - rich roots, group compression and chk inventories == that one?03:42
SamB_XP_spm: ah, yeah, that's even 2a ...03:42
spm'k03:42
spmi woder if it's sharing or something in some weird way03:42
spmBranch history: 57 reviosns -is also what I get from a bzr branch of same03:43
spmyet: Repository: 10382 revisions03:43
spmwhich seems... excessive for such a small branch03:43
SamB_XP_indeed!03:43
spmis there some way you can tickle bzr to show what files/whatevers it thinks it's holding a pack? am searching for any even vague clue as to wtf at this stage03:45
spmin a pack, as in.03:45
spmAhh. clue: the branch up on LP codehost is stacked on another. I suspect we may be getting a copy of the entire stacked branch...03:47
SamB_XP_ah. that's likely ;-)03:48
spmnext Q becomes "WHY!?!?!?" and then "HOW DO WE MAKE IT STOP!!!" ;-) I think at this point I'll pull all the info together and throw an email at Rob.03:49
spmthanks SamB_XP_ for your time, much appreciated03:49
SamB_XP_happy to be captain obvious for you ;-)03:50
spmheh03:50
SamB_XP_(that's another name for "help desk", I think ;-)03:51
spmTeddy Bear in the Corner is another03:51
poolieigc, sphinx is in review03:52
pooliespm, would you mind making a new pqm branch for us this afternoon03:52
spmpoolie: sure, 1.19?03:52
poolieno, 2.0.003:52
poolieigc, are you back?03:53
pooliecoming off 2.0, for the 2.0final release, so that people can land things targeted at 2.0.103:53
pooliespm, regarding your funny branch:03:54
BasicOSXpoolie:  seem my comment about broken download link?03:54
spmpoolie: sure; so is that 2.0.0 you want? or 2.0.1? Just to clarify.03:54
pooliethere is no ui to find out what's in a pack but it is feasible to do it through the api and we could possibly add a tool03:54
pooliealso, you could file a bug or support question about that branch03:55
poolieBasicOSX: no03:55
BasicOSXhttp://bazaar-vcs.org/Download click bzr-2.0rc1.tar.gz link is broken.  http://launchpad.net/bzr/2.0/2.0rc1/+download/bzr-2.0rc1.tar.gz03:55
spmpoolie: ok, ta. I suspect the latter is the way to go. fwiw it's not so much "A" branch, as about 2 dozen of 'em.03:55
pooliespm, so actually you can do it now if you want03:56
pooliethat's a branch coming off 2.0 and called 2.0.003:56
poolieor later is fine, just let me know03:56
poolieBasicOSX: thanks03:56
spmcool, 2.0.0 it is, and doing now is fine - pizza is apparently heating in the oven as we speak! :-)03:56
igcpoolie: back for 15 minutes or so03:59
poolieigc, so the submission bounced but i'll fix it and resubmit03:59
pooliethen cut a release03:59
pooliethanks for your feedback on ej's draft03:59
igcpoolie: tests failed?04:00
pooliemm, see the mp04:00
poolieor actually don't, it's shallow04:01
poolieyou just need a copyright statement04:01
pooliethough that might be hiding other failures04:01
poolieat any rate i'll follow up04:01
pooliei might get some lunch first though04:01
igcpoolie: thanks. I'm able to head off for a medical appointment04:02
igcs/able/about/04:02
spmpoolie: should be all systems go: https://code.edge.launchpad.net/~bzr-pqm/bzr/2.0.004:03
pooliegreat04:03
pooliegood luck igc04:04
igcpoolie: that's a generated file btw04:04
igcthat's why I didn't add a copyright04:04
pooliewe can tell it its an exception04:04
igcsounds the right choice to me04:05
=== cprov is now known as cprov-zzz
* igc off the doctor - bbl04:19
igcoff to the doctor, that is04:19
jmlpoolie, the new page looks really good.04:50
jmlpoolie, I think the serif font for "Bazaar" clashes with the rest of the page, fwiw.04:51
pooliemm04:52
poolieyou should say so in the thread then04:52
jmlpoolie, ok. will do.04:55
jml(I was hoping to short circuit finding the right message in the thread :))04:56
jampoolie: did you cut an official 1.18.1? Your patch seemed to go through pqm just fine04:56
jamI noticed because I was getting kerguelen 'rebuilt' slightly with the 2a upgrade04:56
jamand it seemed to build a 1.18.1 with a mbp revision04:56
pooliejam, i didn't make the tarball yet04:56
poolieright04:56
pooliei don't have any more changes for 1.18.104:56
pooliealso, spm just made a 2.0.0 branch for us04:57
poolieoh, except someone snuck in to pqm in front of me :)04:57
jampoolie: is this 2.0.0 or 2.0.0-rc2 ?04:58
poolieit's the branch leading up to 2.0rc2 then 2.005:01
poolieso other 2.0.x suitable stuff can land on bzr/2.005:01
lifelesswhy not land on 2.0 directly?05:03
lifelessactually, I'll ask that tomorrow; today I have a plane to catch.05:04
pooliei'm drafting a mail, it will be out in a bit05:04
fullermdWhat will you do with it when you catch it?05:04
SamB_XP_for a split second I heard "crash"05:04
pooliespiv, thanks for putting progress onto the ~ bug06:11
spivpoolie: np06:12
poolieand the kind of pre-impl note, really06:12
spivSeeing as it was already marked "In Progress" I needed some other way to make it visible that it really is in motion again :)06:13
pooliereplied06:14
poolieyes06:14
jampoolie: I went ahead and created the 1.18.1 release, since I had the installers built06:26
jamyou can cut the tarball when you lke06:26
jamhttp://launchpad.net/bzr/1.18/1.18.106:27
pooliejam, i just did it06:27
pooliethanks06:27
pooliei was going to <https://code.edge.launchpad.net/~mbp/bzr/trivial/+merge/11501> stop making source zip files too06:27
pooliei think you already agreed with that?06:27
jampoolie: oddly enough, POST doesn't fail instantly when the page doesn't exist06:27
jamwhich means I would have had to wait until the whole 15MB was uploaded before it failed...06:28
pooliehm :/06:28
jamI've run into that before06:28
pooliewhat was sending the post?06:28
pooliethe cheesy upload script?06:28
jampoolie: curl06:28
jam*my* cheesy version of it06:28
pooliewe should probably change it to use the api06:28
poolie:)06:29
jamwhich analyzes filenames etc, so it does most of the work06:29
poolieshould we just announce it now, or wait for other builds?06:29
jamso it is just 'upload.py *.exe'06:29
jampoolie: I think you need to cut a tarball and announce that on the dev list :)06:29
pooliei did, there's a tarball there06:29
jamI'd like to follow our planned announcements06:30
jampoolie:   bzr-1.18rc1.tar.gz06:30
jamI think you packaged something slightly wrong06:30
jampoolie: so, I'd like to follow the plan, but I'm noticing that having to come back 1-week later isn't working very well, either06:30
pooliehm, good catch06:31
jamas for 'no zips....' I'm not 100% sure, let's check the downloads06:31
jamfor older versions06:31
jampoolie: so... foo.zip has very few downloads versus the others06:32
jamsetup.exe 2.5k, tar.gz 1.4k, .zip 12206:32
jamabout 1/10th06:32
jamfairly consistently06:33
jamsetup.exe is 2x the tar.gz, and the tar.gz is about 10-20 times more than the .zip06:33
poolieand i suspect some of them are misguided06:34
poolieand now the 2.0 docs patch landed06:34
jampoolie: I'm actually pretty impressed that 1.17 has 11k downloads overall06:34
jamI guess it is extra long because 1.18 was a bit delayed06:34
jampoolie: approve06:34
pooliethanks06:36
jamthough I should say... you can open a .zip in plain Windows Explorer, you can't open a .tar.gz06:36
jamor .tar.bz206:36
poolietrue06:36
jambut... I don't think people who want *source* will care06:36
poolieat least in recent windows06:36
pooliethey can get the source from the nonadmin installer though?06:36
jam>= XP I believe06:36
poolieor indeed from bzr06:36
jamyeah, the source is in nonadmin, I believe06:37
jamanyway, good night06:37
pooliegood night! and thanks06:38
vilaeerk, hi jam !06:43
vilahi all :)06:43
poolievila, hi06:43
vilathe never-sleeping team :-)06:43
fullermdvila: Ah, just the person I wanted to see...06:43
fullermdvila: I've answered your question.06:44
fullermdvila: http://www.over-yonder.net/~fullermd/dl/bzrdocs.png06:44
vila. o 0 (*Which* question :)06:44
vilaROTFL06:44
fullermdUser-Agent: NCSA_Mosaic/2.7b5 (X11;FreeBSD 8.0-BETA2 amd64)  libwww/2.12 modified06:45
vilawow, now I'm impressed, congrats !06:45
fullermdI'll bet you serious money I'm the only one on the *PLANET* with that U-A string.06:45
fullermdIn fact, I may be the only person ever to compile it on amd64   :p06:45
vilamy god I forgotten about the default grey background, sniff, tear dropping06:46
fullermdTook a bit of work.  I guess I should have been doing real work instead, but...06:46
fullermdTons of int/ptr size mismatch warnings, probably due to the I32LP64 config.  Probably not overly safe to use I guess, but it was fun   8-}06:47
vilaMore seriously, that really kick ass ! No proprietary software can pretend such long term support...06:47
vilabut man, you should have tried a 32bits VM :-)06:48
fullermdBut it does show PNG's!  So there's a white and blue and green arrow sign in the middle of the gray for the homepage.06:48
* fullermd grabs06:48
fullermdbzr.png in that dir06:48
vilaPNG ??? How comes... relying on a external library even then ?06:49
fullermdYeah, it's got libpng support.06:49
fullermdReally *OLD* libpng support.  That was one of the things that took non-trivial hackery to get running right.06:50
vilafullermd: but to completely ansewr the question, you need to capture a video of the revolving earth you know...06:50
fullermdIt's funny; I was actually wondering just last week "Dangit, how old a browser do you have to use to not understand <script>?  Why can't people stop putting these stupid comment wrappers around them?"06:50
fullermdI guess now I know the answer...06:50
vilaaha, you had to hack it... ok06:51
fullermdWell...  it doesn't revolve very long.  Maybe my connection's too fast for it.06:51
vilaBy the way, didn't you mention the 'if it doesn't work, try again' syndrome recently ?06:52
vilaOne place where it applies *today* is web browsing !06:52
fullermdMaybe dunno.  I know I've used "If at first you don't succeed, redefine the parameters of success."06:52
vilaAnd *that* one is here to stay I fear :-/06:52
vilaI was referring to principle more than the wording itself.06:53
fullermdigc: ^^^  New docs look wonky in Mosaic   :p06:55
fullermdAnyway, I guess that fills my "do insane stuff for no good reason" quota for the week.  Back to work!06:55
vilafullermd: congrats and keep nagging web site devs for compatibility :-D06:55
fullermdI pulled up Google too.  The javascript took up more space than the rest of the page06:56
* vila wonders about starting a 'support mosaic' campaign....06:56
fullermdWell, _my_ page works fine in it   :p06:56
vilaAren't societies defined by how they care of their elders ?06:57
fullermd(some people might even say it looks better...  not my fault they don't appreciate the genius of my palette.)06:57
vilaWeb devs should think a bit more about Mosaic, really....06:57
vilafullermd: by the way, did you get my mail about that page of yours or did it get lost ?06:58
fullermdI did.  Sorta skimmed it; have it flagged to look at in detail when have($tuit)06:58
fullermdBut yes, the installer is pretty...   special...06:59
vilafullermd: ok, np, wasn't sure I sent it06:59
fullermdIt's a prototype.  We're planning to replace it after 2.1.6 release ships.  Maybe after 2.2 if we slip...06:59
igcfullermd: damn, that's disappointing06:59
vilaI guess that may be reflecting the fact that you're not actively recruiting new users ?07:00
fullermdigc: Inoright!  Obvious failure in testing...07:00
fullermdI think it more reflects the fact that nobody's driven a new installer through.07:00
* fullermd isn't joking about the releases where it was considered obsolete :(07:00
fullermdIf you're doing something simple, and you've used it before, though, it's *REALLY* fast and easy.07:01
vilafullermd: my point exactly.07:01
fullermdYah.  Nobody likes it, though.  Especially code-wise; it's impossible to work with.07:01
fullermdIt's really horrible.07:02
fullermdThere was a drive to integrate the bsdinstaller instead, that gets occasional perks of action.  Been meaning to look at it myself in my CFT.07:02
fullermdIt'd be nice to throw sysinstall into a deep hole   :|07:02
vilawell, as the first point of contact... it's certainly not the best way to be introduced to FreeBSD...07:03
fullermdYeah.  It's definitely something that has to be read about before being used.07:04
fullermdActually, it's probably less that the devs are used to it, than that they just don't use it.  I know setting up this box, I used an extra drive as a running system, and installed it manually via that.07:05
fullermd(had to anyway, since sysinstall can't hack ZFS, but I would have anyway just 'cuz it's simpler)07:05
fullermd...   anyway, that's way OT here.07:05
igcpoolie: 2.0.0 has the new docs thanks07:05
poolieyep07:06
vilafullermd: back to my point again :) New users needs it, actual users works around it :)07:06
igcpoolie: were you planning to submit them to 2.0 or merge across at some point07:06
igc?07:06
poolieto merge across07:06
poolieprobably after making 2.0rc107:06
igcyou mean rc2 right :-)07:06
igcvila better you too it :-)07:07
igcs/better/beat/07:07
vilafullermd: OT, yes, on the other hand, your help to setup the FreeBSD test slave was invaluable, so thanks again07:07
igcs/too/to/07:07
vilaigc: ??07:07
vilaha 2.0rc1 :)07:07
fullermdvila: Always glad to help   :>07:07
pooliegosh07:09
poolievila: really?07:09
vilaIs there a bug filed about two concurrent processes trying to create the same pack file at the same time ?07:09
poolievila, there might be07:09
pooliedo you want to make rc2?07:09
vilapoolie: :-D07:09
pooliemm07:10
poolievila, you're doing it off 2.0.0 right?07:11
vilapoolie: what ?07:11
poolie> igc: vila beat you too it :-)07:11
pooliei thought he meant you were going to make an rc07:11
vilapoolie: I think igc joke was about the 2.0rc1 I *did* not about the 2.0rc2 you *will* do :)07:11
igcpoolie: I meant vila called beta1 rc1 accidentally some weeks ago07:11
pooliebut maybe you just merged back to 2.0?07:11
poolieoh right07:11
poolieheh07:11
poolie:)07:12
spivvila: hmm, I know I fixed a bug where packing resulted in the same pack.07:13
spivvila: but I don't know of a bug report for two concurrent processes.07:13
vilaspiv: different beast,07:13
vilamy case is two processes doing 'bzr update' for two branches in the same shared repo07:14
vilasometimes, they both upgrade to the same revision from roughly the same revisions and probable requires the same set of revisions which end up creating the same .pack file in upload/07:14
vilait's pathological at best so there is no hurry, I was just wondering...07:15
vilaI should file it anyway07:15
vilafullermd: my GF just saw the Mosaic screenshot and had a good laugh when I explainde :D07:19
fullermdI always try to entertain on multiple continents at once.07:19
poolievila, so you're definitely ok for UDS? i told clan you were.07:28
poolievila, oh, also, in conflict resolution07:29
poolieit seems like it would be nice to avoid needing an explicit 'resolve' command if i clearly edited out the conflict markers07:30
pooliewhat do you think?07:30
pooliemaybe commit should see if things can be automatically considered resolved, using the same logic 'resolve' with no arguments does07:30
vilapoolie: definitely ok for UDS.07:32
vilaI think resolve is required because some cases are too tricky to get right (or were). I'm not sure I know better at that point07:33
vilaIt's true that *I* fail to call resolve in roughly 30% of the cases though...07:33
poolieme wonders, should we recombine 2.0rc* in the news into just one heading, as we had for 1.17?07:34
pooliei think we should07:34
poolievila, that's great about uds07:35
fullermdI'd agree.  It's useful during the RC's, but post-release it's just noise.07:35
pooliei'm just wondering if being required to run 'resolve' ever saves trouble07:35
vilaresolve cleans up the mess (.THIS, .moved, etc) as you go along, I'd be inclined to keep it that way07:36
vilaI mean, conflict resolution, with tenths or hundreds of conflicts are quite stressful, *I* would not like a tool that suddenly sayd: "It's ok, I will clean up some mess, don't worry, everything will be good !"07:38
vilaespecially if the tool generated the conflicts in the first place because he didn't know how to merge cleanly07:38
vilaSo i'd prefer to put effort to generate less conflicts instead :D07:38
vilaBut back to our original point, the idea of resolve --interactive is that the cleanup is more automatic, yes.07:39
vilaAnybody to review https://code.edge.launchpad.net/~vila/bzr/shell-like-tests/+merge/11204 ?08:43
vilaI have more patches coming there, so I could land that first...08:43
vilaI have more patches coming there, so *if* I could land that first...08:43
hnoIs it possible to create a lightweight repository where history starts at a given revision? But keeping sufficient information to be able to pull/push/merge of new changes?09:04
Lo-lan-doWhat's a lightweight repository?09:05
fullermdHe means a shallow branch or history horizon or whatever we decide to call it.09:05
fullermdStacking is a step toward that, and may be enough.09:05
hnoprobably yes..09:05
hnofrom what I have read of stacking it's not exactly what I am looking for. The repository should be self-contained, just not dragging along 10 years of history.09:06
Lo-lan-doOh, yes, sorry, I read your initial question backwards.09:07
Lo-lan-doI guess if you don't care about keeping existing checkouts working, you could replay all revisions from the old repo starting at some point onto an empty repo.09:08
Lo-lan-doThe new revisions would be unrelated to the old ones, so you couldn't move stuff back and forth between the two repos though.09:09
hnoLo-lan-do: I do care about push/pull/merge being possible between this repository and the one with full history.09:09
Lo-lan-doForget replay then :-)09:10
vilahno: stacking is the closest to your needs today09:10
hnovila: Ok.09:11
vilahno: but why do you want that ?09:11
SpabbyHe folks, we moved our bzr repos to another server which has port forwarding from the outside world, but now when I try to checkout from that server BZR won't do it because the keys do not match, is there any way I can wipe bzr's key database on my local windows machine please?09:12
Lo-lan-doSpabby: SSH keys?09:13
Spabbyyes09:13
SpabbyI use bzr+ssh09:13
Spabbyand told it to remember the key the first time I used this IP09:13
Lo-lan-doProbably in the SSH config then.09:13
Lo-lan-doUsing Putty?09:13
Spabbyit is correct, the machine at that address does have a different key; it's a different machine09:13
hnovila: The repository without old history? because in many situations dragging along the complete history just adds unwanted bloat. The specific use case is feature branches that I want to be just enought to keep the feature but at the same time self-contained not depending on another repository for a checkout,09:13
Spabbytortoise bzr09:13
vilahno: why don't you use a shared repository ?09:14
Lo-lan-doSpabby: I'm not sure tortoise embeds an SSH client.  If it does, though, try looking for a file called known_hosts or so.09:14
Spabbyim just using bzr+ssh to checkout a new branch, but bzr is aware of another machine on that ip and now is trying to warn me that the key has changed, which I know09:14
Lo-lan-do(I don't do Windows so I can't give you the exact name)09:15
hnovila: I do, but these are pushed to another server.09:15
vilahno: haaaa, so you want to stack on the *server*09:15
hnovila: No, I do not want the complete history to be on that server. Not needed there for it's purpose.09:16
vilahno not even once ?09:16
hnonot in that repository no.09:16
SpabbyLo-lan-doI can't find any file that is similar to that name, or looks correct09:17
vilahno: anyway, you should be able to stack against another server09:17
Spabbywhere would I find it on linux?09:17
Spabbyplease?09:17
hnovila: I said I want it to be self-contained not needing access to another repository for checkout.09:17
Lo-lan-doSpabby: On Linux it's in ~/.ssh/known_hosts09:17
Spabbyah right it's an OS problem rather than bzr09:17
Lo-lan-doSpabby: But as I said, it's related to SSH more than Bzr09:18
Lo-lan-doHence my question about which SSH client you're using.09:18
vilahno: hmm, you're very close to being self contradictory you know :-) You can't have the ability to merge while not being able to recognize that you are merging something already merged in your old history09:20
Spabbythe ssh client is tortoise bzr09:20
Spabbyim not using an ssh client to ssh in, im just using the bzr+ssh protocol09:20
hnovila: I don't see a problem with that.09:21
vilathat's the problem :)09:21
hnodevelopment generally moves forward you know..09:21
Lo-lan-doSpabby: That protocol still uses an SSH client, even if it's not visible :-) The question is: is it provided by tortoisebzr or is it external?09:22
* Lo-lan-do browses the tbzr website09:22
fullermdtbzr probably just uses whatever bzr does.  And I think it traditionally grabs putty at least if it's available.09:22
fullermdBelieve it was recently changed in trunk to mostly prefer paramiko, but that's irrelevant for released versions.09:23
* hno read up on http://bazaar-vcs.org/HistoryHorizon and it describes very well what I am looking for.09:23
Spabbyit's in c:\documents and settings\<user>\Application Data\<bazaar\2.009:24
Spabbyif anyone wants to know :D09:24
Spabbythanks for the help Lo-lan-do09:26
vilahno: I was talking about what is possible *now*, staked-on repos are accessed only when needed, the main difference with  history horizon is that you will be told: 'Sorry can't do that, need to access <URL>' where stacked repos don't ask the question,09:29
=== Ng_ is now known as Ng
vilahno: yet, stacked repos are accessed only when *needed*09:29
=== thekorn_ is now known as thekorn
hnovila: you can't to a checkout of a stacked branch without access to the full history, not even an lightweight one. Same for diff/log etc.09:46
vilahno: It seems that either I don't understand you or you're trying to do accomplish something that really requires history horizon, or you found a bug or you don't understand how stacked branches work09:51
vilayou can create a stacked branch locally that will point to the same stacked-on branch than its counter-part on the server09:52
vilaboth will have a reduced history if that's what you're interested in09:52
hnovila: stacked branches works just fine for temporary feature branches in an all-online world. But is a bit too lightweight for many other purposes, mainly missing a shadow/ghost copy of the ancestor revision.10:21
vilahno: let's not rehash why we need history horizon, you're preaching the choir. I thought you wanted to solve a problem today, with today's features, if that's not the case, sorry for the noise.10:23
hnovila: I just objected to you saying the main difference is when the two accesses the stacked-on repository. To me that's the minor difference.10:24
vilahno: no worries :)10:25
hnoI'll use full branches for now. And cheer happily the day history horizons become available.10:28
hnoHmm... is it supposed to take ages to for 1.18 branch into a 2a repository (both locally)?  CPU been running at 100% for many minutes now... still making progress howeer, but probably another 5-10 minutes before it finishes.10:38
fullermdIs it 2a on both sides, or is it converting from another format?10:39
hnosource repository is using the 1.9 format.10:40
fullermdYah, so that's having to convert the format, as well as rewrite all the revisions on the fly (since it's going poor->rich root).10:40
fullermdTime consuming.10:40
hnoOk. So all normal then.10:41
fullermdDon't forget that because of the root richness, any revs you make in that 2a repo can't be applied to the 1.9 source, so you might not want to do that if there are other branches of it in 1.9 that you care about your changes being portable to.10:41
hnoHmm... so you can't merge from a 2a into 1.9? Not even via bundles?10:43
fullermdInto 1.9-rich-root, yes.  Into 1.9, no.10:43
fullermd(and similarly, 1.9-rich-root can't be merged into 1.9; that's the watershed)10:43
hnoOk. So I guess there will be some (many) years before we can officially switch to 2a then.. need to wait for main enterprise distros to pick up support.10:45
hnobecause I guess that also means you can't pull/push into 1.9 from 2a..10:46
fullermdWell, 2a is compatible with any rich root format.10:46
fullermdWhich goes back to rich-root-pack, which was in 1.0.10:46
fullermd(and can with some manual fiddling probably interact with some formats back to 0.15, but you probably don't want to get into that)10:47
fullermdOf course, moving between knitpack formats (pack/0.92 through 1.14) and 2a can be pretty slow, but that's not necessarily a deal breaker; small blocks of revs don't take near as long as the whole thing.10:47
fullermdYou'd just need a flag day for going rich-root.10:48
hnook, that's better. Means we can push relevant branches from the main repository into an older format contributors can access when stuck on older bzr versions...10:48
fullermdIf everybody's recent enough that 1.9 for the central branch is working, then just taking that to 1.9-rich-root would be simple.10:48
fullermd(well, conceptually; once one branch hops over the rich root boundary, they pretty much all have to follow before they can interact again, but that's a Simple Matter of Cat-Herding  ;)10:49
hnoi think some are stuck on bzr 1.3 unfortunately..10:50
Lo-lan-doEven Debian stable has 1.5 :-)10:51
Lo-lan-do(And 1.16 in backports)10:51
fullermdWell, 1.3 is new enough for rich-root-pack anyway.10:54
=== mrevell is now known as mrevell-lunch
awilkinsAcademic question : How would you design a DVCS for a set of data that was itself a directed acyclic graph?12:15
Lo-lan-doConsider graph-friendly diff and merge algorithms?12:17
awilkinsDo those cover data which is both large and does not have intrinsic ordering like source?12:18
Lo-lan-doAnd store diffs as a set of added/removed nodes and arcs?12:18
luksversioning linked data is a pain12:18
Lo-lan-doYour nodes don't have identifiers that could be used for ordering?12:19
awilkinsluks: Sure is :-)12:19
luksespecially if you have lots of them12:19
awilkinsLo-lan-do: They do have identifiers, but we're talking 2.9M node minimum12:19
awilkinsThat's for a single version of the core data, and there are presently 12 versions available for historical versioning12:20
Lo-lan-doAre you versioning a social network?12:20
awilkinsLo-lan-do: A terminology12:20
Lo-lan-doMust be loads of fun.12:20
awilkinsLo-lan-do: Like pulling teeth. Via your colon.12:21
* Lo-lan-do backs away12:21
awilkinsThe worst bit today is that I must argue to prevent people putting requirements for permissions or ACLs on this data, or my head may explode.12:24
awilkinsIMHO this requirement is a Bad Idea, especially since they are moving to a distributed authoring system which (should) have a gatekeeper-style flow of data to the release branch12:25
hnoOh, bzr 2.0rc2 is out?12:33
hnonow the tricky question,, should I push 2.0rc2 into Fedora rawhide so that Fedora 12 can ship with bzr 2.0 (hopefully not a rc by then.. F12 development freeze is 29/9), or wait until Fedora 13 with that upgrade...12:48
vilahno: no changes are expected between rc2 and final12:52
fullermdvila: Well, great, NOW you've done it.  The whole thing'll be rewritten now.12:52
Lo-lan-doWhat about 1.8.1?12:52
Lo-lan-do1.18.1, sorry12:53
vilafullermd: I didn't mention any release number... Just commenting out in the wild you know, don't take seriously, etc12:53
fullermdMurphy ALWAYS takes things seriously!12:53
vilaLo-lan-do: 1.18.1 sources and windows installers are available, OSX ones should follow shortly and THEN 1.18.1 will be announced :)12:54
vilaSubject: bzr 1.18.1 source and Windows installers available12:54
vilaTo: Bazaar <bazaar@lists.canonical.com>12:55
vilaDate: Thu, 10 Sep 2009 15:39:36 +100012:55
vilaSubject: bzr 2.0rc2 source frozen12:55
vilaTo: Bazaar <bazaar@lists.canonical.com>12:55
vilaDate: Thu, 10 Sep 2009 17:19:15 +100012:55
vilaThere's a separate branch (see other mail) for 2.0final, which I plan12:55
vilato do one week from today.12:55
vila--12:55
vilaMartin <http://launchpad.net/~mbp/>12:55
Lo-lan-doYay :-)12:55
vilaso there, it wasn't me saying it, jinx conjured :)12:56
Lo-lan-doI'm at a client's next week to evaluate a migration to bzr.  I'm bound to get the question of 2.0 availability.12:56
fullermdSheesh.  Why don't you just predict the power will stay on and no volcanos will erupt while you're at it?12:59
* vila checks eight-ball furiously12:59
* pygi shoots at vila 12:59
* vila ducks13:00
* pygi sends dogs after vila's ducks13:00
vilaouch rib hurts13:00
james_whno: I'm planning to push 2.0 in to Ubuntu now, so it should work fine for Fedora13:00
fullermd"I flipped over my magic eight-ball, and it said 'Outlook not so good'.  I said 'Sure, but Microsoft ships it anyway.'"13:00
vilaThey said 'Use windows or better' so I used Ubuntu13:01
vilajames_w: \o/13:01
fullermdEep!  The Daystar is climbing into the sky!  Must be bedtime...13:01
SamB_XP_last time it said that near me, I said something like "Wow! wormgas is right for once!"13:01
=== mrevell-lunch is now known as mrevell
=== psynaptic is now known as greg_harvey
=== greg_harvey is now known as psynaptic
jelmer__wow, we're already well on our way to test 30k13:55
Takjelmer__: how difficult would it be to do a ppa for md-bzr?14:11
jamjelmer__: do you know if there is a bzr-svn that claims compatibility with bzr 2.0?14:36
jammorning all14:36
jamvila: the joke works better if you use a windows version14:37
jam"Use windows xp or better"14:37
jamas that would be something they actually *do* say :)14:37
vilaha yes, you're right of course ! Morning jam :)14:37
jelmer__Tak: hi14:38
jelmer__Tak: not very difficult, but would require somebody to dedicate time to keep it up to date14:38
jelmer__jam: the 1.0 branch claims 2.0 support, but hasn't had a release yet14:38
jamabentley: you sent an email about releasing bzrtools 2.0.0 but I don't think you actually tagged it14:44
jammaybe because there wasn't an actual change the tag didn't get uploaded?14:45
jamjelmer__: k, just looking at building a 2.0.0rc2 installer, and obviously that will be important :)14:45
jelmer__jam: there isn't a version change either, version.py says 1.18.014:47
jelmer__(unless I'm looking at the wrong branch)14:47
jamjelmer__: in the tarball?14:47
jamI wonder if he created a tarball, and didn't update trunk14:47
jamjelmer__: the tarball clearly has 2.0.0 in version.py14:48
jamso I'm missing something14:48
jamI don't see any other possible branches on: https://code.edge.launchpad.net/bzrtools14:49
bialixigc: ping14:50
hsn!pastebin14:52
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic14:52
bialixthere is also imagebin.ca14:54
jelmer__ls14:54
hsnhow serious is this problem? http://paste.ubuntu.com/268588/ if i do bzr get and bzr check then newly created repo is ok14:54
balorHow do I throw away the current changes in my working directory?14:54
hsnbalor: bzr revert14:55
bialixbalor: bzr revert14:55
balormuch obliged14:55
bialixbingo14:55
igchi bialix14:57
bialixhi14:58
igcrev 3 pushed now14:58
bialixwhat is build-bzr-exe.py14:58
abentleyjam: I just didn't push after I tagged it.14:58
igcmy name for the script that the code buried in setup.py could become14:58
igcbialix:^14:58
bialixthere is no in revno.314:59
bialixigc: I see there is Makefile changed and some buildout config14:59
igcbialix: right14:59
igcbialix: if you run make, it will take some time to pull everything down from the URLs but ...15:00
igcit will go close to working15:00
bialixigc: I think we should import bzr's setup.py and use function from there to get list of bzrlib modules15:00
igcfor me, it falls over bhilding the tortoise stuff because it can't import PyQt415:00
igcbialix: that sounds ok to me15:01
igcbialix: for you, I'm hoping the tortoise stuff will build and then it will get to ...15:01
igcthe commented out setup.py py2exe line in the script15:01
bialixigc: 1) I don't use buildout and don't plan to use it15:01
bialixif you think I should then I need some time to install it and get familiar with this technology15:03
igcbialix: there's nothing to install15:03
bialixI think this is irrelevant to actual py2exe stuff15:03
igcbialix: just run make15:03
igcit bootstraps15:03
bialixsorry, but your current Makefile require buildout15:03
=== cprov-zzz is now known as cprov
igcI never installed buildout15:04
igcbialix: the make file basically ...15:04
bialixdoes it will install setuptools in my Python?15:04
igc1. bootstraps buildout15:05
bialix...run bootstrap.py which trying to run setuptools15:05
igc2. uses it to pull down the right versions of the right products15:05
igc3. generates a disk image with bzr & plugins installed15:05
igc4. calls py2exe via setup.py15:06
igc5. runs inno-setup15:06
bialixigc: sorry, I think I'm interesting only in steps 4 and 515:06
igcbialix: and that's where I'm up to15:06
igcbialix: you have everything needed already for steps 1-315:07
bialixso if you have the documented layout how bzrlib and plugins are layed out it's all I need without buildout and setuptools15:07
igcpython, c compiler, pyrex15:07
bialixigc: I'm explicitly prevent to install setuptools to my py2.515:07
bialixigc: gimme layout15:08
bialixthat's all I need15:08
bialixthen I can work on py2exe stuff15:08
igcthe layout is ...15:08
igca build_win32 directory with a bzr directory inside that15:08
igcif you can take the code out of bzr.dev/setup.py that calls py2exe and move it into a script in bzr-windows-installers, I'm happy to do the rest15:09
bialixigc: sorry, urgent call. can you describe layout in the some document and push it to the branch or mail me?15:09
* bialix bbl15:09
igcsidnei ping15:11
bialixigc: if you're ok using scmproj I'll create scmproj-based project for my work to avoid using buildout15:11
bialixyou can transform it to buildout config w/o problems15:11
igcbialix: sure15:12
jamigc: don't you know when to sleep?15:13
igcbialix: the key thing is that py2exe code needs to run against a location where bzr isn't the current directory but some other path15:13
igcjam: I'm exhausted and in pain tonight :-(15:14
igcjam: after 2 3pm nights in a row, I need to go to bed15:14
jamigc: I'm very sorry to hear that15:15
igcjam: but I'm stuck on the Windows installer and if bialix or someone else doesn't help in the next 24 hours, then we won't have a better one for 2.015:15
sidneiigc: oi15:15
igcjam: given I'm on leave next Thursday and Friday15:16
igcsidnei: do you have the buildout image documented somehow so bialix can see it without using buildout?15:16
igcs/somehow/somewhere/15:16
igcsidnei: see above15:17
jamigc: what is the sticking point?15:17
igcsidnei: I'm struggling to get the new bzr-windows-installers project building an installer15:17
jamas I've certainly dealt with it a bit myself15:18
sidneibialix: it will not install setuptools in your python15:18
igcthe current code assumes a py2exe target in setup.py15:18
sidneibialix: it will download a copy of setuptools in the 'eggs' directory and use that15:18
igcand that assumes the bzr being packaged is directly under where the installer artifacts are15:19
igcsidnei: if you grab the trunk of lp:bzr-windows-installers, you'll see where I'm up to15:19
sidneiigc: where you said 'generates a disk image', is that something you added?15:19
igcsidnei: no ...15:20
igcI just meant it installs the plugins into the bzr getting packaged15:20
sidneiigc: then that's incorrect?15:20
sidneiigc: ah15:20
igcsidnei: I'm still learning how it hangs together15:21
* bialix back15:21
igcsidnei: btw, it's a shame that generated script is a .bat file - python would be *much* nicer!15:21
bialixguys, I'm really like when things are documented. at least somehow15:21
bialixat least a bit15:22
igcbialix: I will document it15:22
igcbialix: but I need to make it work first :-(15:22
bialixigc: I can see what I can do about py2exe tonight15:22
bialixigc: but promise that you go to bed now15:22
igcbialix: thank-you heaps15:22
sidneiigc: i discussed that with jam at some point. unfortunately doing a bunch of calls to subprocess is not something python excels at15:22
igcshall do15:22
bialix*now*15:22
bialixcheck mail tomorrow15:22
* igc heads off to sleep15:23
igcnight all (and thanks guys)15:23
jelmer__emmajane: hi15:35
jelmer__emmajane: what is the plan wrt the maintainance of the new web site? Will it be a wiki again, plain html/python in a bazaar branch?15:35
emmajanejelmer__, hey :)15:37
emmajanejelmer__, unconfirmed but *very* likely flat HTML in a bazaar branch.15:37
emmajanejelmer__, which is part of why I've already got it as flat HTML in a bazaar branch.15:37
jamjelmer__: do you have a rough eta of a 1.0rc even?15:39
jamJust to have something that will at least pretend to work with 2.0rc215:39
jelmer__jam: there's a critical bug in subvertpy I need to fix, after that I think we're ready for a RC15:40
jamk15:40
jamof course, you need to tell me the versions of everything15:40
jamsubvertpy, bzr-rewrite, bzr-svn, etc15:40
jamI'm always guessing a bit when it comes to making the next release15:40
jelmer__ok15:47
jelmer__bialix: did you have a chance to look into bzr-git on windows again?15:47
bialixjelmer__: not yet15:51
james_wjam: I just created a version tracking page at http://bazaar-vcs.org/Releases/2.0.015:51
bialixI need the patch for bzr-git to allow dulwich be imported in the case of bzr.exe. I don't remember if you merged it15:51
james_wwe can try and get all the versions to go with 2.0.0 on there so that we all know what we are expected to package15:51
bialixjelmer__: lp:bzr-git is ok to use?15:51
jelmer__bialix: Yeah, that was merged15:52
jelmer__bialix: yep, lp:bzr-git is the main branch15:52
bialixthen I'll try to run selftest shortly15:52
bialixping me later15:52
jelmer__bialix: hmm, actually15:52
jelmer__I think I might have merged the subvertpy one15:52
jelmer__not the dulwich one15:52
jelmer__this should be in __init__.py right?15:52
bialixright15:53
bialixI'll look15:53
bialixtime passed, I forget the details15:53
=== kiko__ is now known as kiko
=== hsn is now known as hsn_
=== oubiwann_ is now known as oubiwann
jamcan anyone here read Japanese?16:23
jamI'm getting some spam on my blog, and I'm curious what it says16:23
Lo-lan-doI can read a bit16:30
=== deryck is now known as deryck[lunch]
=== cprov is now known as cprov-lunch
Lo-lan-dojam: URL?16:31
jamLo-lan-do: I just deleted it, I found a Japanese - English translation online16:32
jamwhich did a poor job16:32
jambut enough to make me know that I didn't want 150,000 yen for men who like women16:32
Lo-lan-doOkay :-)16:32
jamLo-lan-do: excerpt:  性欲のピークを迎えたセレブ熟女たちは、お金で男性を買うことが多いようです。16:32
jamwhat was really strange is that there weren't any outbound links16:33
jamwhich made me wonder if it was actually a legitimate conversation about my blog in japanese16:33
jambut no16:33
jamnot at all :)16:33
* emmajane chuckles.16:33
jamso I have 2.0.0rc2 installers built, but they don't include bzr-explorer, etc.16:51
jamShould I upload them? (bialix ^^)16:51
=== deryck[lunch] is now known as deryck
james_wrenamed=[(u'README', u'README', 'readme-20090910165710-bk5k711lzk9ktzce-10', 'file', True, False),18:00
james_wreally now?18:00
=== cprov-lunch is now known as cprov
eyalwHi, I'm trying to push the initial commit into my branch on LP, and I get :: bzr: ERROR: At lp:saturn-clock you have a valid .bzr control directory, but not a branch or repository. This is an unsupported configuration. Please move the target directory out of the way and try again.18:20
vilawow, karmic boot + login in ~16 secs (excluding password typing time :-)18:31
james_wso in a rich root repository a branch gets a random file-id for the tree root on creation?18:31
* james_w waves to vila18:31
* vila waves back ! 18:31
awilkinsvila: Is that Karmic + ext4 ?18:39
vilaawilkins: default install, ext4 yes (keep in mind that's a VM though)18:42
awilkinsSo if you have lots of RAM the entire disk may be in it :-)18:42
vilaso that ext4 is a single file on ext3 in the host18:42
vilaI don't think it matter that much at boot... and anyway that's still a huge progress :)18:43
james_wis it possible to specify or modify the root file-id?18:49
james_wI'd like it to match another branch, even if they don't share any revision history yet18:49
eyalwcan anyone help with bzr please19:01
Takeyalw: try push --overwrite?19:02
Takeyalw: btw, there's a monodevelop-bzr branch now for MD 2.0 at https://code.launchpad.net/~taktaktaktaktaktaktaktaktaktak/monodevelop-bzr/2.019:05
Takalthough there's also a MD 2.2 beta release now19:05
eyalwTak: same error19:09
eyalwTak: how is that gonna help19:11
eyalwTak: if bzr can't commit, how can something that use it19:11
Takit won't help in this instance, but we were talking a few weeks ago about md-bzr19:12
Taktwo separate threads ;-)19:12
eyalwTak: wow, nice memory : )19:12
Takif you do `bzr plugins` , it shows the launchpad plugin, correct?19:14
* Tak brb19:14
eyalwTak: so how do I install it19:18
Takthe easiest way is to branch it, load the solution in md, build it, and drop the dll in ~/.config/MonoDevelop/addins19:21
eyalwTak: nm, I jusr recreated the branch, so it fixed the problemo19:26
Takcool19:26
eyalwTak: I get an error that the remote repository is not compatible with my local shared repository, different rich root support, you know anything about that?19:32
* eyalw is off to gym19:32
Takeek19:32
Pilkyhey all, I'm having a bit of a problem with bzrlib19:46
PilkyI've got a simple branch with 3 files in, lazydog.txt, veryactivedog.txt and a .bzrignore with the rule *active*19:46
PilkyI create a working tree object (wt)19:47
Pilkybut if I do wt.smart_add(files, save=False) it doesn't detect that veryactivedog.txt should be ignored19:47
Pilky(I'm using save=False just to test)19:48
Takthat's the same thing that would happen if you did `bzr add lazydog.txt veryactivedog.txt` , isn't it?19:52
Pilkyoh wait yeah19:53
Pilkylol, forgot about that19:54
PilkyTak: but then how do you get smart_add to add everything?19:55
Pilkyor do I need another method for that19:55
Takgive it a directory?19:56
Pilkyah thanks19:56
Pilkythe API docs could really do with mentioning stuff like that19:57
Pilkymight have a go at looking at improving the documentation of bzrlib when I'm bored one night and feel like learning more about bzr's internals19:58
TakI think it's in the ui help for add19:59
=== bialix is now known as bialix-py2exe
Pilkyyeah, but if you're developing using an API it's annoying to have to jump to user documentation to find out how an API works20:03
Pilkythat said it's not quite as annoying as the number of undocumented or half documented methods20:03
Takthe ui api is part of the api, though ;-)20:04
Pilkyoh wait, so it is20:05
Pilkyah well20:05
Pilkybad example then :P20:05
Pilkygood example of bad documentation = WorkingTree.commit()20:05
bialix-py2exelol20:08
Kobazwhen i load up emacs (22), it loads some sort of bazaar module... anyone know how to disable it?  it makes file loading take forrreeeevvveeer20:12
Kobazit only loads the module when i'm in a bzr branch20:12
=== bialix-py2exe is now known as bialix-qbzr
=== bialix-qbzr is now known as bialix
garyvdmHi bialix20:28
bialixhi garyvdm20:28
bialixlp seems down20:28
garyvdmI see :-(20:28
bialixgaryvdm: for you too?20:28
garyvdmyes20:28
bialixgaryvdm: I've planned to update translations in 0.14 branch20:29
garyvdmOk20:29
garyvdmbialix: I'm hoping to release 0.14.1 tonight20:29
bialixbut can't until lp finished maintenance work20:29
garyvdmI c20:29
bialixwell, in this case no translations update from me20:30
bialixit's not critical20:30
bialixdo you fixed that bug with locking as you planned?20:30
bialixguys! anybody has copy of igc's branch with new windows-installer stuff?20:31
sidneibialix: i think lp:bzr-windows-installers it is20:31
bialixsidnei: lp is down *right now*20:32
sidneibialix: oh, in which case you want an actual copy. i have one.20:32
garyvdmbialix: I fixing that bug right now.20:32
bialixsidnei: I need latest revno 3 which igc did today20:33
bialixcan you publish it or mail me in archive?20:33
sidneibialix: i can, i suppose. let me think about how to do it20:33
bialixit should be pretty small I suppose20:34
sidneibialix: i guess you want the actual branch, not a 'bzr export'20:34
bialixdon't care20:34
sidneibialix: much easier then, email?20:34
garyvdmsidnei: bzr senf20:34
garyvdm*bzr send20:35
* bialix recall my ol plugin gzipped-bundle20:36
sidneigaryvdm: it's asking me for a submit branch20:39
bialixsidnei: am I understand correctly that buildout just lay out bzr and plugin branches based on its names?20:39
bialixsidnei: export will be enough20:39
sidneibialix: yes, that sounds correct20:39
bialixI'll get the actual branch later when lp will back to life20:40
baccenfutterhi, are noob questions allowed?20:40
bialixyes, but be careful20:40
garyvdmsidnei: You can provide you current branch as the submit branch, and provide a -r20:40
bialixgaryvdm: this won't work20:41
garyvdmbaccenfutter: Sure - bialix: :-p20:41
sidneigaryvdm: -rlast:3 .20:41
sidneiBundling 0 revision(s).20:41
bialixexactly20:41
baccenfutterI'm about to setup a repository for a collaborative project with a couple of friends - now I don't really quite get, how to go about the main structure.20:41
bialixsidnei: you can use empty branch (revno.0) as submit20:42
baccenfutterWe want to have the trunk centralized public and a branch locally each20:42
baccenfutterso do I now go about and init a trunk on the server and then a local repo and branch that into first?20:42
bialixyes20:43
baccenfutteroder do I build the whole thing on my box and push that?20:43
baccenfutters/oder/or/20:43
baccenfutterk, so first20:43
bialixthis will work too20:43
garyvdmbaccenfutter: Either20:43
baccenfutteri'd prefere first, if it would work20:43
bialixnp20:43
baccenfutterand then how would I wanna design that? /trunk, /branch, brach/user1, branch/user2, branch/foo?20:45
sidneibialix: i think it's on its way *wink*20:46
bialixlp seems back to life20:46
baccenfutteror is the branch folder created on first branch?20:46
* bialix chase the branch until it run away20:46
bialixsidnei: thanks a lot20:47
=== khmarbaise_ is now known as khmarbaise
sidneibialix: np. fwiw, your server didn't accept the first message i sent, it responded that it was spam20:48
bialixah yes20:48
bialixit's free emial provider20:48
garyvdmbaccenfutter: You need to create that structure, and you can do that how ever you like20:49
garyvdmbaccenfutter: We have a doc on that, let me find it quick20:49
bialixI have account at gmail which is myname.myfamilyname @ gmail.com20:50
bialixbut I've got your mail already thanks20:51
bialixsidnei: ^20:51
sidneibialix: thank you!20:51
=== cprov is now known as cprov-afk
bialixsidnei: do you will be around soe time so I can ask about buildout stuff if needed20:51
zsquareplusccould someone please write an easy to understand help page for bzr split? :p20:51
bialixsidnei: do you will be around some time so I can ask about buildout stuff if needed?20:51
sidneibialix: i will be around for the next 2-3 hours, but ping me directly im not paying attention to irc20:52
garyvdmbaccenfutter: http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#organizing-your-workspace20:52
bialixsidnei: ping20:52
bialixthis way?20:52
sidneibialix: yep20:52
bialixok20:52
Kobazunkuhnown20:53
bialixzsquareplusc: may be you don't need it?20:53
zsquarepluscbialix: i want to have a subtree as standalone branch (splitting sub-projects from a historically grown big tree)20:54
bialixyou still will have entire history for entire project after split20:55
bialixjust less files20:55
bialixis it your intent?20:55
zsquarepluscno20:55
bialixyou can try fastimport then20:56
* bialix fears to run buildout20:57
zsquarepluscok, so split isn't what i need then. but i have to say that it is not intuitive at all that command. it spits out errors about not being a workingtree which i don't understand20:58
garyvdmbialix: Can I do the translations import? I interested as to how to do it.20:59
garyvdm^for 0.14.120:59
bialixgaryvdm: I've realized we need to upload qbzr.pot template for 0.4 seies first21:00
bialixfor 0.14 series first21:00
garyvdmoh21:00
bialixperhaps I'm just starting this too late21:00
bialixI can guide you but maybe not tonight right before release, ok?21:00
garyvdmOK21:00
bialixgaryvdm: ping me if you need my help with release21:01
garyvdmok21:01
bialixI've promised to Ian to help with py2exe stuff21:01
garyvdmbialix: I don't think any strings have changed from 0.14.0 to 0.14.1. I'll dbl check.21:02
bialixI think so21:02
bialixso I think it's not critical for 0.14.1 even if couple of them are21:02
garyvdmbialix: No strings have change.21:05
garyvdmSo I'm going to do the release now.21:05
bialixlet's rock!21:05
bialixgaryvdm: wait21:06
garyvdm...21:06
bialixcan I push one small fix first?21:07
bialixgaryvdm: ^21:07
garyvdmsure21:07
bialixjust a sec21:08
bialixgaryvdm: done21:09
bialixthx21:09
bialixsidnei: does buildout supposed to build svn from scratch?21:10
* bialix wonder why buildout put all components (install them) into the same directory where helper files/dirs resides, why not in subdir?21:14
bialixjam: are you here?21:16
jambialix: yse21:16
jamyes21:16
bialixdo you know why buildout put downloaded components in the same dir, but not in the subdir?21:16
jambialix: I don't really know why, and think it sucks, which is I why I 'fixed' the buildout script in bzr so that it creates a staging directory, copies things into there, and then does its work21:17
jamI believe you can configure the directories buildout wants to work in21:17
bialixand why for releases it's not used official tarballs instead of getting branches?21:18
jamas I think I remember sidnei saying he usually points buildout at local directories in various places on disk21:18
jambialix: because I prefer to build from branches21:18
jamwe have a VCS, lets use it21:18
bialixmy home inet is limited :-/21:18
jamtracking tarballs is sucky21:18
jambialix: if you use branches, you don't have to download a lot each time21:19
jamas you probably already have it in a repo21:19
jam(after the first download)21:19
bialixbut not so sucky to download svn sources and unzip them :-P21:19
bialixI don't follow21:19
sidneithe directories are configurable yes, just come up with a consensus and i can help applying it21:19
bialixjam: IIUC your proposal is to have one big 2a shared repo and doing build inside it?21:21
jambialix: thats basically what I'm doing on kerguelen21:21
bialix:-/21:21
jamI think it started with a mix, because bzr-svn was in rich-root, but nothing else was21:21
jamnow that we are moving to 2a, we could simplify a bit21:21
bialixI see but not quite agree21:21
bialixsidnei: can I stop buildout execution, fake the big branches (like bzr one) and the resume it?21:22
sidneibialix: iirc, yes21:22
* bialix trying21:23
zsquarepluscok, instead of splitting up a repository i can re-export from CVS. but i'd like to combine some of the CVS modules in one bzr branch, however export is restricted to one module at a time. is it possible to merge two branches like that? can i simply use bzr merge?21:24
bialixsidnei, jam: why bzr branches going into $PRODUCT/release ?21:24
bialixsidnei: I see here .installed.cfg: can I edit it manually and fake some steps?21:25
sidneibialix: i believe that's what jam is referring to when he said he's creating a 'staging' directory21:25
sidneibialix: yes, though you shouldn't need to21:25
bialixI'm afraid I'll wait all night until I'll pull all required branches from lp21:26
bialixand my inet quota will be exhausted21:26
bialixwhat's good for kerguelen is not good for mere mortals21:27
sidneibialix: you can branch from a local branch into the local build repo?21:27
sidnei(if you have a local branch of the dependencies that is)21:28
bialixlol: bzr info said I have: Unshared repository with trees (format: 2a)21:28
bialixbzr reciepe should not branch. it should init + pull21:29
bialixso process could be resumed21:29
jambialix: init + pull can't be resumed unless you are doing a format conversion21:29
jampacks => packs fetch is an all or nothing affair21:29
jam(same for 2a => 2a)21:30
jamonly the cross-format conversion builds things as you go21:30
jamand then, I think it only does that locally now ...21:30
bialixI don't have words21:30
bialix git operates in the term of hash-addressable objects it can easily support resume I think21:32
bialix*if git...21:32
* bialix shut up21:32
jambialix: there are things we could do. we don't21:33
jamWe used to21:33
jamlifeless felt that having atomic inserts was better than resumable copies21:33
jamand it also lets us fetch things 'out of order'21:33
jamand not worry about it until the stream is finished21:33
* bialix no more believe in ideal solution, sorry21:34
jamout-of-order fetching actually made fetching quite a bit faster21:34
jamespecially since we can read inventories to determine text keys21:34
jamand write the inventories to disk21:34
jamrather than buffering them21:35
jamor re-downloading them21:35
jamI've oft wanted a resumable fetch21:35
jamwe just aren't there yet21:35
bialixsidnei: what should I edit in buildout.cfg to disable fetching of bzr?21:35
jambialix: and while git does things in terms of sha1s, it still needs to know when it has the complete set of sha1s21:35
jamI believe it isn't perfect about resuming fetch either21:35
jamsince it doesn't talk about all file shas21:36
jelmerI don't think git does resumable fetch either21:36
jelmerI wouldn't see how, anyway21:36
jelmeryou only get back one pack file from the server21:36
bialixsidnei: remove bzr from "parts"?21:37
bialixjam: I think this problem related to recent garyvdm post about downloading too much stuff via dumb transport21:38
jambialix: so log in to launchpad, and everything will be downloaded via the smart transfer21:38
jamjelmer: for the stuff you've gotten so far, you could write it to disk and mark it as locally available21:39
lifelessmoin21:39
jamI don't know how you would resolve the 'what do I have that you don't question'21:39
bialixby "this problem" I meant "resumable pull"21:39
jamwhich is generally done by inspecting the revision graph21:39
jamlifeless: morning21:39
jelmerjam: but you don't have any guarantee about the order of the pack file21:39
jamjelmer: exactly. So you can't be sure when you've gotten all the content for a revision21:39
jamwithout actually focusing on determining that21:40
jamwhich is probably not cheap21:40
jelmerright21:40
jamlifeless: did I read correctly that you were catching a plane yesterday?21:40
bialixjelmer: if I know which pack file I need to download from server and I see it present locally I can just omit it21:40
bialixno?21:40
jelmerbialix: not with the git smart server21:40
jelmerbialix: as that generates a pack file on the fly for you21:40
lifelessneither git nor hg do resumable branches21:40
jelmerbialix: you don't actually know what it's name is until it's completely sent21:40
bialixjelmer: but pack has inside objects?21:41
jelmerbialix: yes, a pack file contains objects21:41
jamlifeless: well I think hg sort of does, but encourages you to 'hg truncate' if the fetch fails21:41
jamthough they may do it for you21:41
eyalw1hi, I'm getting an "different rich-root support" error when I try to branch a LP project into my local repo, why is that ? and how do I fix this21:41
bialixcan you recover objects from partially downloaded pack?21:41
jelmerbialix: that's what jam and I were just discussing21:41
lifelessjam: I used hg to get this netbeans thing21:41
lifelessjam: it rolls back on failure21:42
jelmerbialix: you might be able to recover some objects, but that doesn't really help you21:42
=== kiko is now known as kiko-afk
bialixsorry, I'm battling with buildout and don't read carefully21:42
awilkinseyalw1: One end is a rich-root format, the other isn't21:42
awilkinseyalw1: Is your repo in --2a format?21:42
eyalw1awilkins: what is a rich root format?21:42
jelmerbialix: unless you go back and check that you happened to have gotten all of the objects required for a revision it doesn't help21:42
jelmerbialix: (and the chances of that are slim)21:42
lifelessjam: bialix: let me say, I'd love resumable downloads.21:43
awilkinseyalw1: rich-root versions metadata about the root folder, as well as everything else. Which means you can do things like move it21:43
bialixjelmer: okay okay21:43
lifelessI just think they are extremely hard to do well; and none of our competitors do them.21:43
bialixlifeless: but you just trying to say "but..."21:43
bialixdon't21:43
jelmerlifeless: that's a good reason why we should do them well :-)21:43
lifelessjelmer: it is21:43
awilkinseyalw1: It's required for SVN interoperability, and is the default in --2a format - new formats will all be rich root. Older formats were only rich-root if you explicitly said so.21:44
jamjelmer: well the 'extremely hard to do them correctly' is the main reason we don't21:44
lifelessI've put my thoughts on the issues on the list before21:44
eyalw1awilkins: so, do you suggest to use it by default or not21:44
lifelessatomic insertion has bought us a _lot_21:44
awilkinseyalw1: I tend to use it by default because I have a lot of SVN repos I interoperate with21:44
lifelesswe used to have lots of rpeository glitches on NFS, and we couldn't do concurrent insertions21:45
bialixso, no one modern VCS has resumable pull?21:45
eyalw1awilkins: but for people who don't use svn, is it recommended?21:45
jelmerbialix: darcs :-)21:45
lifelessjelmer: does it?21:45
* bialix chuckles21:45
awilkinseyalw1: I would probably start using --2a for new projects21:45
jelmerlifeless: I'm pretty sure it does21:45
awilkinseyalw1: Which is rich-root. Existing projects are mostly not using rich-root.21:46
eyalw1awilkins: why isn't bzr use it by default today21:46
lifelessjelmer: it would be interesting to check :)21:46
awilkinseyalw1: But if you were branching the bzr repository, that moved to --2a a while ago (see topic :) )21:46
bialixit seems only svn has decent windows support. all others are suck on different tiny details. darcs too21:46
awilkinseyalw1: Because it didn't historically21:46
jelmerlifeless: Yeah21:46
jelmerbialix: even bzr?21:47
awilkinsbialix: I find Bazaar to be the best of the DVCS for supporting Windows, but it has some nasties (like the OS locking thing which stopped you using the powerful shelve 2 command)21:47
awilkinsCertainly git and Mercurial I found to be less Windows-friendly21:48
bialixawilkins: (proper) support for case-insensitive fs?21:48
bialixline-endings?21:48
bialixlifeless almost fixed os locks21:48
awilkinsbialix: I view these as less of an issue ; the only tools silly enough to require particular line-endings I use are windows-only anyway21:48
lifelessbialix: is it still giving trouble?21:48
bialixI dunno21:49
eyalw1awilkins: ok, thanks : ) I guess ill read about it some more on google21:49
lifelessjelmer: #subunit :P21:49
bialixlifeless: but ya know: OSLMD21:49
lifelessbialix: I agree21:49
awilkinsbialix: And I don't create files who's names differ only by case, so that doesn't really cause any showstoppers - if Bazaar handles the "rename a file to a different case of the same name" use case on windows, that's the only one I know about that was a problem with SVN for a long while21:49
* awilkins tests the "rename to different case" thing21:50
bialixawilkins: I have no desire to chew all this again tonight again and again21:50
bialixsorry21:50
awilkinsbialix: No problem ; I guess I've just adapted my habits enough that these things are irrelevant to me21:51
bialixawilkins: I mostly too, but they still blow into the face of novices21:51
bialixif you want sell a tool to novices you should be perfectly looking21:52
bialixdon't tell people: uh oh, this is known issue, so don't see at this error please21:52
bialixwhen I have to tell this in ru_bzr I feel bad21:52
bialixawilkins: one more thing! diff headers!21:52
bialixthey are in utf-8!21:53
bialixhuh?!21:53
bialixI hope one day abentley will help to resolve this21:53
awilkinsbialix: No BOM I presume21:53
bialixawilkins: you're ascii-only guy I assume21:53
bialixdiff for non-ascii filenames show name of the file as utf-821:54
lifelessjelmer: ping21:54
bialixin the windows console21:54
bialixблаженны незнающие21:54
awilkinsbialix: It seems to cope with the same-name-different-case-rename scenario21:54
bialixawilkins: this scenario I've fixed many years ago, yes21:54
awilkinsbialix: Yes, British english, CP1252 console21:55
awilkinsOr UTF-8 / 16 powershell21:55
awilkinsAnd UTF-8 bash21:55
awilkins(on linux)21:55
eyalw1awilkins: bzr: ERROR: no such option: --2a21:55
lifelessjam: ping21:56
jamlifeless: ?21:56
awilkinseyalw1: Which version are you using?21:56
awilkinseyalw1: bzr version21:56
lifelessjam: py memory dump21:56
lifelessjam: I want to analyse this 6gb trace21:56
eyalw1awilkins: 1.13.121:56
bialixawilkins: what's about powershell?21:56
jamlifeless: now officially branded 'meliae' and available as "bzr branch lp:meliae" :)21:56
lifelessjam: the existing tools seem to want to load the entire thing21:56
jamlifeless: the general operations do, yes21:56
jamwhich is what heapy does, too21:56
jamjust doesn't support 6GB dumps in the first place21:57
awilkinsbialix: Powershell? It's all .NET strings internally so it's UTF-16 in memory21:57
bialixit's console?21:57
bialixwhich encoding it uses?21:57
awilkinsbialix: Yes, next-generation Microsoft console21:57
lifelessjam: so, the comments about module references and the like are a little unclear to me21:57
jamlifeless: so how would you reduce what you read in?21:57
awilkinsbialix: Better scripting than cmd.exe21:57
lifelessjam: mainly because it only seems to me that it would matter when there are global variables that are the leak?21:57
jamsince stripping stuff out would lead to an imprecise picture...21:57
awilkinsbialix: In a lot of ways I find it easier than bash21:58
jamlifeless: so if you have a function it references its module21:58
lifelessjam: you should delete the old py_memory_dump +junk branch, or rename it into meliae, so that folk get some sign to chance :>21:58
jamwhich means if you have a variable pointing to a function you end up...21:58
bialixawilkins: std cmd.exe uses OEM encoding, and could be switched to ANSI. But it does not support utf-8 in the way bzr can understand it21:58
jamwhich is what 'remove_expensive_references' is somewhat about21:58
jamfor when you want to compute the recursive size of things21:58
lifelessok21:59
jamlifeless: I'm happy to include things that would be useful to you22:00
awilkinsbialix: Did you get the PM?22:00
jamunderstanding memory consumption has been pretty tricky for me22:00
lifelessjam: cc1: warnings being treated as errors22:00
lifelessmeliae/_scanner_core.c: In function '_dump_object_info':22:00
lifelessmeliae/_scanner_core.c:261: error: format '%d' expects type 'int', but argument 3 has type 'Py_ssize_t'22:00
bialixPM?22:00
lifelessjam: you seem to have a very good handle on it. I agree that tuple keys are a poor proxy for a compact object btw22:01
jamlifeless: I run on 32-bit, so don't notice some 64-bit issues. Patches/bug reports welcome22:01
lifelessjam: if you change that line to use %ld, does it build?22:03
lifelessjam: have you considered using the unparsed \0 separated strings as keys?22:04
jamlifeless: changed to %ld22:04
jamin rev 7022:04
lifelessjam: theres a bunch more; I was checking ld worked for you :P22:05
jamlifeless: I've considered something like that, but it doesn't work particularly well for parent lists22:05
jamlifeless: I changed more than that one22:05
jamI changed all the Py_ssize_t ones I've found22:05
lifelessjam: did you change the tests :P22:05
jamlifeless: the tests passed here22:06
jamboth ways22:06
lifelessjam: I'll have a patch for you soon :P22:06
jamthere are probably some 64-bit size-of-objects bugs as well22:06
jamsince some things scale, and some don't22:06
jamI also saw some python 2.6 differing from python2.522:06
jamlike dicts getting bigger for some reason22:06
jamI think the GC header actually grew from 12 bytes to 16 bytes here22:07
lifeless        self.assertSizeOf(6, 'a', extra_size=1, has_gc=False)22:07
lifelesswhat does 6 mean here22:07
jamlifeless: 6 32/64-bit words22:07
jamextra_size = num bytes22:07
lifelessyes but why 622:08
jamlifeless: because a string has:22:08
jamob_refcnt, ob_size, ob_type22:08
jam322:08
jamhash == 122:08
lifelessso 6 means 'string overhead'22:08
jamflags == 122:08
jamlifeless: right22:08
jamin C22:08
jamsizeof(PyString) == 6*422:08
lifelessso, 64 bit word size is still 422:09
jamor 6*822:09
jamlifeless: pointers and longs are 8 bytes in python22:09
jamon 64-bit22:09
lifelessjam: yes, because neither of those are words22:09
jamthe one that doesn't change is an int field in strings22:09
jamso it is probably 5*4, extra_size=1+422:09
jamor something like that22:09
jamlifeless: so call the 'basic pointer/long' size what you want22:10
jamI'm focusing on multiples of those22:10
bialixawilkins: https://bugs.launchpad.net/bzr/+bug/38269922:10
ubottuUbuntu bug 382699 in bzr "diff headers should contain non-ascii filenames in user_encoding, not in utf-8" [Undecided,Confirmed]22:10
jamlifeless: AFAIK word is still 16 bits22:10
jamgiven that microsofts api's use DWORD for Double Word == 32bits22:10
lifelessjam: it gets worse, as pointer width is a model thing, and there are hybrid arches22:10
lifelessjam: with 32 bit points, and 64 bit numbers22:10
jamlifeless: I don't particularly care about getting the test suite to pass on hybrid arches, but if someone cares to put in the effort, great22:11
jamthere are also alignment issues, etc22:11
jamAnd I've heard that py 2.7 is going to re-align strings22:12
jamand cut out a couple of bytes of waste22:12
bialixwow, buildout finished to get components22:12
lifelessjam: can you confirm on win3222:12
lifeless        self.assertSizeOf(4, '', extra_size=0+8, has_gc=False)22:12
jamlifeless: confirmed22:13
lifelessthanks22:13
jamlifeless: on py2.7 I think that becomes self.assertSizeOf(4, '', extra_size=0+5, has_gc=False)22:14
jamas they use offsetof(ob_sval) rather than sizeof(PyStringObject)22:14
jambut as I don't have py27 to test, I'm not worried about it22:14
lifelesslp:~lifeless/meliae/64-bit22:15
bialixawilkins: one day (soon) I'll plan to write article with some advices how the best work with bzr in windows (from command-line and gui). I'd like to consult with you about powershell tricks which can be useful for bzr users22:15
awilkinsbialix: My use on Windows is entirely Powershell + qbzr ; I don't use the overarching GUIs like Olive and bzr-explorer22:16
bialixawilkins: it's ok, I just need couple of advices who the best configure powershell for bzr needs22:16
bialixs/who/how/22:16
jamlifeless: :(, on mingw32 with %ld, I get: 271: warning: long int format, Py_ssize_t arg (arg 3)22:19
jamoh, also with python2.522:20
lifelessAnd this is why C sucks22:20
lifelessdoes %zd work for you?22:20
jamlifeless: %zd is not understood by Visual Studio22:21
jamIt doesn't complain22:21
jambut the test suite gives:22:21
jam"size": zd22:21
jamin the output22:22
jamlifeless: #define time, I guess22:22
lifeless#define SIZET_FORMAT "%l...22:22
lifelessyes22:22
lifelessso backto analysing the dump22:23
jamlifeless: so I would start with 'strip_duplicates.py'22:23
jamwhich uses a fairly lightweight Set object and doesn't store each row in memory22:23
lifelessthere are two issues I know of22:23
lifelessthese expensive references22:24
lifelessand cycle breaking22:24
jamit doesn't matter for analyzing with meliae, but it avoids using sort -u, etc22:24
lifelesshave you heard of Tarjan's method?22:24
jamlifeless: not specifically22:24
lifelesshttp://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm22:25
lifelessI've implemented this in C++ for cygwin's setup.exe22:26
lifelessit is/was how it breaks dependency cycles for installs22:26
jamlifeless: seems somewhat similar to gdfo, only smallest distance from origin22:27
lifelessit finds cycles22:29
lifelessa strongly connected component is a subgraph where every element in the subgraph can reach every other element22:30
awilkinsHeh, I think I wrote that for VB DLLs once22:30
jamlifeless: so the main reason for the remove-expensive-references is because if you hit a module, your cycle basically includes *everything*22:30
lifelessjam: so I was thinking about a few things we could do for very large memory dumps22:30
lifelesstarjan's method is a tool we may find useful22:31
bialixjam, sidnei: components layout is simply awful, sorry for my french22:31
lifelessone thing I was thinking was to shove the memory dump into a b+ tree; with long reference lists split into internal graph nodes22:31
lifelessthis would allow logn lookups to do graph processing on it22:31
sidneibialix: merci beaucoup22:32
bialixoops22:32
jamlifeless: performance might be a bit poor given the sorted requirement, shear number of keys, and probably lack of locality22:32
jambut it certainly seems like a way to handle the memory issues22:32
bialixsidnei: but really, all eggs are put into the same basket22:33
bialixheh22:33
bialixnever mind22:33
sidneiliterally yeah22:33
lifelessjam: actually locality should be pretty good22:33
lifelessjam: I'm going to give it a spin anyhow22:33
jamlifeless: I suppose it depends on the locality of the malloc, right?22:34
lifelessright22:34
lifelesswhat arena its in basically22:34
lifelessthings allocated in a tight loop of the same type will be 'close'22:34
jamlifeless: anyway, tests right now are passing on py2.5 using mingw and py2.6 using VC on Windows22:34
bialixit's not my call now to maintain this mess, so who am I to point on such things22:34
lifelesseven if they use several subtypes, we should see a cluster of related regions22:34
sidneibialix: i'd be happy to change it if you got a better proposal22:35
bialixI'd like to see buildout helper dirs, source components dirs and release dirs separated by dedicated subdirectories22:36
* bialix wonder how jam handle all this22:36
sidneibialix: care to draw some ascii art for me?22:36
sidneilike pwd/<buildout-stuff>, pwd/source, pwd/release?22:37
bialixyep22:37
lifelessjam: cool, let me know when you've pushed ;)22:37
jamlifeless: pushed rev 7122:37
jamhold on a sec22:37
jamit was pushing to a personal branch rather than the official trunk22:38
jampushed now22:38
lifelessjam: have you merged my branch?22:39
jamlifeless: I'm happy to make you a dev if you want22:39
jamI didn't know you published a branche22:39
lifeless07:13 < lifeless> lp:~lifeless/meliae/64-bit22:40
jamlifeless: doing it now22:40
lifelessjam: thanks22:40
jamlifeless: so after merging, I still get: 271: warning: long int format, Py_ssize_t arg (arg 3) with gcc, but at least the tests pass22:42
jamlifeless: test suite still passes, though the warnings suck22:43
lifelessjam: I get no warnings.22:43
lifelessjam: I suspect you just need to use the #ifdef in some spots you missed22:43
lifelessjam: bzr diff should show you those22:43
GaryvdMPlease can someone copy qbzr 0.14.1 in the bzr ppa. https://edge.launchpad.net/~qbzr-dev/+archive/ppa/+copy-packages22:43
lifelessGaryvdM: drop a mail to the list cc john ferlito22:44
jamlifeless: is this your last commit:22:45
jam66 Robert Collins    2009-09-1122:45
jam   64 bit port.22:45
jamwell only commit :)22:45
bialixsomething wrong with buildout. No module named subvertpy22:45
jamI don't have a #define for %ld vs %d etc22:45
lifelessjam: oh, thought you did22:46
lifelessso %zd is the right thing to use22:46
lifelessbut visual studio will fail22:46
jamlifeless: except it isn't a C standard...22:46
lifelessjam: I know :P22:46
lifelessso we need a #define for it22:47
jamwhat is zd?22:47
lifeless       z      A following integer conversion corresponds to a size_t or ssize_t argument.22:47
lifeless(man 3 printf)22:47
lifelesszd == ssizet22:47
lifelesszu == sizet22:47
bialixjam: are you using some special additionasl settings on kerguelen for building installer? buildout from Ian's branch can't find subvertpy, while it actually downloaded22:48
jamlifeless: not in my 'man 3 printf' but I'll trust you :)22:48
jamThe PRIuPTR macro (from <inttypes.h>) ...22:49
jamhttp://stackoverflow.com/questions/174612/cross-platform-format-string-for-variables-of-type-sizet22:49
bialixsidnei: for building bzr.exe build-installer.bat should add location of subvertpy to PYTHONPATH22:49
bialixsidnei: it seems don't22:49
bialixsidnei: is it intended?22:50
sidneibialix: likely not, but jam should know better22:50
bialixjam: have a minute?22:51
bialixsidnei: I smell bug, but I'm not sure22:51
lifelessjam: uhm, thinking.22:52
jamlifeless: so it seems using "#ifdef __GNU__; #define FMT "%zd"" doesn't work here22:54
bialixsidnei: oh, my bad22:54
jamit gives "zd" in the output.22:54
jamProbably the formatting is done in the windows library22:54
jamarg22:54
lifelessjam: what gcc version do you have?22:54
bialixsidnei: Ian has disabled it in his branch22:54
jamlifeless: 3.4.4 (cygming special22:54
lifelessgod thats old22:54
jamlifeless: newest version in cygwin22:55
jamthere is a 4.x version but not for mingw22:55
* awilkins is using the 4,1.x mingw one22:55
* awilkins starts his bzr-build vm22:56
lifelessjam: cygwin's mingw packages are often old22:56
lifelessjam: #ifdef __linux__22:57
lifelessjam: will keep me happy22:57
GaryvdMbialix: what version of PyQt should I have for the windows installer?22:58
bialix4.4.3 for Python 2.22:59
bialix2.522:59
jamlifeless: well, it doesn't handle 64-bit windows but hey...22:59
jam(I can't use sizeof() because types are defined yet...)22:59
lifelessjam: 64 bit windows will be different22:59
lifelessjam: as its LLP6422:59
bialixincredible22:59
bialixbuildout seems to build bzr-svn successfully for me23:00
lifelessjam: I could be wrong; still, wait for the bug reports :P23:00
jamlifeless: so I don't have a good answer for *windows* yet23:00
jambecause I can't just use %ld23:00
jamI can set it to use %zd for you23:00
jamwithout much problem23:00
jam#ifdef _WIN32 #else23:00
bialixsidnei: I've reached the point when I have to say you: you rock23:00
sidneibialix: what did i do *wink*23:00
bialixsidnei: [01:00]<bialix>incredible23:01
bialix[01:00]<bialix>buildout seems to build bzr-svn successfully for me23:01
lifelessjam: so regarding the PRIuMAX approach;23:01
lifelessjam: http://www.embedded.com/columns/technicalinsights/20470043223:01
sidneibialix: \o/!!!23:01
lifelessjam: thats the referenced article, and in it he suggests (at the end) just doing a specfic typedef23:02
lifelessjam: which is what I favour too23:02
bialix\o/ indeed23:02
bialixsidnei: jam: thanks, and sorry23:02
bialixlifeless: at which time igc usually wake up?23:03
lifelessanother hour or two23:03
jamlifeless: I don't have a problem with that, but I still can't find the #ifdef combination that will activate on 32-bit windows versus 64-bit windows...23:03
lifelesshe's one hour TZ behind me23:03
jamlifeless: igc went to bed pretty late, though23:03
jamhe was up around 6 hours ago, IIRC23:04
* bialix going for some coffee23:04
lifelessbialix: but I wake up early in my TZ :P23:04
lifelessjam: #ifdef _WIN6423:04
bialixit seems I have no good news for him23:05
bialixigc: when you wake up -- ping me23:05
lifelessjam: actually try just WIN6423:05
=== bialix is now known as bialix-coffee
jamlifeless: seems to work: http://paste.ubuntu.com/268811/23:06
lifelessjam: have you tried WIN64 ?23:07
lifelesshttp://mail.python.org/pipermail/patches/2000-May/000619.html23:07
jamlifeless: I don't have a win64 machine to test it on23:07
jamanyway, time for me to go23:08
lifelessok23:08
lifeless_WIN64 is the one, I think. I find lots of refs to it23:08
lifelessnight23:08
igcping bialix23:27
awilkinsHis nick says he's having coffee23:27
lifelessjam: how important is using FILE* in the scanner?23:28
igcping bialix-coffee23:28
=== bialix-coffee is now known as bialix
bialixigc: good morning23:29
igcbialix: morning23:29
bialixI hope you sleep well23:29
igcvery23:29
bialixI have 2 news23:29
bialixbad and not so bad23:29
bialixigc: I think we should leave bzr setup.py as is for 2.023:30
bialixand don't extract py2exe stuff right now23:30
bialixgood news23:30
bialixafter battling with buildout all night I've reached the point when bzr and all plugins compiled sucessfully, excerpt tbzr23:31
bialixbecause tbzr require msvc 2008 which I don't have23:31
bialixso basically last time inno setup installer compiler blow up on the point when there is no docs23:32
bialixigc: so my proposal is just add you chm docs to existing build, add bzr-explorer and ship 2.023:33
igcbialix: sounds good to me23:33
bialixigc: and persuade jam to build another rc2 installer from your sources23:33
bialixbzr 2.0 is frozen, but your branch is good enough to tweak buildout stuff as needed23:33
bialixigc: I should say that despite my ignorance and my skepticism -- buildout is coolthing23:34
igcbialix: right, so 2.0 is frozen so we can't change what's in there23:34
bialixsidnei and jam are f** geniuses23:34
igcbialix: but there's plenty of room for tweaking the code in bzr-windows-installers, adding plugins, etc.23:34
bialixigc: I've got successful build of bzr-svn!!!23:35
bialixigc: right23:35
igcbialix: hooray!23:35
igcbialix: the dependency list for building the installer is crazy long still23:36
igcbialix: it will be good to gradually improve that - ditch cog as you suggested, etc.23:36
bialixyou have igc: if you can get access to kerguelen then you can speed up the testing the whole thing I guess23:37
bialixs/you have//23:38
igcbialix: final builds will happen there23:38
igcbialix: I just want to enhance and debug it locally first23:38
bialixigc: I've battled with your build.bat until I've realized you commented out some stuff23:38
bialixigc: installing things like compiler and pyrex is not hard23:39
igcbialix: so can you push your changes?23:39
bialixbut you can't build tbzr without msvc 200823:39
GaryvdMbialix: Dose qbzr/installer/copy_libs.py get used for the bzr installer?23:40
bialixGaryvdM: lemme check23:40
GaryvdMbialix: and if so, can you fix Bug #42759323:40
ubottuLaunchpad bug 427593 in qbzr "installer\copy_libs.py should copy PyQt4\plugins\imageformats" [Undecided,New] https://launchpad.net/bugs/42759323:40
GaryvdMps the lag on my Irc is very bad, so Sorry If don't respond quick23:41
bialixGaryvdM: it's wrong bug23:41
bialixigc: I have not changed your code yet23:42
bialixigc: I've tweaked the things in the build-win32 dir23:42
bialixheh, Gary Gary23:43
bialixScoobyDoo, where are you23:43
bialixigc: do you have msvc 2008?23:44
igcbialix: no, just mingw32 5.1.423:45
garyvdmHi bialix: Not sure if you got my prevs msg23:45
bialixgaryvdm: no, copy_libs not used anymore23:45
garyvdmHi igc23:45
igcgaryvdm: is bug 427586 the one?23:45
ubottuLaunchpad bug 427586 in qbzr "installer\copy_libs.py crashes if dir missing" [Undecided,New] https://launchpad.net/bugs/42758623:45
bialixgaryvdm: last message I've got is: [01:42]<GaryvdM>ps the lag on my Irc is very bad, so Sorry If don't respond quick23:46
bialixgaryvdm: I've said: the bug 427593 is wrong23:46
ubottuLaunchpad bug 427593 in qbzr "installer\copy_libs.py should copy PyQt4\plugins\imageformats" [Undecided,New] https://launchpad.net/bugs/42759323:46
garyvdmbialix: Yes that was the last messages sent23:46
igchi garyvdm23:46
bialixgaryvdm: I fixed installer build stuff in trunk23:46
bialixnot sure it was backported for 0.14.123:47
bialixgaryvdm: I can build installer myself23:47
bialixanyway I'm not sleeping yet23:47
igcgaryvdm: thanks for the recent qbzr bug fixes - qbzr is looking pretty damn good now!23:47
garyvdmbialix: I ran installer from trunk23:47
garyvdmigc: thanks23:47
bialixgaryvdm: then look at make_release.txt document23:47
bialixit explains how installer built23:48
garyvdmbialix: I also used the one from trunk.23:48
bialixhttp://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk/annotate/head%3A/docs/make_release.txt23:48
garyvdmbialix: I have built the installer, I noticed that I does not have the image formats23:48
bialixgaryvdm: that's right23:49
bialixgaryvdm: oh!23:50
bialixgaryvdm: you have installed pygments as eggs???23:50
garyvdmbialix: Why is bug 427593 wrong?23:50
ubottuLaunchpad bug 427593 in qbzr "installer\copy_libs.py should copy PyQt4\plugins\imageformats" [Undecided,New] https://launchpad.net/bugs/42759323:50
garyvdmbialix: yes - with easy install23:51
bialixbecause imageformats should be installed not in _libs23:51
bialixbut in C:\Program Files\Bazaar23:51
bialixalong bzr.exe23:51
bialixgaryvdm: then my copy_libs script did not copy pygments23:51
bialixbecause it can't deal with eggs23:52
garyvdmbialix: What if that install bzr from source, and qbzr from installer?23:52
garyvdm*they (a user)23:52
bialixour _libs required only for custom bzr.exe case23:52
bialixyou can freely omit them23:52
garyvdmBialix: I think it did copy the pygments egg - I'll double check.23:53
bialixactually our _libs are used only with bzr.exe. only23:53
bialixI can rebuild installer tomorrow if you wish23:54
bialixigc: so what is consensus about bzr.exe installer now?23:55
bialixigc: do you plan to extend buildout stuff with reciepes for bzr-explorer and chm docs?23:55
igcbialix: yes I do23:55
bialixif so then I can test it in morning23:55
bialixand ensure everything excerpt tbzr are build and packaged correctly23:56
igcbialix: great. I'll add the recipes for the new plugins and docs then23:56
igcbialix: we can leave tbzr out initially IMO - it's going to be off by default anyhow23:56
bialixigc: *my* morning will be after 8 hours23:56
igcsure23:56
bialixoh23:57
igcbialix: my immediate focus this morning will be getting explorer 0.8 out23:57
bialixand we should make it actually off by default in installer23:57
bialixdoes it mentioned in todo?23:57
garyvdmbialix: I think that my installer is ok. I'23:57
igcit should if it doesn't already23:57
garyvdmbailix: I'm going to upload it.23:57
bialixigc: re explorer: I need update tramslations23:57
bialixgaryvdm: ok23:58
jamlifeless: I would be plenty open to using a callback, etc. I used FILE as a way to have very minimal memory overhead so that you can dump 6GB of data without going OOM.23:58
igcbialix: let's do that next week23:58
igcI'll call for translations to be enhanced after my changes land23:58
jambtw, I have an rc2 built from current sources23:59
jambut still waiting on bzr-svn 1.0, etc.23:59
jamso I'm not releasing it yet23:59
igci.e. I expect/hope translations to improve between rc2 and 2.023:59

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