/srv/irclogs.ubuntu.com/2011/06/21/#bzr.txt

=== medberry is now known as med_ou
=== med_ou is now known as med_out
=== jamesh_ is now known as jamesh
=== jr__ is now known as Riddell
Riddellbonjour09:05
=== hunger_ is now known as hunger
vilaRiddell: hello !09:41
maxbvila: Hello. Now that fixit.sh is merged, shall I translate my existing commands from the bugreport to use it?09:57
vilamaxb: for extra clarity, it would be nice, but you don't have to09:58
vilamaxb: did you have confirmation of the deployment ?09:58
vilaerr, off the lp side of things09:58
vilas/off/of/09:58
maxbStill waiting on that09:58
vilaok09:58
maxbit will be easy enough to translate the commands - I will just rewrite my version of the shell functions to ones which echo code in the new format09:59
vilamaxb: I'll wait for your ping then09:59
vila:)09:59
vilamaxb: oh, by the way, I did a launchpad-login on jubany and this seems to work10:00
vilamaxb: just one more thing to keep an eye open for for a few days (in case this triggers something (not that I can think of any though))10:00
vilas/any/&thing/10:01
jelmerhah, hello for real10:49
Riddelljamesh: did you see my request about https://code.launchpad.net/~jr/bzr/bzr-gpgme/+merge/64859 ?11:44
=== ubot5` is now known as ubot5
=== smoser` is now known as smoser
=== med_out is now known as med
=== med is now known as medberry
pooliehi all15:25
pooliethanks for that riddell15:25
Riddellfor the gpg stuff?  you're welcome :)15:28
vilahey poolie15:28
pooliehi vila15:29
maxbRiddell: One thing which occurred to me looking at your examples.... OK, 1 commit not valid..... which commit? :-)15:32
vilathe invalid one ;-P15:33
Riddellmaxb: you use -v to show you the invalid author and bzr log --signatures to find the commit15:34
RiddellI did think of having  bzr verify -vv  or something for very verbose which showed each commit but then why not just use bzr log15:35
vilaRiddell: convenience15:37
vilawhy use 3 commands if one is enough ?15:37
pooliein the log perhaps it would be good to show the key id15:39
poolievila, i was wondering if you could share your todo list or plan for babune15:39
poolieor summarize it, if the current one is too cryptic or detailed15:39
vilahttp://paste.ubuntu.com/630417/15:42
pooliethanks15:44
pooliethat looks good15:45
pooliei think it would be good to get it off your own personal hardware, for a couple of reasons15:45
vilayes ! bug #688101 is almost dead ;)15:45
ubot5Launchpad bug 688101 in Bazaar "Failing to bzr resolve multiple conflicts bzr: ERROR: Tree transform is malformed [('duplicate id', 'new-74', 'new-1')]" [High,In progress] https://launchpad.net/bugs/68810115:45
pooliehooray15:45
poolieone being so it's not down if you're away15:45
vilaand it may be the last case where we have multiple conflicts for the same file...15:46
pooliealso so we can run more builders15:46
poolieand, also, so other people can co-admin it15:46
pooliei'm setting up usertest again and it would be nice if that was actually driven by jenkins not cron15:46
=== zyga is now known as zyga-food
poolie(perhaps)15:46
poolieoh, also i was remembering that thing at our recent sprint of "i have to wait until i get home to do this"15:47
vilasure, as long we keep the ability to admin it15:47
vilaha, that would be mostly addressed if the sources were public15:48
Riddellwhat is baboun?15:49
pooliei think probably our own machine, but on a server somewhere else15:50
vilaRiddell: http://babune.ladeuil.net:24842/15:50
poolieRiddell: it re-tests bzr on other operating systems than that run by pqm15:50
maxbabentley: Hi, would you be able to offer some comments on bug 796748 when you have a moment?16:00
ubot5Launchpad bug 796748 in Bazaar "TreeTransform canonicalises symlink-containing paths wrongly" [High,Confirmed] https://launchpad.net/bugs/79674816:00
abentleymaxb: what kind of comment are you looking for?16:01
maxbTo start with, a quick sanity check - and maybe an explanation why treetransform is canonicalizing symlinked paths at all16:02
abentleymaxb: paths are canonicalized so that you cannot get two trans_ids for the same path.16:04
maxbIt makes sense to me to canonicalize /./, /../, // etc. - but I'm less convinced about expanding symlinks to their underlying path16:05
abentleymaxb: symlinks themselves should not be transformed to the path they point at.  Files under those symlinks should.16:06
maxbWhy should they?16:06
abentleymaxb: otherwise, you wind up with two references to the same file, and that will break TT.16:06
maxbIn that bug, I've found a situation where the current canonicalization gives the same trans_id to two paths which are actually distinct, and that breaks it too16:07
abentleymaxb: Another way to fix it would be to forbid traversal through symlinks, and perhaps that's what I should have done.16:07
maxbThat sounds like a practical option for fixing this16:08
abentleymaxb: I don't think you've found a situation where the same trans_id has been given to two different paths.16:09
maxbNo, I really have. I hacked in some print statements and observed it16:09
abentleymaxb: A trans-id can only refer to one path in the source tree.16:09
maxbWell, it's *supposed* to, yes. But that got violated16:10
abentleymaxb: It cannot, unless you change the source tree while the TT is active.16:10
abentleymaxb: Which is against the rules.16:10
abentleymaxb: Maybe "paths" is incorrect.  I don't think you've found a situation where the same trans_id has been given to two different files.16:12
maxbOK, that's partially true. There was one trans_id, assigned to two paths, which both led to the same file in the source tree16:13
abentleymaxb: Right.16:13
maxbBut, the intent was to drive the TT to remove the symlink involved, and put two distinct files at the two paths concerned16:13
abentleymaxb: How are you driving it?16:14
maxbvia "bzr import-dsc"16:14
abentleymaxb: without looking at the code, it sounds like a bug in bzr import-dsc.16:15
maxbI'm not really convinced16:16
maxbIf I have this tree:16:17
maxblenny/16:17
abentleymaxb: I'm not either.  But since I don't know what the code is trying to do, I don't know what the bug is.16:17
maxblenny/some-file16:17
maxbsqueeze -> lenny16:17
maxbCan you describe a valid way to drive TT to remove the squeeze symlink, create a squeeze directory, and a file squeeze/some-file ?16:18
abentleymaxb: sure.  This will take a sec.16:18
abentleymaxb: Now, what do you want to do about the original some-file?16:19
maxbfor the sake of this example, let's say we want to update its text content, only16:19
abentleymaxb: so you want to create a new some-file at squeeze/some-file, and update the contents of lenny/some-file?16:20
maxbyes16:20
abentleymaxb: http://pastebin.ubuntu.com/630431/16:24
maxbabentley: OK.... is it considered technically invalid to attempt to create squeeze/some-file in a way involving a call to tt.trans_id_tree_path('squeeze/some-file'), before the squeeze directory is real on disk?16:27
maxbIf so, import-dsc is running afoul of that16:27
abentleymaxb: no.  You can do tree transform operations in any order.  That's part of the design.16:27
maxbAh.16:28
abentleymaxb: However, You cannot create squeeze/some-file at all using trans_id_tree_path.16:28
maxbRight... *that* is the violation going on here, then16:28
abentleymaxb: Because in the tree, squeeze/some-file was lenny/some-file16:28
abentleymaxb: Since you're replacing squeeze with a directory, squeeze/some-file must be a new file, or you must move lenny/some-file.16:29
maxbI'm unclear what you mean by "must be a new file"16:30
maxbOr why moving lenny/some-file should matter16:31
abentleymaxb: by "must be a new file" I mean it must be a file with a new trans-id.16:32
maxbWell, quite. I want it to be. And it would be if trans_id_tree_path didn't follow symlinks16:33
abentleymaxb: No, it would be an existing id in that case, too.  You'd just have two existing ids for trans_id_tree_path, one for squeeze/some-file and one for lenny/some-file.16:35
maxbhmm16:35
abentleymaxb: I think you may not realize that trans_id_tree_path refers to paths in the source tree.16:35
maxbOK, so it sounds like import-dsc is being lazy in how it constructs the TT16:36
abentleymaxb: and therefore nothing you do in the transform should change its output.16:36
abentleymaxb: that seems possible.16:37
maxbAlright, this conversation has clarified that the code in import-dsc was written cutting some corners in how to properly drive TT, and needs an overhaul - thanks.16:37
abentleymaxb: np.16:39
maxb(the same code is present in bzrtools, ftr)16:39
abentleymaxb: Yes, I think I didn't anticipate the problems with replacing a symlink with a file.  Aside from that, using the tree paths seems fine.16:45
abentleymaxb: have you filed a bug on import-dsc or bzrtools?16:53
maxbNo, only the one on bzr, at present16:54
abentleymaxb: what's the project for import-dsc?16:58
maxbbuilddeb16:58
abentleymaxb: I've filed bug #80027016:59
ubot5Launchpad bug 800270 in BzrTools "import-tar incorrectly handles symlinks turned into directories" [Medium,Triaged] https://launchpad.net/bugs/80027016:59
ccxCZis there bzr webinterface that can generate static files as on-push hook, that could be then simply served via webserver?20:01
jelmerccxCZ, there was a bzr-html plugin that did that, though very rudimentary20:02
ccxCZhmm, nicehtml is 404 and htmllog is just commit message log20:06
jelmerccxCZ, what sort of information are you looking for?20:12
ccxCZwell, mostly what loggerhead does, altough it doesn't have to be so fancy-ajaxy20:13
jelmerI don't think there is anything like that (or even close to that).20:16
jelmerMore than just dumping the current contents to disk would also require an insane amount of disk space for any project with a nontrivial amount of history or a non-trivial tree.20:17
jelmerloggerhead IIRC has one page per revision of each file (including markup), and then some20:17
ccxCZhmm, when I do bzr log -n 0 -p on my projects it doesn't go over few megs20:25
ccxCZI think it should be reasonably doable for smaller projects20:25
jelmerccxCZ: That shows the diffs though, not the full file contents (like loggerhead)20:25
ccxCZyes. I expect it would be significantly larger than that, but it gives some estimate20:29
=== yofel_ is now known as yofel
=== medberry is now known as med_out
=== med_out is now known as med
=== med is now known as medberry
maxbHurrah, LP fix is deployed. vila / james_w / spiv : If you happen to be around, requeue_package.py --all-of-type bzr please?23:53

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