/srv/irclogs.ubuntu.com/2011/11/25/#bzr.txt

jelmerKombuchaKip: I think that would have to be a part of it00:15
KombuchaKipjelmer: So basically poor poolie's got his work cut out for him.00:16
jelmerKombuchaKip: heh00:18
jelmerKombuchaKip: weren't you volunteering to do the work ? ;-)00:18
KombuchaKipjelmer: Hey man, happy to test it when he's got it written ;)00:19
jelmerKombuchaKip: :)00:43
jelmerspiv: I do actually wonder if a bzr background daemon would be a good idea00:44
spivjelmer: it's a really nice idea in principle00:45
jelmerapart from automatically updating the dirstate on inotify changes it could take e.g. care of caching some of the data for nautilus-bzr and providing that00:45
spivjelmer: in practice I think it'll be a bit tricky because I doubt the way the OS observes and reports filesystem changes is trivial to map cleanly to what the user thinks they're doing00:46
jelmerspiv: right, you wouldn't want to actually track the nasty stuff word does to its files..00:46
fullermdWith a shotgun, maybe   ;p00:47
spivjelmer: e.g. you'd want to deal nicely with apps that do "save" as "write to tmp dot file, atomic rename over new file", vs. "open existing file for write, write new contents (and maybe truncate?)", and goodness knows what other variationss00:47
spivjelmer: I think it's probably tractable, at least for the majority of important cases00:48
jelmerspiv: thfair enough00:48
spivSo long as you don't want to try to do something like "auto-commit on every write", anyway00:48
spivWhich really wants to be an app-level hook, not OS level, for this sort of reason.00:49
spivBut for tracking renames, deletes, and *maybe* some kinds of adds, it seems like it could work.00:49
spiv(And potentially for tracking "hey this file has changed, you can assume it's dirstate info is stale now" for optimisation purposes, not sure that's really worth it though)00:50
jelmerspiv: yeah, thatÅÅ's the bit I was wondering about. it might have a significant impact in big trees00:58
mwhudsonautocommit on every write would be shotgun inspiring01:01
jelmerIIRC the webdav support in mod_dav_svn can do that for you01:02
mwhudsonyes01:04
mwhudsonit was fairly shotgun inspiring, iirc :)01:04
mwhudsonwell, under some circs anyway01:05
spivmwhudson: ISTR at least one emacs user on the list saying they have it hooked up to do that01:09
spivmwhudson: and then they like to rebase -i or some other lossy operation to turn that into a pretty history later.01:10
mwhudsonspiv: gosh01:10
spivI can sort of see the appeal, even if I wouldn't do that myself :)01:10
spivIt's certainly an intriguing way to think about revision control01:11
spivWhy shouldn't the scope of your revision control tool include your individual saves, or even individual edits?01:11
spiv(And if it does, what should the UI look like?)01:12
spivIt certainly makes the difference between "record what I did" and "publish intelligible changes" a bit more important to describe01:13
spivI think to an extent the fact it's currently easy to assume that "what I did" is so close to "what I want to share with others" does encourage the mindset that a little bit of rebasing to go from the former to the latter is the obvious thing to do.01:16
=== r0bby is now known as robbyoconnor
slangasekvila: bug #884270> well, I don't currently have any branches needing merging :)02:39
ubot5Launchpad bug 884270 in Ubuntu Distributed Development "bzr should do smarter merging of .po files" [High,In progress] https://launchpad.net/bugs/88427002:39
pooliehey slangasek02:39
pooliehe'll be asleep02:39
pooliehe oughta anyhow02:39
fullermdWell, he says that about _me_ all the time...02:40
slangasekyes, he pinged me when I was asleep, so :)02:41
pooliespiv could you look over https://code.launchpad.net/~mbp/loggerhead/240580-tarball/+merge/83364 ?02:49
spivpoolie: seems ok at a glance, I'd be concerned about memory consumption but I see that's already a known issue03:02
poolieyeah03:09
poolieit makes some efforts to only stream things and not hold the whole tarball in memory03:09
pooliei think streaming individual files is out of scope for this03:09
poolieand indeed something i plan to go back to right after landing it-03:09
spmif we have a lightweight checkout; is the proper method of resyncing that back to it's master (basically we only have a readonly copy); simply to delete and re-check?04:53
fullermdWhy do you need to resync?04:55
spmthis is part of an automated rollout/update script; so ensuring it's up to date04:57
fullermdSounds more like a call for update then.04:57
spmgnngh. I thought i tried that and it barfed on me.04:58
spmno, I did a bzr pull.04:58
spmthat failed.04:58
fullermdYeah, that would very probably not be what you want  ;p04:59
spmdo what i mean, not what I ask04:59
spm:-)04:59
fullermdI think darcs can do that.  It takes a few months though.04:59
spmright, that works much cleaner. ta fullermd05:01
fullermdOxygen consumption for the day: justified!05:01
spmheh05:01
poolietwo screenfulls of active reviews!06:29
pooliehi vila?08:29
vilapoolie: hey ! (sry, forgot to say hi)08:29
poolienp :)08:30
pooliehi jam?09:07
jamhi poolie09:07
poolievila, would you mind trying to help https://answers.launchpad.net/bzr/+question/17959409:45
mgzmorning all.09:46
pooliehi mgz09:47
vilapoolie: meh, I don't understand what the question is there ;)09:48
vilamgz: _o/09:49
pooliewell, that's why i'm finding it hard to deaol with it at 9pm friday09:49
poolie:)09:49
viladeaol == deal + eod, a sure sign you need to go enjoy your week-end ! ;-D09:54
vila(that was a gracious tip from a tyop expert ;)09:55
pooliejelmer, hi, it would be nice to do a followup that removes some copypaste from the hpss code10:38
jelmerhi poolie10:39
jelmerpoolie: which copypaste specifically, just the catching of UnknownSmartMethod, followed by _ensure_real call, etc ?10:39
poolieyes, that sort of thing10:40
poolienot necessarily all of them at once10:40
poolieit just does seem pretty duplicative10:40
mgzwas going to bug jelmer a bit about that in our review blitz today,10:40
mgzyou've already done a good job on the queue overnight though poolie :)10:41
pooliethanks10:41
pooliei thought i ought to10:41
jelmerpoolie: yes, thanks very much for the reviews10:41
pooliealso, the unconscionably long delayed download tarball patch from xaav is going to be live soon10:41
jelmerpoolie: I'll see if I can add a decorator10:41
pooliesomething like thta10:41
mgzthe other thing I wonder about with the hpss changes if we want to start wrapping everything useful, rather than aiming at a curated subset, doesn't that take it all the way to a general RPC interface?10:45
mgznot that I'm sure the reduced surface area is very helpful currently, it's pretty trivial to dos a smart server10:45
spivIn the ideal world, I think we'd have relatively few RPCs, but ones that are powerful enough to efficiently satisfy all the needs10:46
mgzbut it seems like the boilerplate isn't of much benefit right now.10:46
mgzspiv: that's my general feeling as well, but we don't seem very near that.10:46
spive.g. rather than get_revisions, it would be nice if that were somehow expressed as get_stream10:46
spiv(Or get_record_stream, whatever it is called)10:47
poolieok, that's enough for today10:48
spivWhich is in one sense not really any different (what's the real difference between one more RPC and more kind of value for get_stream's argument?)10:48
pooliegood night all10:48
mgznight poolie!10:48
spivGood night!10:48
spivBut it feels a bit better to me, somehow10:48
spivEspecially as there's the potential to e.g. have iter_inventories reuse the same stuff10:49
spivOne thing that would help would be to make bzrlib's own internal APIs for the basic objects (Repository, Branch, perhaps a few others) narrower, or at least built on a narrow subset10:50
spivAnother instance was the bug about maybe adding RPCs to accelerate CommitBuilder.  Again I think in a perfect world that would be built on this hypothetical subset10:52
spiv(But that's a case I haven't looked at closely at all, so that's just an intuition rather than a carefully considered opinion.)10:53
mgznarrow and clearly defined interfaces conflicts with the recent history of feature additions, though10:54
spivWell, in the case of repository (a relatively easy case), what does it really need apart from locking, get_parent_map (and maybe a few other rev graph primitives?) and get_record_stream (with a sufficiently flexible way to describe which stream you need)?10:56
spivAnd initialize and maybe config, I guess.10:57
spivOh, and insert_record_stream, of course :)10:57
spivBranch I suppose adds config (including nick), tags, its intrinsic state (last revision info)10:59
spivYou need some way to either ask Branch to look up revids/revnos w.r.t. to its ancestry, or to ask a Repo to do that w.r.t. to that particular Branch's ancestry.10:59
spiv(e.g. to resolve a dotted revno to revid and vice versa)11:00
mgzhm, so get_signature_text and set_signature_text would instead use stream with params to say which repo bits they wanted?11:00
spivmgz: right!11:00
spivAnd there's possibly some special cases to reduce round trips11:00
spiv(e.g. ideally we could initialize a branch+repo+bzrdir, and have it all write-locked ready for insert_record_stream etc, in one RPC)11:01
spivmgz: in fact, set_signature_text almost certainly could and should use insert_record_stream today11:01
* spiv -> afk11:02
mgzon the future feature front, a git-annex-y interface to repo would be neat11:04
jelmerspiv: sorry, was off getting some groceries11:07
jelmerspiv: thanks for your thoughts :)11:07
jelmermgz: what do you mean with a git-annex-y interface exactly?11:08
mgzjelmer: a way for people to keep big files that can't be usefully versioned along with their repos11:12
mgzhowever slimlined bzr makes storing uncompressable, unmergable blobs, you'll never want the entire history of a video render copied around with the rest of the branch11:16
mgzwithout a certain amount of manual what lives where control like git-annex has, there's no way to satisfy the opposing needs11:18
=== yofel_ is now known as yofel
jelmermgz: still up for some peer-reviewing today?11:28
jelmerI'm not sure if there is actually much left11:28
jelmerah, John's client-reconnect work11:28
mgzyeah, there are a few bits, and I especially got a headset thingy yesterday too,11:30
mgzso that needs testing out :)11:30
jelmerheh11:30
* jelmer stumbles onto mumble11:30
jelmerbzr: ERROR: Permission denied: "/root/foo/.bzr/branch-format": [Errno 13] Keine Berechtigung: u'/root/foo/.bzr/branch-format'11:40
mgzthat's a german error without any non-ascii charas11:44
jelmerbzr: ERROR: Permission denied: "/root/ë/.bzr/branch-format": [Errno 13] Keine Berechtigung: u'/root/\xeb/.bzr/branch-format'11:45
mgzI think german is less non-ascii-ish than many other languages11:46
mgz'Keine Berechtigung' needs a sharp-s or something to tickle it11:46
mgz...did you type A-tilde, left arrows or is that a decode bug as well?11:47
jelmerNo, I typed an e-umlaut11:47
jelmermgz: http://pad.lv/89444214:08
ubot5Launchpad bug 894442 in Launchpad itself "Dynamic bug listings are too sparse" [High,Triaged]14:08
mgzright, I'm going to grab some food14:43
jelmerfood, now there's an idea14:44
mgzI realised I was actually really hungry, and it's nearly 3 :)14:45
jelmeryeah, it's nearly 4 here and I haven't had lunch..14:50
mgzall fooded up.15:48
jelmer\o/15:49
mterryHey bzr+Ubuntu folks!  You need to file a MIR for subunit in Ubuntu.  Your latest uploads are blocking on building until python-subunit enters main16:34
mterryI'll review after you file.  Just ping me16:35
vilamterry: huh ? When did python-subunit *left* main ?16:38
mterryvila, I don't believe it's ever been in it16:38
vilamterry: I'm not the one doing the uploads but I remember the MIR have been filed releases ago16:38
mterryhttps://launchpad.net/ubuntu/+source/subunit16:38
vilapython-subunit and subunit are different iiuc16:39
mterryvila, subunit is the source package16:39
mterryvila, but I see what you are talking about: https://bugs.launchpad.net/ubuntu/+source/subunit/+bug/78076716:39
ubot5Ubuntu bug 780767 in subunit (Ubuntu) "[MIR] subunit" [Undecided,Fix released]16:39
vilajelmer: ^ ?16:39
vilaha, jelmer knows already then16:40
jelmervila: hi16:40
jelmermterry: hi16:40
mterryyup, left comment and changed bug status16:40
mterryvila, thanks16:41
vilamterry: thanks for raising the issue16:41
jelmermterry: somebody in #ubuntu-devel mentioned that the promotion to main wouldn't actually happen until somebody in main (or seed) depended on it16:41
mterryjelmer, well that's the case now  :)16:42
mterryjelmer, or are you saying that it has been promoted but won't "show up" until it's seeded?16:42
mterrywhatever, it'll sort itself out now one way or the other16:43
jelmermterry: that's my understanding (and why I uploaded with this dependency, despite the fact that subunit wasn't in main yet)16:43
jelmermterry: that's great, thanks :-)16:43
mgzvila: do you want to look at jam's client reconnection branch again, or are you okay with us trying to land it now?17:38
vilamgz: I'm ok with you ;-)17:38
mgz...there are various fun conflicts to resolve first, but jelmer is having a conflict day already17:45
lamalexlifeless, is there any sort of glib runner for testtools?17:48
lamalexi started working on one but vaguely remember thumper mentioning one existed in some form17:48
lamalexjml, ^^^17:53
jmllamalex: there's tribunal17:53
jmllamalex: testtools is runner-agnostic though, you can use whatever works with standard unittest17:54
cr3hi folks, I'm trying to import bzrlib.plugins.loom.branch on lucid and I get: ImportError: No module named loom.branch.17:59
cr3I'm using the bzr ppa and I should have the latest updates: http://pastebin.ubuntu.com/749515/17:59
mgzcr3: from outside the context of bzrlib?18:03
mgzyou'd need to call bzrlib.plugin.load_plugins() first to get the import paths right.18:04
cr3mgz: thanks, that worked swimingly18:05

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