/srv/irclogs.ubuntu.com/2007/10/27/#bzr.txt

TeTeTany idea what's wrong here:00:27
TeTeT% bzr push00:27
TeTeTUsing saved location: bzr+ssh://tspindler@bazaar.launchpad.net/~canonical-training/ubuntu-desktop-course/ubuntu-desktop-course-beta/00:27
TeTeTNo handlers could be found for logger "bzr"00:27
TeTeTConnection to bazaar.launchpad.net closed by remote host.00:27
TeTeTbzr: ERROR: exceptions.AssertionError: end of file reading from server00:27
jkakarDo the --fixes and --author options to 'bzr commit' do anything other than add metadata to the revision?00:35
jkakarTeTeT: That looks a misconfiguration in Launchpad (which is a complete guess on my part).00:36
TeTeTjkakar: ok00:37
jelmerjkakar: no, revision metadata is all it is00:38
jkakarjelmer: Ah, cool.  Thanks.00:38
jkakarHmm.00:40
jkakarCan one pass multiple bug numbers to --fixes.  ie: Is it just a string that can be used like: bzr commit -m "My message." --fixes "1234,2345"00:41
jkakarHmm.00:45
jkakarAm I missing something or are --fixes and --author values not shown in bzr log?00:45
jkakarHow do I discover this data?00:45
jkakarActually, it does appear to include an "Author: ..." line in the log.00:50
=== mw is now known as mw|out
lifelessrofl05:08
lifelessbtw, hi05:08
jdubhow much space does bzr use when committing binary files?05:53
spivjdub: "some" ;)05:53
jdubdoes it have another complete copy of the binary file in the repo, and a new one for each change, or...?05:55
spivjdub: if you commit multiple versions of a binary file, it'll typically do ok deltas of that (splitting on \n, just like text files), and I think there's also some gzipping on top of that.05:55
jdubbut the initial commit will pretty much double the size (between the working dir and repo)05:57
jdub?05:57
spivI'm not sure what you mean.05:57
spivThe initial commit has to make a copy of the file to record it in the repo.05:57
spivSo going from "bzr init . ; bzr add" to "bzr commit", it will double the disk usage (ignoring the gzipping).05:59
jameshjdub: it depends on how well the binary compresses06:01
jameshsame for text06:01
spivjdub: still here?06:06
jdubyeah, sorry06:10
jdubback06:10
spiv_<spiv> I'm not sure what you mean.06:11
spiv_<spiv> The initial commit has to make a copy of the file to record it in the repo.06:11
spiv_<spiv> So going from "bzr init . ; bzr add" to "bzr commit", it will double the disk usage (ignoring the gzipping).06:11
spiv_<spiv> bzr doesn't cope particularly gracefully with large files yet (binary or not).06:11
spiv_<spiv> (hooray, lag)06:11
spiv_<spiv> It'll hold the entire file in memory (sometimes two or three times) to do some operations.  So depending on the files, that might be a larger problem for you than the repo size.06:11
spiv_(not sure how much of that got through the first time)06:12
jdubyep, go all that06:12
spiv_Ah, good :)06:12
* jdub has a starting point of 514MB of binary files... ;-)06:12
jameshISO images?06:13
spiv_Ah-hah.  I thought you might have large files given that you were worried about repo size...06:13
jdubjamesh: almost -- windows xp install files 8)06:14
=== spiv_ is now known as spiv
jameshjdub: ah.  514 MB of files total rather than a single 514 MB file06:15
jdubyeah06:15
jameshjdub: so you probably need to worry more about the maximum sized file06:23
jameshand the gzip compression probably won't help much, since the install files would already be compressed06:23
spivThe good thing about compressed files is they typically have \n bytes at regular intervals...06:24
weigon_jelmer: g'morn ... bzr branch against a svn-tree still doesn't work: http://p.caboo.se/11147610:03
fullermdBoy, it sure is nice and quiet when everybody's off at meetings...14:48
lifelessmorning15:06
lifelessfullermd: bite your tongue15:07
lifeless:)15:07
fullermdDid that yesterday, actually.  It'll be a few more days yet before I forget how much it hurt and do it again.15:07
lifelessheh15:17
lifelesshi thumper, phanatic15:45
phanatichey lifeless15:45
thumperlifeless: howdy15:45
Verterokbeuno: ping?16:49
beunoVerterok, pong!16:55
VerterokHi!16:55
bialixhey lifeless16:55
beunohey, I finally re-implemented the new XML format and been using it for a week or so16:56
bialixluks: ping16:56
Verterokbeuno: availabale for a chat about xmloutput? (mainly about log --xml)16:56
beunoVerterok, everything works great. Just had that small glitch with the XML format, which I saw you already fixed in trunk16:56
beunoVerterok, sure16:57
luksbialix, hi16:57
Verterokbeuno: nice!16:57
bialixhello, luks16:57
bialixdid you see my e-mail about QBzr(qlog) + packs16:57
Verterokbeuno: it's fixed more or less :P. I found a few cases not handled (correctly) by the plugin16:57
luksyes16:57
luksit probably just need some lock_read/unlock calls16:58
luks*needs16:58
beunoVerterok, is it skipping revisions, or just XML correctness?16:58
luksbut I haven't tested it on any pack repo yet16:58
bialixluks: I think so16:58
Verterokbeuno: xml correctness in deep merges16:59
bialixluks: goffredo did good job with unidiff, I integrated second version of his patch to my branch.17:00
beunoVerterok, when specifically does it fail?  I haven't bumped into it these days yet17:00
Verterokbeuno: the current issue is how to correctly show some cases like a merge who has a merge inside it17:00
beuno(I'm parsing XML in a much more stricter way so I can eventually release the code and help test the XML a bit better)17:01
Verterokbeuno: I found it testing with in bzr.dev17:01
beunoVerterok, so it's when you have nested merges?   how does the regular bzr log output show that?  it keeps tabulating?17:02
Verterokbeuno: running bzr log -r 2420..2481 in bzr.dev (with and without --xml switch)17:03
Verterokbeuno: the case can be found in the revno 2447.1.717:03
Verterokbeuno: the nested merge is revno 2208.4.417:06
beunoVerterok, that's odd, 2447.1.7 is only one level deep17:07
beunoI see 2466 > 2447.1.717:07
beunoVerterok, I see what you mean with 2208.4.417:08
Verterok2447.1.7 -> 2208.4.4 (without a log )17:08
Verterokbeuno: the current xml don't support this kind of nested merge, the problem seems to be that we expect that all merge have a <log>, but this case doesn't have one :P17:08
Verterokbeuno: it's not a problem for your parser (at least I think so), because the revision is included in the xml, but it isn't nested correctly17:10
beunoVerterok, AFAIK, it breaks the structure, right?  the <merge> bit17:10
Verterokbeuno: yes17:10
beunoVerterok, I don't think we have 2 level merges yet, but I do want to make the parser as strict as possible, to help test the plugin out as much a possible17:11
Verterokbeuno: I'm working in a test case for it and thinking how we should handle this case. any ideas are wellcome :D17:12
beunoVerterok, <merge> within <merge> comes to mind17:12
beunoalthough it isn't pretty, but come to think of it, neither is XML  :p17:12
* Verterok agrees17:13
Verterokok, if it's ok with you, I can fix this with nested <merge> tags17:14
beunoVerterok, absolutely, I can't think of a better way17:14
Verterokbeuno: I finished almost all unittest, only misssing is missing (what a problem ;) )17:15
beunoVerterok, hahahah, I saw, I'm still not sure how the tests work though, haven't played around with em17:16
Verterokbeuno: no prob, I'll write it.17:17
Verterokbeuno: Also, I created a XMLLineLogFormatted to use it in pending merges, i think it can be usefull for missing17:18
beunoVerterok, I've been thinking on the best way to structure that, even for future use cases17:19
beunoI might try and actually put my idea down as code17:19
Verteroksure! if you need some help, and I can do something, just tell17:21
Verterokbeuno: ah, I see your fix to the path escaping. I found that in bzrlib.xml_serializer there is a _escape_cdata to handle entities escaping17:22
beunoVerterok, oh, yeah, I was pretty sure that wasn't the best approach, I just needed to get it working at that point, so I did one of those ugly workarounds expecting you to come up with a much more elgant solution  :D17:24
beunodid you implement that on all user input?17:24
Verterokjajaja17:24
beunobecause I only fixed it where I had the problem, didn't sanitize all the XML as I probably should of17:25
Verteroknot sure if it's in all user input, i need to check that. I added it to path, commiter, commit message17:26
beunoVerterok, I think all that would be left is branch-nick17:26
Verterokbeuno: the branch-nick it's handled in log, but not in version, fixing it. thanks!17:27
beunoVerterok, np, you're basically fixing things that I won't have to, so it's convenient :D17:28
beunoabout the code restructure thing, I was thinking we might want to have a specific class that takes a revision number and returns it in XML, and we can use that from all commands17:29
beunothen just loop through whatever command, and add any magic needed (<merge>, etc)17:30
beunothat way we can centralize all data sanatization in one place17:30
beuno(I'm thinking ahead here, for when we try and push this as part of the actual bzr code)17:30
beunothat might make it easier to re-use that bit of code from everywhere else17:31
beunoI was thinking maybe just passing the revision number to it, and let it return it nicely formated17:32
Verteroksure, in the case of log, this is done in XMLLogFormatter.logrevision, but it recieves a LogRevision not revno17:32
beunonot sure how that would hit on performance though17:32
beunoright, LogRevision sounds saner17:32
beunobut don't we have much duplicated code?17:33
* beuno goes and looks at the latest version17:33
VerterokLogRevision actually is bzrlib.log.LogRevision17:33
beunoVerterok, right, the code *is* already structured pretty much that way...17:35
Verterokyes, but in not convinced with the current logformatter in bzrlib, in the case of the xml output we need to do a lots of workarounds to handle merges, etc17:36
beunoright, that does seem the root of the messy code17:37
Verterokthe issue is that the logformatter recieves one revision at a time, and doesn't known anithing about the context of that revision (if it's in merge or whatever)17:37
Verteroks/anithing/anything/17:38
beunowe should atempt to clean that up in a way that's convenient to format, and see if that still works cleanly with bzrlib17:38
beunoVerterok, the current output adds tabs to it, so it does know at some point if it's a merge17:39
beunomaybe we can hook there17:39
beunotab == merge17:39
beunono tab now, but yes before == close merge17:39
beunomight be cleaner17:39
beunoand offloads the scaling problem to bzr devs  :D17:39
Verterokyes, last night I make some cleanup of the xml logger and started to work that way cheking the merge_depth value17:40
beunoah, you've been doing a lot of "doing", I haven't gotten past tossing it around in my head17:41
VerterokI'm quite sure that the way to go, and keep the logfomatter untouched17:42
Verterokme neighter ,I screwed log --xml badly  :D17:42
beunomuahahah17:42
beunowell, aside from the little tweak I added, the rest went perfectly this week17:43
beunoeven added the feature for users to see their commits from our software17:43
Verterokgreat!17:44
beunoso everybody had their attention put on if they actually showed up17:44
beunofound a few bugs in the way I was doing things thanks to that17:44
beunoI'm confident I'll be able to release a loggerhead-like thingie in php in a near future17:45
Verterokuser feedback is really helpful17:45
Verterokthanks to that I have 4 or 5 bugs to fix in bzr-eclipse, but first I need to close the nested merges things17:46
beunoyes, once I gather the patience to listen to absurd complaints from the windows-using graphic designers, feedback is great  :p17:46
beunoVerterok, ah, yes, I have steared a few ppl asking questions about bzr-eclipse here towards Launchpad these days17:47
beunoto bugs/questions17:47
beunohaven't atempted to use it in a long time know, so I'm not confident enough to answer anything17:47
Verterokit's slowly becoming more usable, maybe in a few days (with xmloutput fixed, and the changes to bzr-eclipse) I can promote it to "beta" and make a 0.1 release17:49
Verteroktought, the pre_alpha warning scared some users :P17:51
Verterokmaybe a "its' beta" warning is more user friendly :D17:51
* Verterok lunch17:55
=== Verterok is now known as Verterok__
Verterok__beuno: seeya later17:55
beunoVerterok__, buen provecho17:56
Verterok__thx!17:57
=== AnMaster_ is now known as AnMaster
hsn_release schedule for 0.92?20:44
=== Verterok__ is now known as Verterok
jelmerweigon_: thanks, fixd23:02
weigon_what ever I touch breaks :)23:02
jelmerthat was actually a bit of carelessness on my side23:03
Peng"knitpack"? Not "knit-pack"?23:05
weigon_jelmer: I'm on 760 now, but still exploding23:06
weigon_but I think "StopIteration" is the bzr.dev on from 2-3 days ago23:06
weigon_jelmer: http://p.caboo.se/11157623:08
weigon_bzr.dev and bzr-svn are current23:08
weigon_it is a clean 'bzr branch'23:08
=== me_too is now known as too_short
=== too_short is now known as me_too

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