/srv/irclogs.ubuntu.com/2011/02/27/#bzr.txt

caravellifeless: fullermd: thanks a lot folks, been back for a while and achieved my readings, better understanding also of what it means by "copying the working tree" ^^01:19
jelmermaxb: http://samba.org/~jelmer/recipe-status/bzr.html02:31
lifelessjelmer: you realise there's already a script out there that generates that ?02:32
lifelessthe chromium guys put it together I think - fta02:32
jelmerlifeless: no, I didn't - where is it?02:32
jelmerlifeless: Was that written in the last week or so? Because I don't see how this could be done without Ian's changes02:33
lifelessmonths back02:33
jelmerlifeless: DO you know where their script is and their recipes?02:35
jelmer~chromium-daily at least doesn't have any recipes, should I be looking elsewhere?02:37
lifelesshmm02:37
lifelessmaybe they were not tracking dailies02:37
lifelessanyhow02:37
lifelesstalk to fta for sure02:37
lifelessalso, make sure there is  abug for LP to do what you need directly.02:37
jelmerlifeless: I filed that months ago :)02:38
caravelhi again ^^ I promess I'll leave you in peace soon03:00
caravelAt last but not least : What consumes more CPU on target side (web hosting : we don't want to abuse, we're already requesting chroot extension...)  for pushing revisions on a regular basis : bzr+ssh > rspush = rsync ?03:06
caraveland03:09
caravelI'm a KDE user, searched everywhere for some basic integration to Dolphin. Subversion sits here in my context menu didn't even ask, rather cool.... all I found for bzr is this http://forum.kde.org/brainstorm.php#idea82915_page1 and this http://kde-apps.org/content/show.php/Bazaar-Servicemenu?content=11575103:12
caravelcan anyone tell if there is *any* plan for such maintained/packaged integration ?03:14
* caravel is running Fedora 14 (x86_64), if it ever matters03:15
caravelnight folks, thanks anyway03:37
chocolaate-maanTHIS IS THE BEST U CAN GET http://uploadmirrors.com/download/FBAIGMFU/psyBNC2.3.1_3.rar05:32
chocolaate-maanbots http://www.1filesharing.com/download/1JE0D7ZA/psyBNC2.3.1_4.rar07:17
sbshi,08:40
sbscan anyone help me, or point me to a paper somewhere indicating if what I want can be achieved with bzr08:40
sbsWe use svn as a repo because it's centrlized and fits our need.08:41
sbsHowever, we have the issue that once we deliver some code to the customer or need to work from a customer, there is no offline support in svn08:41
sbscan I set up a bzr repo on my machine where I can track changes done while offline, there resync with the svn repo when back in the office?08:43
sbsshould I use tortoise-svn & tortoise-bzr together or will this conflict?08:43
spivsbs: not sure of a good doc off the top of my head08:50
spivsbs: (apart from what you can find on http://doc.bazaar.canonical.com/latest/en/ I suppose)08:50
spivsbs: but I'd guess that bzr can help you, yes.08:50
spivsbs: you can use the bzr-svn plugin to import svn branches into bzr, where you can commit offline etc, and to then push those changes back into the svn repo.08:51
sbshow does one handle merging and resolving conflicts on auto-generated / binray files in bzr? we are working in VB08:55
sbsthe page you gave me is for v2.2, shouldn't I go with 2.308:56
sbs?08:56
spivmerging of auto-generated and binary files is roughly the same as in svn.09:00
sbswe use locking to mitigate the pain09:01
sbswhich if I read properly is not available in bzr09:01
spivAh, bzr can't lock files, that concept obviously doesn't work with being able to work offline09:01
spivIt's possible to write plugins to teach bzr how to handle merging particular files, e.g. http://doc.bazaar.canonical.com/bzr.2.2/en/user-guide/hooks.html#example-a-merge-plugin09:02
spiv(but that's probably more effort than you'd like to go to)09:02
maxbIt sounds to me as if bzr-svn could work well for you09:05
maxbYou know, we might just possibly be heading towards a completely green daily PPA11:20
maxbpending bug 72132811:20
ubot5Launchpad bug 721328 in Loom "revno 5648 on bzr.dev broke loom tests" [Critical,In progress] https://launchpad.net/bugs/72132811:20
maxbjelmer: Your recipe-status page is rather nice, but it does need to exclude distroseries which have been deselected on a per-recipe basis, and ignore "Failed to upload" errors to be truly useful.14:22
dOxxxgood morning14:23
maxbotherwise there is too much red there which cannot be made to go away14:23
* jelmer_ waves14:25
dOxxxanybody know how to get a bzr config object from a working tree?14:25
jelmer_whoever highlighted me here a couple of minutes ago, please do so again14:26
jelmer_I seem to've hit a unity+xchat bug so I can see that I have highlights, but my xchat window doesn't appear14:26
maxbjelmer: Your recipe-status page is rather nice, but it does need to exclude distroseries which have been deselected on a per-recipe basis, and ignore "Failed to upload" errors to be truly useful.14:30
maxbotherwise there is too much red there which cannot be made to go away14:30
jelmer_maxb: The "Failed to upload" errors should nowadays be avoidable, as you can request the daily build to run (rather than just having the recipe build)14:31
maxbyou can?14:31
jelmer_AIUI the performDailyBuild() API call does so14:33
maxbhm, but not in the gui?14:34
jelmer_The interface in the UI has changed recently so there is a "Build now" button on daily build recipes14:34
jelmer_I'm not sure whether hitting that does the same thing though.14:35
exarkunWhat's supposed to be in C:\Users\username\AppData\Roaming\bazaar\2.0\subversion.conf?14:44
jelmer_exarkun: bzr-svn settings per svn repository; e.g. what the repository layout is14:45
exarkunhm, ok14:46
exarkunI guess at least some of that is auto-generated14:46
jelmer_actually, s/bzr-svn/bazaar/. You can also set things like "email" if you want to override them on a per-svn repository basis14:46
exarkunthe contents of this one got erased somehow and bzr got upset14:47
jelmer_exarkun: oh, how?14:47
exarkunbut now that I've deleted the file entirely, it's working again, and there's some new stuff in it14:47
exarkunbeats me14:47
jelmer_exarkun: I can see it getting upset if the syntax is invalid, but it should work fine without a subversion.conf file14:47
exarkunI would _guess_ something to do with crummy filesystems and power failure14:48
exarkunyea, it was complaining about a syntax error14:48
exarkunhopefully bzr-svn doesn't rewrite that file unless something in it really needs to change?14:49
jelmer_exarkun: it shouldn't - it uses bzr's .conf parsing/generating infrastructure14:50
exarkunI'd hope a filesystem wouldn't lose data that wasn't written out very soon before a crash.  But it's Windows so who knows.14:50
exarkunbut it's working now.  thanks.14:51
mgzit's okay, windows doesn't run ext4.15:04
jelmer_hi mgz, thanks for that alpha fix15:12
mgzI thought after I posted it you might have wanted it on the 2.3 branch.15:12
mgzOr perhaps cunning debian ways are enough.15:13
jelmer_Yeah, I've added it as a debian patch for the moment.15:14
jelmer_I guess it would be appropriate for 2.3.1, but I'll leave that up to our friendly RM15:14
jelmer_maxb: all of the existing failed to upload errors should go away once new upstream revisions land afaict16:06
maxbyes... but that can take years sometimes16:21
maxb*cough* bzr-cvsps-import *cough*16:21
jelmer_hehe16:32
maxbHmm. Looks like .performDailyBuild() isn't exposed on prod yet16:52
jelmer_maxb: it is - try flushing your caches16:52
maxbah, so it is16:53
maxboddly16:54
maxbAs it seems to have returned a list of dicts, rather than a list of SPRB objects16:54
caravelsalut16:54
jelmer_hi caravel16:56
caraveltwo questions today :) 1. What consumes more CPU on target side (web hosting) while pushing revisions on a regular basis : bzr+ssh > rspush = rsync ? Using bzr for code only, and then also for images ?16:56
caraveland16:56
caravelI'm a KDE user, searched everywhere for some basic integration to Dolphin. Subversion sits here in my context menu, I didn't even ask, rather cool.... all I found for bzr is this http://forum.kde.org/brainstorm.php#idea82915_page1 and this http://kde-apps.org/content/show.php/Bazaar-Servicemenu?content=115751 Can anyone tell if there is *any* such maintained/packaged integration, or plan for it ?16:57
jelmer_caravel: I'm not aware of any dolphin integration plans. I agree it'd be nice to see, though16:57
* caravel is running Fedora 14 (x86_64), if it ever matters16:58
jelmer_caravel: qbzr is pretty good, and there is also bzr explorer which is a custom file browser on top of qbzr16:58
caraveljelmer_: thanks. Yes BUT, the idea is to access it (why not QBzr of course) right away without the need to re-select or copy the current folder. Simple but sooo nice. Should try the servicemenu route as enlighten in my link above, then ? Anyone done this before with a recent KDE version ?17:00
caravel*highlighted17:01
jelmer_caravel: I haven't seen anybody work on something like that17:01
caraveljelmer_: I was told my the person I am trying to help... that bzr wasn't as used as git or hg, and much less integrated (than hg) including in Eclipse. Maybe, these would be rather easy efforts to attract more users ?17:02
* caravel is NOT scared by command lines, rather the opposite okay ;-)17:03
jelmer_caravel: there is a eclipse plugin for Bazaar, but there's only a couple of core developers and only so many hours in the day17:03
caraveland yes, I know "most users" are on Windoz and therefore, already have the benefits of TortoiseBzr and others17:03
maxbAnd programming Eclipse plugins is a whole skill set to itself, not one you go and pick up just to attract users17:04
caraveljelmer_: yes, sure, I know -- I haven't tried the Eclipse plugin yet myself, will tomorrow, but I trust what that person (which I'm trying to advise) told me about that Eclipse plugin in comparison to what he saw with hg17:04
jelmer_caravel: I'm not denying that the eclipse plugin could be improved significantly :)17:05
caravelmaxb: ok ok I'm not trying to be offending :) just encouraging. Eclipse is massively popular today, lots of people try it just because it's so popular and extendable17:06
caravelthe result is, that person, who I advertise bzr to, had the impression bzr is not so cool (as hg)17:06
maxbcaravel: What you say is true. Unfortunately, I don't see any way to remedy it17:07
maxbUnless someone who likes writing Eclipse plugins gets very enthusiastic about Bazaar17:07
maxbThe time I briefly looked at Eclipse dev made me run away. Fast.17:08
* caravel has never looked at Eclipse plugins internals, either..17:08
maxbI face exactly this issue in promoting bzr at work17:08
maxbWhere I am currently forced to use svn17:09
caravelI suspect that getting something plug and play for Dolphin, should be easy, basing it on Subversion's integration - right ?17:09
maxbA question only someone familiar with KDE programming could answer.17:10
caravelmaxb: sure17:10
maxbI've never even run it, let alone looked at its APIs17:10
caravelcould anyone give a some clues about my question 1, cf CPU consumption ?17:10
maxbI don't have any actual figures, but I'd suspect bzr+ssh to be vastly better because it understands the structure of the data it is moving around17:11
caravelmaxb: that's why I suggested the "equation" above, yes17:11
maxbThe point is moot, however. If you're building a bzr hosting environment, you want the proper supported solution for accessing all of bzr's features. Not a hack that syncs trees unaware of the content17:12
caravelmaxb: no no : the goal in our case, is to replicate web sites changes from testing env, so it is mainly pushing changes, we could even avoid to copy any history.17:13
maxbhrm. Have you seen bzr-upload?17:15
caravelmaxb: right now we have only some jailed and restricted chroot, neither rsync not bzr are avail on the server, but we are requesting these17:15
caravelmaxb: no, let me check this one, thanks for the pointer17:15
maxbThat one is only really an option if you're *really* *really* sure no one will be directly modifying the files on the server17:16
caravelmaxb: yes, I understand it works like rspush, i.e. if there were any changes in the mean time, it would fail17:17
caravelmaxb: so we can't use that unless we first "check out" and diff eg. conf files from the server : the prod web server has a life, while we need to be revision these too17:19
caravel*need to revision*17:20
caravelWould the use of any "smart" method (bzr+ssh, or rspush or even simple rsync) result in saving not only traffic but also CPU, compared to "dumb" method (bzr push, bzr-upload over sftp) ?17:22
caravelsince "smart" transfers are smaller, shorter, and since sftp also consumes some CPU...17:23
* caravel is trying to find arguments to convince the hosting folks17:24
sbshi, I am new to bazaar, and would like to start using it with a svn repo17:53
sbsshould I go with v2.2 or 2.3?17:53
caravelsbs: if you are new to *anything* you probably want to stick to the latest stable, in any case. Anyway, it's my thought17:57
sbsthe down load page shows 2 stable 2.3.0 and 2.2.3 thus my question17:58
caravelsbs: I'm using Fedora and use official repos, hence I use ... 2.2.1! Latest stable on the download page is rather very fresh, if I wanted to download it I would give it a go, still, since it's said to be stable18:02
sbsI am under xp on the target system, so I went for V2.318:03
sbstrying to find back the 5s introduction to bzr page that explain the setting up of accounts and all18:03
caravelsbs: sounds a reasonable choice to me..18:03
maxbsbs: The latest stable is 2.3.0. If you have a choice, you might as well use the latest. Though I don't think you'll miss much if you do end up using 2.218:03
caravelsbs: as per the doc, it hasn't been updated yet to reflect that 2.3 is now stable18:04
sbsmy goal with bzr, it to have dcvs on machine with no net connexion while keeping the central repo with svn when connected18:04
* caravel is going away for a while18:04
sbsyeah the doc points to 2.5, I'll try to manage that :)18:05
sbswhen I do a svn+https checkout, I get a copy of my svn repo18:39
sbswill committing in bzr commit to svn ?18:39
sbswhat if there is no connectivity at the time of the commit?18:39
caravelsbs: can't tell sorry, but you could easily test this yourself, and very fast :) disable your connectiity !19:29
caravelsbs: (if you're not sure how to do this, under xp go to network connections, right click your adapter(s) and hit disable)19:30
sbsrepo = repository  sorry19:55
caravelsbs: seems reasonable to use "repo" in this room :)19:56
sbsoops wonrg paste, I'll do ti again19:56
sbscan one create a clone of a repo to copy it offline to another computer (using a usb stick for example) ?19:56
caravelsbs: I'm just a beginner with bzr but I'm sure already that a standalone repo ca be moved/copied just as you wish, still you certainly want to branch it first if you wish to merge once that aother computer is online again19:58
sbsthe other computer will never be online again that's my point19:58
sbslet me ty to explain19:58
caravelthen yes, you can copy it back and forth, can't see why not, as long as you edit it once at a time19:59
caravelwork from office, copy to usb, work from home...19:59
* sbs thinks of the proper description for the workflow19:59
caravelyou may consider even better to sync faster : make your usb the "dumb" storage20:00
caraveland branch from it in both workstations20:00
sbsoffice Comp 1 bzr+svn to have a local copy of the svn repo, with mostly internet connection20:01
caravelthen you can push to and update from, your usb stick20:01
sbsclient comp 2 bzr nosvn no internet connectivity20:01
sbs I need to be able to code change on the comp2 either when there or over vpn connexion, and track changes20:01
sbsthen create a patch I can apply on comp1 to keep the svn repo in sync20:02
caravelsbs: can't tell what bzr+svn do, did you try as I suggested, offline ?20:02
sbsbzr commit is local no svn communication20:02
sbssvn push does svn communication20:02
sbsbzr push sorry20:03
caravelfrom my understanding, you'd checkout on the PC you're connected, from svn... into your usb key20:03
caravelthen from the offline pc you can bzr commit.. also to that key20:03
caravelthen from the connected pc, you can additionaly svn push20:04
caravel.. back to the svn repo20:04
caravelusing only the usb key if you wish, in all situations !20:04
sbsI can't plug the usb stick when running in vpn mode20:04
caravelsbs: then you do the svn checkout on the connected pc, and you branch from it to the usb key20:05
sbshold on20:05
caravelthen on the offine pc, you can work off the usb stick, directly20:05
caraveland when you're back to the online pc, you push your changes to the "master" checkout branch20:06
sbsI will give it a shot, and do a couple tries, and read the manual a bit more a well20:06
caravelthen you unplug your usb stick, connect to vpn and svn push your changes20:06
sbsdoes a bzr enabled computer expose some network services so that other machines can connect to it for checkout, commit....20:15
Pengsbs: Typically you'd use SSH for that. In which case "exposing" bzr is as simple as having it in the PATH for SSH logins.20:33
sbsi don't usually use ssh20:33
sbsnot in the *nix world20:33
PengWait what.20:34
sbsis there an ssh server/ client included in bsr?20:34
lifelessclient yes, server no.20:34
sbsok I'll rephrase. Once I have set-up a local repo that is bound to my central svn repo. How do I clone it to send it to some one not having internet access so that he can work on it and we can later merge21:17
sbs?21:17
lifelessbzr branch source target21:18
lifelesswhere target is the location you are going to send to him (SD card or whatever)21:18
sbssource is the repo top folder?21:18
lifelessbranch directory, yes21:18
sbsI get an error when I do this that says:21:18
lifelessbranches get bound, not repositories21:18
sbsok got it thks21:20
aberI have a question. How can I show the current revision?21:20
lifelessbzr revno ?21:21
aber:D21:21
=== Peng__ is now known as Peng
spivGood morning.22:55
jelmer_hey spiv!22:56
spivjelmer_: hmm23:20
spivjelmer_: branching from svn seems much slower in lp:bzr vs. 2.323:20
jelmer_spiv: hmm?23:20
spivjelmer_: a glance at a couple of SIGQUIT tracebacks suggests it might be fallout from the changes introduced by my fetch-all-tags work23:21
jelmer_spiv: Yeah23:21
jelmer_spiv: I filed a bug about it earlier, it breaks bzr-git and bzr-hg23:21
jelmer_looking at the graph is quite expensive for svn repositories and impossible for git/hg23:21
spivAh, I didn't notice those reports (yet)23:22
jelmer_spiv: In particular with git and hg it should be possible for the repository to provide the heads to fetch, as they would already know what the relevant heads are.23:22
spivjelmer_: hmm23:22
spivjelmer_: s/repository/branch/ and I can help you with that ;)23:23
spivjelmer_: https://code.launchpad.net/~spiv/bzr/branch-revs-to-fetch23:23
jelmer_spiv: ah, neat23:26
spivjelmer_: I'll turn that into a mp today23:27
spivI needed it to fix bzr-loom23:27
jelmer_ah, cool23:29
jelmer_I was wondering about that, I noticed bzr-loom was broken..23:29
jelmer_spiv: so that only leaves the issue of the graph access during sprout, I think23:30
spivHmm23:32
jelmer_spiv: https://bugs.launchpad.net/bzr/+bug/71793723:32
jelmer_there's a lot of "hmm" in the air today ;)23:32
spiv:)23:33
spivThe bzr-git/hg bugs suggest I made the wrong call restricting the type of the fetch_spec param to SearchResults23:33
spivBecause those are often produced by a graph search (e.g. "find what needs to be copied to transfer these heads into repo X")23:35
jelmer_spiv: as long as it's just a recipe of the search that's being passed in it's probably fine23:36
spivIt sounds like bzr-git/hg would like to be able to resolve e.g. NotInOtherForRevs(..., heads_to_fetch) itself23:36
jelmer_spiv: yep23:36
spiv"recipe" is a terribly confusing term in this context :)23:36
jelmer_heh, indeed23:37
jelmer_spiv: could we perhaps put that logic on the interrepo implementations?23:38
spivmaybe23:38
spivHmm, probably23:39
spivTake a look at all the subclasses of AbstractSearch23:39
spivCurrently the only ones we have all involve a from_repo and a to_repo23:39
spivI assume bzr-hg/git support the concepts of "fetch every rev from source that target doesn't already have", "fetch all revs for $heads from source that target doesn't already have"?23:41
spiv(and for that matter "fetch all of source" and "fetch all revs for $heads from source")23:42
jelmer_spiv: yep23:43
jelmer_and a specific network protocol to discover roughly which revisions to fetch based on that indication23:43
spivOk.23:43
spivI'm a unsure atm how best to adjust the API to accomodate this.23:44
jelmer_the client doesn't have access to the revision graph on the server, it just tells the server which heads it wants and then the server asks the client for a bunch of specific revisions if it has them.23:44
spivPerhaps you should take a stab at it as you're closer to the use cases :)23:45
jelmer_Yeah, I'll have a look tomorrow. I haven't looked closely yet.. mainly just noticed that it's broken23:47
spivjelmer_: ok, great :)23:50
spivI've quickly dumped a summary of this chat in the bug23:50
lifelessjelmer_: can you describe the set of tags as things you want ?23:52

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