/srv/irclogs.ubuntu.com/2009/11/05/#bzr.txt

cr3how can I create a branch from a previous revision? I tried bzr revert -r### and then bzr push'ing that code, but the pushed code contain the same as the trunk00:26
pooliecr3: bzr branch -r1234 . ../other00:28
poolieigc, do you think we still want the non-sphinx doc builds?00:28
pooliei'm working on this atm00:28
cr3poolie: excellent, thanks!00:31
lifelesscr3: if you want to push something somewhere, push -r xyz URL00:32
poolieigc: sphinx build seems to be passing in the chroot now00:44
poolieoutput not copied yet00:44
pooliethwack- well up to the point of wanting pdflatex00:44
igcpoolie: I don't see a need for non-sphinx builds00:55
pooliek00:56
meoblast001would it be hard for me to modify bazaar to only let me uncommit twice daily?00:58
lifelessnot at all00:59
lifelesswrite a plugin, decorate the command00:59
meoblast001lifeless: ok, i need to make it hard for me to find a way around it01:00
meoblast001i'm struggling with a mental condition01:00
meoblast001and after reading an article, i figured out that i need to limit how many times i can repeat operations in order to fix the condition01:01
=== oubiwann_ is now known as oubiwann
maredzekhi i have a very basic question, i would like to use bzr for managing my symofny project, it is now on local, i want to push it to my sftp server, do i have to do anything on my server? like installing bazaar?01:06
jelmermaredzek: to push using sftp you just need a sftp-capable ssh server01:07
jelmermaredzek: no bzr server is necessary on the server side01:07
maredzekok i have one, i used:01:08
maredzekarek@marek-laptop:/var/www/fakt$ bzr push --create-prefix sftp://admin@91.121.177.88/var/www/ble --use-existing-dir01:08
maredzekbut apart from .bzr dir i cannot see anthing in /var/www/ble....01:08
jelmermaredzek: it will just create a branch, not a working tree01:09
* maxb wonders if anyone else has used bzr qlog on branches with 10000 revisions before01:09
jelmermaredzek: yes01:09
maxbIt appears to trim revnos to 4 digits :-)01:09
jelmers/maredzek/maxb/01:09
jelmermaxb: IIRC there is an open bug about that01:09
maredzekhow can i upload "working tree"?01:10
jelmermaredzek: you can either run 'bzr co' on the remote side (will create a working tree, but required bzr to be installed)01:10
jelmermaredzek: or you can avoid push and use the 'bzr-upload' plugin01:10
jelmermaredzek: that will just upload the contents, not any of the history01:10
spivmaredzek: if you want just the tree and not the history, e.g. to publish a website, then the bzr-upload plugin jelmer mentions is probably a better fit01:10
maredzekok, so if i will have 3 people working on this project, it is better to use bazaar on remote side?01:11
maredzekwhat will happen if:01:13
maredzekthere is a file action.class.php already on sftp server, commited with bzr-upload01:13
maredzekthen devA adds two funstions in this file and uploads01:14
* maxb can't find a qbzr bug for that01:14
maredzekhwo devB coulc know that somebody modified that file?01:14
maredzekok, dont answer that01:14
maredzeki would like to have smth like my launchapd01:15
maredzeki have to isntall bzr on server01:15
maredzekand init projects01:15
maredzekand also i need to install bzr on clients01:15
maredzekand checkout and commit from them right?01:15
maredzekhow can i install bazar upload?01:19
spivmaredzek: if you are using ubuntu, you can just apt-get install bzr-upload01:21
spivmaredzek: http://doc.bazaar-vcs.org/test/en/user-guide/plugins.html01:22
maredzekok so my quewstion, how should i use bazaar if i have a couple of developers, working now remotely on clients server01:26
poolieigc: ok i think it's all running aside from pdf generation which is waiting on a gsa01:40
pooliemaredzek: http://doc.bazaar-vcs.org/latest/en/user-guide/index.html01:41
poolieigc, i'm going out to run an errand and then will look for breakage (which likely exists) when i get back01:41
pooliepdfs are rt 36401 btw01:42
meoblast001lifeless: is it possible to completely remove the uncommit feature from bazaar?02:20
meoblast001as long as repeating things is possible, i'll be stuck in an infinite loop02:20
lifelessmeoblast001: sure, a plugin could do that02:21
meoblast001lifeless: i need something that is very hard to disable02:21
meoblast001i'm fighting myself here, so i need to outsmart myself02:21
lifelessmeoblast001: sorry, can't really help you there - seriously.02:21
meoblast001i'll try to find something out02:22
lifelessbzr --no-plugins will disable plugins02:22
lifelessapt-get install will restore a base bzr with the feature present02:22
meoblast001lifeless: maybe i just need to see a psychologist or suck it up and figure things out myself02:24
spivmeoblast001: maybe something less drastic than total removal would help, e.g. make uncommit trigger an annoying buzz sound?02:28
spivmeoblast001: anyhow, writing a plugin is probably going to be the best way to do any of these options.02:29
meoblast001spiv: that won't work02:29
meoblast001i'm trying to fight OCD (repetitive things) and it can get very bad02:29
meoblast001luckily i don't have a severe case, some people do things for hours on end02:29
meoblast001i can just sit uncommitting and recommitting multiple times until i have to hit myself02:30
meoblast001but a buzzing sound won't stop me02:30
lifelessmeoblast001: so, if I thought I had something wrong with me, I'd go see a doctor ;)02:30
meoblast001i need to make it impossible02:30
meoblast001lifeless: but you're not a dependent02:30
maredzeki dont completely understand Distributed development02:47
maredzekcan you confirm is it corrct?02:48
maredzek1. on main server02:48
spivmaredzek: in the user guide?02:48
maredzekspiv - yup:02:48
maredzek1. on main server - i create bzr with init02:48
maredzekadd and commit02:48
maredzekright?02:48
spivmaredzek: it doesn't really matter how you create the branch on the server02:49
maredzekok, so next02:49
spivmaredzek: it's probably simplest to create it locally and then 'bzr push' it to the server02:49
maredzekok02:49
maredzekbut when i push to server - server needs to have bzr right?02:50
spivmaredzek: nope02:50
spivmaredzek: you can use plain SFTP, for instance.02:50
maredzekok but when i tried to push files from my machine to my server, only .bzr folder was created02:51
maredzekno files were pushed02:51
spivRight.02:51
maredzekand i need to use uplaod plugin02:51
maredzekso if i create file slocally and push to server, i will have no files in it - right?02:52
spivBecause 'bzr push' pushes a branch, which is a line of development.  But it sounds like you want/need the tree of files on the server.02:52
maredzekhmmm02:52
maredzeki'm starting to understand02:53
spivOperations to do with branches and operations to do with trees of files are mostly separate things.02:53
maredzekso i will have 3 developers02:53
maredzekthey will work on php framework - symfony02:53
maredzekthey will have thoose installed locally02:53
spivSome operations involve both, e.g. "bzr commit" takes the current tree and records that as a new version on a branch.  But mostly they are separate concepts.02:53
maredzekso tell me, how files will travel between developers?02:54
maredzekvia central server?02:54
maredzekor directly between devs?02:54
spivFor you, I think you perhaps want to think about "commit and share changes" as being not necessarily the same as "deploy changes to live web site"02:54
maredzeki was thinking about this kind of architecture02:55
maredzek3 devs (bzr) -> central repo (bzr) -> live web serwer (no bzr)02:55
spivSounds reasonable.02:55
maredzeklast arrow - only from time to time02:56
maredzeklike after completeing milestone02:56
spivRight.02:56
spivYou could use the bzr-upload plugin for that (it can work over SFTP I believe).02:56
maredzekupload plugin for last arrow right?02:56
spivOr you could have a developer do a "bzr export" to get a tree and then rsync it.02:57
spivRight.02:57
maredzekok, so dev1 wil lcreate new module02:57
maredzektest it, change files02:57
maredzeklocally02:57
lifelessspiv: upload works over sftp02:57
maredzekand he would commit changes locally02:58
maredzekand see if his work works :)02:58
spivmaredzek: that's an important step :)02:58
maredzekcan this be automated?02:59
spivwhich part(s)?02:59
maredzekdev1 adds 3 lines to class.php02:59
maredzeksaves file in his editor03:00
maredzekwe have to commit it manually on his local repo?03:00
maredzekok so he will, he does 5 or more tasks from this module03:01
maredzekand wants to upload that data to central repo03:01
maredzekhow it is done03:01
maredzekupload dont saves revision history right?03:01
maredzekpush will do spiv?03:02
spivRight, push updates (or creates) a copy of the branch.03:03
maredzekso command will ok like:03:04
maredzekbzr push --create-prefix sftp://your.name@example.com/~/public_html/my03:06
spivSure.03:07
maredzekok so why after this push i can see no files in central server?03:09
maredzekthats is the part i dont understand :)03:09
bob2it updates the branch data03:09
bob2not the working copy03:09
bob2there's an update-after-push plugin that does that03:09
maredzekif i install this plugin, will it upload all files or only modified ones?03:10
bob2I think it just does 'bzr up' on the remote side03:11
bob2so neither - it'll get updates from the remote branch03:11
maredzekremote branch = central server?03:11
cody-somervilleIf I have a binded branch that I've made local commits to, my understanding is that I should be able to do a normal commit to have everything uploaded. Is this correct?03:15
cody-somervilleBecause I'm trying this with bzr 2.0.2 and it isn't working. It says I have to run bzr update first which last time caused all sorts of incorrect conflicts.03:15
bob2maredzek: = whatever you push to03:15
bob2cody-somerville: if it is bound and you made commits, they're already "uploaded"03:16
cody-somervillebob2, I made local commits03:16
spivmaredzek: People can "bzr branch", "bzr pull" etc from the place you "bzr push" to.03:16
cody-somervillebob2, ie. bzr commit --local03:16
spivcody-somerville: to minimise issues with local commits, make sure you have no uncommitted changes before updating.03:16
bob2cody-somerville: then you need to catch up to the remote branch before you can 'push' to it03:17
bob2up on a bound branch with missing commits should probably bail if you have uncommited changes03:17
cody-somervilleI am up to date.03:18
cody-somervilleI'm ahead03:18
maredzekspiv, so devs are push-ing to central server, and also pull-ing  from central server, right?03:18
bob2or bound branches could go away03:18
lifelesscody-somerville: if you're ahead just push to the master03:18
spivmaredzek: right.03:18
cody-somervillelifeless, shouldn't bzr commit do that automagically?03:19
cody-somervillethats what bzr help commit advertises it will do03:19
maredzekspiv, so i pushed to central server not files, but information about what i changed, right?03:19
spivmaredzek: the complete record of what you have changed, from which the files can be reconstructed by bzr, e.g when someone does "bzr branch" of that location03:20
lifelesscody-somerville: it will unless you committed offline03:20
cody-somervillespiv, okay, thanks for that. made another local commit and ran bzr update. However, now all my commits are "rebased" (they show up as a pending merge).03:20
lifelesscody-somerville: which is the only possible way to get ahead of the master03:20
cody-somerville  --local               Perform a local commit in a bound branch.  Local03:20
cody-somerville                        commits are not pushed to the master branch until a03:20
cody-somerville                        normal commit is performed.03:20
spivcody-somerville: that is almost exactly not what rebasing is! :)03:20
lifelesscody-somerville: ok, if you've done a local commit and an up, now do a commit.03:20
cody-somervillelifeless, I tried to and it said I needed to run update03:21
lifelesscody-somerville: no, you tried before you updated03:21
maredzekspiv, so dev1 puts that info to central server, where dev2 will obtain files? it will ask central server about changes, finds that dev1 have changed 4 files and then? download them from dev1 repo?03:21
cody-somervillelifeless, oh, right. it'll commit just fine I'm sure.03:21
spivmaredzek: all the data is on the server03:21
lifelesscody-somerville: after a commit --local you must either push, or update + commit, to make the local commit be centralised03:21
cody-somervillelifeless, the help should be updated then03:22
spivmaredzek: the .bzr directory contains a database with all the files and their changes etc compacted into it.03:22
maredzekahhhh ok!03:22
lifelesscody-somerville: yes03:22
maredzeki got it 100%03:22
cody-somervillelifeless, it suggests to me that it'll automatically push all commits (and I think it should) if an update isn't needed.03:22
lifelesscody-somerville: huh?03:22
maredzeki will instal lupdate_after_push plugin03:22
lifelessoh, the subsequent commit?03:22
cody-somervillelifeless, No one else committed to the master branch while I was working offline03:23
lifelessits an area forimprovement03:23
cody-somervillelifeless, so now that I'm online and do a normal commit, everything should just be pushed03:23
* cody-somerville nods.03:23
maredzekand when dev1 will push something, also all files wil be uploaded to central serfver right?03:23
cody-somervillethe way it works now, I have to merge in all my commits into a single commit03:23
lifelesscody-somerville: or do a push, as I mentioned before03:23
lifelesscody-somerville: rather than an update03:23
lifelesscody-somerville: note that your commits are still itemised03:23
lifelesscody-somerville: just folded up03:24
cody-somervillelifeless, how do I view the full commit message for pending merge tips?03:31
lifelesswhat do you mean03:34
Peng"bzr st" I imagine; it only shows the first line.03:36
* Peng is guessing, and goes /away03:36
=== oubiwann_ is now known as oubiwann
jamigc: do you know what the status is for the doc building? I don't see http://doc.bazaar-vcs.org/bzr.2.0.2/downloads yete.04:33
maredzekhi, im using bazaar for one day, how can i "save" sftp passwords?07:11
maredzekit is quite annnoying to type them each time i want to push07:11
bob2don't07:11
bob2use ssh keys instead07:11
maredzekit is something like this bob2? http://pkeck.myweb.uga.edu/ssh/07:15
bob2that's the basic deal07:16
bob2if you're on debian or ubuntu: ssh-keygen ; ssh-add ; ssh-copy-id remotehost07:17
maredzekim on uubntu07:17
bob2just do the above then07:18
bob2that page makes you do far too much work :)07:18
vilahi all07:26
* vila never saw a network switch fall apart. Now he has.07:27
maredzekhi, what does it mean? http://pastebin.com/m27d6ee0407:53
maredzeki wanted to push07:53
maredzekfrom locahost to remote07:53
=== Guest97231 is now known as mkirby
mkirbyI just installed bzr and am trying to follow the online docs but am getting an error when I try to 'bzr svn-import' in folder where I checked out from an svn repo08:39
mkirbybzr: ERROR: unknown command "svn-import"08:41
mkirbyC:\pelco\source\vmas>bzr --version08:41
mkirbyBazaar (bzr) 2.0.108:41
mkirby  Python interpreter: C:\Python26\python.exe 2.6.208:41
mkirby  Python standard library: C:\Python26\lib08:41
mkirby  Platform: Windows-post2008Server-6.1.710008:41
mkirby  bzrlib: C:\Python26\lib\site-packages\bzrlib08:41
mkirby  Bazaar configuration: c:\python26\Scripts\bazaar\2.008:41
mkirby  Bazaar log file: c:\python26\Scripts\.bzr.log08:41
mkirbyI thought the bzr installer came packaged with svn client support08:43
mkirbyHere is the doc where I started from: http://doc.bazaar-vcs.org/latest/en/user-guide/svn_plugin.html08:43
awilkinsmkirby, You've installed the python distribution... which alas, does not come with so many batteries08:47
awilkinsmkirby, It's good for the server (you seem to have installed it on a server) because you can configure a smart server to run with IIS off it08:47
awilkinsmkirby, But doesn't have any bundled plugins like the py2exe distribution does08:48
mkirbyawilkins, thanks. this is my win7 dev box08:48
mkirbyawilkins, I think I saw a bzr installer with python included, will that work?08:49
awilkinsmkirby, You want the one that ends -setup.exe08:49
awilkinsmkirby, The python included ones have a useful selection of plugins08:49
mkirbyi see it: Standalone http://launchpad.net/bzr/2.0/2.0.1/+download/bzr-2.0.1-1-setup.exe08:50
awilkinsThat's the one08:50
mkirbyk, thx08:50
awilkinsmkirby, For svn interop I just prefer to branch straight from the SVN server08:51
mkirbyawilkins, is that not using svn-import08:51
mkirbybzr checkout svn+ssh://svn.gnome.org/svn/beagle/trunk beagle-trunk08:52
awilkinsmkirby, With the bzr-svn plugin you can just ` bzr branch http://my.svn.server.org/my/branch `08:52
awilkinsYou end up with a local native bzr branch ; I then tend to branch that for feature branches, keep the direct branch up to date with the SVN repo and merge those revisions outward before merging my feature back to it and pushing it up to the SVN repo08:53
awilkinsDepends on whether you have the ability to move development away from the SVN repository or not08:53
mkirbyit is a different team that controls the repo/build artifacts... but we are on good terms ;)08:54
awilkinsmkirby, I wouldn't use a checkout because that will bind the branch to the remote repo ; it will try to push any local commits to the remote repository08:54
mkirbyI like all the workflow bzr supports and ease of branching, but I'll have to try first before I can sell the company on it08:55
awilkinsmkirby, bzr-svn is excellent ; it provides the benefits to you even if you can't sell the company on it because you have full read/write interop with your SVN server08:56
awilkinsCould be a selling point ; you can migrate developers incrementally08:56
mkirbyawilkins, agreed08:57
awilkinsIf any of them have to work outside the office they would be great targets for evangleism08:57
mkirbyawilkins, ppl are already complaining about branching an merging in SVN, so I need an alterative08:57
mkirbyawilkins, yeah we have remote offices that suffer the co,ci cycle08:58
jszakmeistermkirby: what version on svn are you using?08:58
mkirbyjszakmeister, 1.5.4 (r33841)08:58
jszakmeisterMerge tracking isn't working for you?08:59
awilkinsmkirby, The 1.6 series has better branch/merge management but still (AFAIK) suffers from weaknesses08:59
mkirbyI saw bzr support the merge tracking info in svn08:59
mkirbyjszakmeister, ppl are still making mistakes... not using --reintegrate etc.08:59
jszakmeisterAh.09:00
mkirbyI like the pqm (think that is right) idea too09:00
* jszakmeister agrees09:00
* awilkins also agrees09:00
awilkinsAlas, our current contractor has produced code with 0.3% test coverage09:01
jszakmeisterI've been using bzr-svn in a production environment for a while now... it's definitely worth playing with09:01
jszakmeister:-(09:01
jszakmeisterThat hurts.09:01
mkirbyjszakmeister, thanks, don't want to risk my job if things started failing/corruption09:01
awilkinsI've been using it over a year since around the 0.5 versions09:02
jszakmeisterIt's using the svn libraries to interact with the repo09:02
awilkinsI think the worst thing I've ever seen it do is duplicate data09:02
jszakmeister...so it behaves much like the real svn client09:02
awilkins(as in - not use previous bases and deltas, not make extra trees)09:03
mkirbyexcellent09:03
mkirbyru guys linux or windows users for bzr?09:03
awilkinsmkirby, Both09:03
mkirbyexcellent09:03
jszakmeisterThe stuff that would really confuse folks, like reordering your mainline commits in SVN, are disabled by default09:04
jszakmeisterSame here09:04
awilkinsThe windows performance has really improved since the earlier versions09:04
bialixsince?09:04
awilkinsIt started out, it kicked SVNs ass. (like, SVN was a 12 minute checkout on this tree, Bazaar was 4)09:04
awilkinsNow it _really_ kicks its ass09:04
mkirbywe are using crucible for changeset reviews, anything like that I can work into a bzr workflow prior to hitting trunk?09:05
bialixit's for 2a?09:05
jszakmeistermkirby: remind me how crucible works... you submit a diff?09:05
awilkinsbialix, The performance increments on Windows came mostly around ... oooh, 1.6? 1.9?09:05
awilkinsbialix, The readdir() implementations... I've not noticed 2a being that much faster (and it packs a lot slower)09:06
bialixwell, I've noticed this even earlier, but 1.9 is safe choice09:06
mkirbyjszakmeister, they mostly trigger off changesets that are already commited, but you can push a dif, but it is a pita to get the full context from svn diff command09:06
jszakmeisterThat's what I though... it was kind of designed for post-review of changesets09:07
mkirbyjszakmeister, exactly09:07
bialixawilkins: readdir for win32 was added around 1.6, maybe 1.709:07
jszakmeisterReviewBoard can do pre-commit reviews (that's what it was designed for)09:07
jszakmeisterWe've been using it at our place.  It's better than nothing, but could stand to get a few improvements09:08
mkirbyk, i'll check it out09:08
mkirbyjszakmeister, awilkins, you guys in here much?09:08
jszakmeisterOccasionally.09:08
awilkinsOften09:08
jszakmeisterDepends on whether I remember to fire up the IRC client.09:08
mkirbyyou've been a great help to ease my mind.09:08
jszakmeisterMost of my day, I'm away though. :-(09:08
jszakmeistermkirby: check out an article I wrote: http://www.szakmeister.net/blog/2009/oct/12/bazaar-subversion-super-client/09:09
mkirbyk09:09
jszakmeisterAnd the migration docs: http://doc.bazaar-vcs.org/migration/en/09:10
mkirbyjszakmeister, "$ bzr branch http://svn.example.com/svn/project-name/trunk/ trunk" in your First steps09:10
mkirbythanks09:10
jszakmeisterIn particular, http://doc.bazaar-vcs.org/migration/en/foreign/bzr-on-svn-projects.html09:10
mkirbyahh, I read the migration doc already09:10
jszakmeisterCool.09:10
jszakmeisterMy article has very similar information (both were written by me), but I tried to call out a few more of the individual steps in the article.09:11
Peng("bzr branch http://svn.example.com/svn/project-name/trunk/" would work too, since the default destination is the last directory in the URL, in this case "trunk".)09:11
mkirbyjszakmeister, excellent. have you checked out buildbot that google is using for chrome?09:11
jszakmeisterI dunno if Google is using something different, but I've looked at buildbot before.09:12
jszakmeisterIt's not my first choice for a build tool. :-)09:12
=== kklimond- is now known as kklimonda
jszakmeisterQuickbuild is: http://www.pmease.com/09:13
mkirbyI like all the stats it collects per build/test run09:13
mkirbyjszakmeister, http://build.chromium.org/buildbot/perf/xp-release-dual-core/new-tab-ui-cold/report.html?history=15009:14
jszakmeisterIt does have some useful stats... I just think that are some others that are easier to set up... at least in a corporate environment.09:14
mkirbyjszakmeister, you gave me a good start with bzr, and a lot to look into. thanks for your time09:15
mkirbyawilkins, thanks alot too!09:15
jszakmeisterYour welcome!09:15
awilkinsmkirby, You're welcome... I think it's the best choice for Windows unless you have some seriously large projects.09:15
fullermdmaredzek: Re your earlier error, that's coming from trying to push from a rich root repo (2a format) to a poor-root (0.92 or 1.9, I'd guess)09:15
bialixpoor-root, lol09:20
fullermdWell, unless you're in New Orleans; then it's a poroot.09:21
mkirbyjszakmeister, you wrote: http://doc.bazaar-vcs.org/migration/en/foreign/bzr-on-svn-projects.html09:33
jszakmeisterYep09:34
mkirbywhat did you use for the diagrams?09:34
mkirbyhttp://doc.bazaar-vcs.org/migration/en/_images/rebase-before.png09:34
jszakmeisterI used Omnigraffle.09:34
jszakmeisterBest diagramming tool evar!09:34
mkirbyah, I love their tools09:35
jszakmeisterOnly available on a mac though09:35
mkirbyI know...09:35
jszakmeisterYeah, they're great09:35
mkirbyI'm running OSx86 just so I can have those on my laptop09:35
jszakmeister:-)09:35
jszakmeisterI have to admit, they weighed in my decision to move to a Mac09:36
mkirbyclosest thing I've found is gliffy... web based, but still not as smooth and featured09:36
jszakmeisterHeh.  Neat!09:37
mkirbycollaboration works well too09:37
mkirbyin gliffy that is.09:37
jszakmeisterCool!09:37
bialixcool09:38
mkirbybe careful, it acts up when you start copy/paste a lot of objects/lines09:39
mkirbybut it works well when everyone has their laptops and we sketch a design. I'm waiting for google docs to get something like this.09:40
mkirbyjszakmeister, bzr branch http://svn.myserver.org/svn/project/trunk tells me "Error: Not a branch"09:43
jszakmeisterWhat's the top-level layout look like?09:44
jszakmeistertrunk/, tags/, branches/?09:44
mkirbyyes09:44
jszakmeisterThat's odd.09:45
mkirbysvn ls yeilds branches/09:45
mkirbytags/09:45
mkirbytrunk/09:45
mkirbyi'll throw the last slash on...09:46
mkirbyjszakmeister, maybe it is my authentication09:47
mkirbyit is asking for creds to on the bzr command, is that normal?09:47
jszakmeisterIt usually uses the cached credentials provided by svn09:48
jszakmeister...so no09:48
jszakmeistertry using svn+http://...09:48
mkirbydo I need to be in my svn wc?09:48
jszakmeisterNo09:48
mkirbyk, good, and do I need to do a bzr init?09:48
jszakmeisterNo.  Just branch and go09:48
jszakmeisterIt might be the OPTIONS probe that's causing trouble...09:49
jszakmeisterbzr-svn does that to see if the remote end is a SVN server09:49
jszakmeisterSome server setups seem to dislike it though09:50
jszakmeistersvn+ disables the options probe09:50
mkirbyunsupported protocol09:50
jszakmeisterDoes 'bzr plugins' show svn?09:51
mkirbysvn+http://svn.myserver.org/svn/project/trunk09:51
jszakmeisterI think you might be suffering fallout from your previous install of bzr09:51
mkirbyNo module named qbzr.lib.commands09:52
jszakmeisterOuch.09:52
mkirbyjszakmeister, I think you are correct09:52
mkirbyI'll give it a shot on my linux box and windows box @ work09:53
=== arjenAU2 is now known as arjenAU
mkirbythis time I'll pull the standalone for the windows box09:54
mkirby@ work09:54
jszakmeisterHow did you install bzr before?09:54
mkirbybzr-2.0.1-1.win32-py2.6.exe09:54
mkirbythen I pushed bzr-2.0.1-1-setup.exe over the top of it I guess.09:55
jszakmeisterOh, I see.09:55
jszakmeisterYou might want to uninstall that09:55
mkirbyohhh!09:55
mkirbyI think I still have the old one in PATH09:55
jszakmeisterthe -setup has everything... exactly.09:55
mkirbyyeah, i remember setting up the path... let me kill it09:56
mkirbyhaha, %BZR_HOME%;C:\Program Files\Bazaar09:56
mkirbythe %BZR_HOME% is me, the other is from the new install09:57
jszakmeisterNice. :-)09:57
mkirbyjszakmeister, sweeeeeet09:58
jszakmeisterThat sounds like success. :-)09:58
mkirbyI like the progress bar09:58
* jszakmeister too09:58
jszakmeisterIt's a nice bit of user feedback09:59
davidstraussIf I run Branch.open(), what exceptions can I expect from that?09:59
mkirbyok, so I'll still read up on your article, but when I do commits, it will be local, then a push will land it on trunk09:59
jszakmeisterYes, if you used 'bzr branch'09:59
davidstraussNotBranchError?09:59
jszakmeisterThe best workflow is probably to a branch and merge paradigm09:59
mkirbyjszakmeister, k, great10:00
jszakmeisterOtherwise, you're going to have to get familiar with rebase10:00
mkirbyi've rebased in SVN on my branches, prior to reintegrating...10:00
mkirbybut I understood how you kept your trunk, branched, cd to branch, committed, then moved back to ur trunk and merged the branch directory in.10:02
jszakmeisterSVN kind of enforces that workflow... especially since it'll silently rebase your changes during commit, if another one is already taking place.10:02
jszakmeisterGreat, then you're ready to rock! :-)10:02
jszakmeisterPlus, that paradigm is better for long term feature branch development too10:03
mkirbyjszakmeister, thats why I am here ;)10:03
jszakmeisterRebasing makes it hard to share changes, and the more changes you bring in and add, the more chance you have a conflict.10:03
jszakmeister:-)10:03
jszakmeisterSame here. :-)10:03
jszakmeisterWell... that, and I wanted to contribute to some open source projects that are using SVN10:04
mkirbyyeah, I am still looking for my opensource project to contribute my hobby time to...10:05
jszakmeisterBe careful... once you start, you can't stop. :-)10:05
jszakmeisterI wish I had more time for it... I truly love it.10:06
mkirbyjszakmeister, good to hear... so far I am at rev 1100 or 337310:06
mkirbyof10:06
=== Kirby is now known as Guest80373
=== Guest80373 is now known as mkirby_returns
mkirby_returnsjszakmeister, I'll have to give it a shot @ work from the LAN, my VPN is failing, and there are some other things about the contents in that trunk I don't like.10:15
mkirby_returnsagain thanks, hope to see you around, do you have twitter acc?10:16
jszakmeisterYour welcome!  And yes, I do: twitter.com/jszakmeister10:16
jszakmeisterAlthough, I've been rather quiet there lately. :-010:16
jszakmeisterI mean :-)10:16
mkirby_returnsk, tomorrow will be exciting, night10:19
piemhi! i'm looking for two post commits: one that would force me update the changelog, and one that would run indent on the modified files10:55
=== mrevell is now known as mrevell-lunch
freehi all!13:04
freeis something changed in LP? I can't run bzr checkout http://bazaar.launchpad.net/~landscape/landscape-client/trunk/ anymore.. but maybe I'm not supposed to use that scheme?13:04
free(it's used by a buildbot)13:05
vilalp is down for at least 2 hours now13:06
vilaargh, I hate it when I hit refresh on an error page :-/13:07
vilahmm, by bot still fails to checkout too...13:08
vilas/by/my/13:08
freestrangely if I check out using the lp: schema everything works13:08
vilafree: yeah, it seems the smart server is doing fine while the http one isn't13:14
vilaIt's known and being working on AIUI13:14
fullermdFie on http anyway.  Who wants to be dumb when you can be smart?13:35
vilaSometimes the smart redirects to the dumb and.... :-)13:37
fullermdThat's pretty dumb.13:38
freecan you use the smart one without login?13:38
freeoh, you can13:39
freebuildbot doesn't work very well with the lp: schema, it would need a patch13:39
vilafree: relly ? What problems do you encounter ?13:40
freevila: it simply tries to replace branch urls starting with "lp:" with "bzr+ssh://bazaar.launchpad.net/"13:42
vilathat's intended behavior, bzr is doing that not buildbot13:42
freevila: buildbot too, in the bzr_buildbot.py backend13:43
vila8-(13:43
=== mrevell-lunch is now known as mrevell
vilafree: where is that file in the buildbot namespace ?13:45
freevila: it's a contrib file13:45
freevila: it's in the main distribution (or at least the Ubuntu/Debian package), but not in the namespace, you can place it where you want13:45
freeand import from it in your config13:46
free/usr/share/buildbot/contrib/bzr_buildbot.py13:46
vilaENOTFOUND, what buildbot version are you using ?13:47
free0.7.11p3-113:47
freehttp://packages.ubuntu.com/karmic/buildbot13:47
vilashudder, not upgraded yet for the host that uses buildbot :-/13:48
vilaso I'm still at 0.7.9-113:48
freeoh, okay13:48
arkanesso I have a branch from which I've deleted lots of subdirectories, and merging from the trunk is generating a ton of conflicts in all those paths14:04
arkanesis there some way I can indicate that I removed these specifically and that merging shouldnt update them?14:04
bialixnope14:06
bialixfree: http://twitter.com/launchpadstatus/status/544927708014:08
freebialix: the problem is that you need an ssh key to use bzr+ssh? the buildbot user doesn't have one14:10
bialixI'm not LP dev but I believe you have to use your own ssh key14:11
bialixif you don't have key -- you don't have ssh access, right vila?14:12
freebialix: yeah, the point is that you should be able to checkout without authentication, for things like bot etc.14:12
bialixthis is http for14:12
bialixtoday is LP upgrade day if I've tracked announce correctly14:12
freebialix: it is14:13
bialixit's not the every day such problems occurs14:13
vilabialix: I don't the lp implementation enough to answer here but I think you're right14:14
freeindeed, that's why using bzr+ssh it's not an option in this case (buildbot), unless you set up a key and an LP account for that only14:15
bialixvila: IIUC ssh access is rarely passwordless/keyless, that's what I mean14:17
bialixfree: it's sounds like one time hassle14:17
vilayup14:17
bialixand LP ssh is only key auth14:17
freebialix: well, and you should make sure that the ssh key is installed in all your buildbot slaves, and if you add a new copy it over.. I agree it's a one time hassle, but I really think unauthenticated checkouts is a feature LP must have anyway, and indeed it has14:20
bialixit is14:23
=== Pilky_ is now known as Pilky
gioelehello14:41
gioeledoes anyone actively use trac-bzr?14:42
mkanatHey hey. If I have a persistently-running bzr server, is there a way to get loggerhead to use it, or does loggerhead just use bzrlib?14:45
mkanatCome to think of it, it probably does use bzrlib and there would be no advantage to its using a persistent server.14:47
MTecknologyHow do I pull a branch over http? I'm trying to do this with LP14:50
jelmergioele: we're using it on bugs.biutlbee.org, but with an older version of bzr\14:51
gioeleMTecknology: doesn't bzr pull http://..../ work? Does it give you an error?14:52
jelmer*bugs.bitlbee.org14:52
MTecknologygioele: I guess there's a server issue atm - thanks14:52
gioelejelmer: I'd like to suggest my project admin to switch to bzr from svn, but that requires trac support. I doubt trac-bzr is just a drop-in plugin at the moment (given the advent of bzr 2 and so on)14:53
jelmergioele: trac-bzr is pretty much unmaintained at the moment, and it has memory leak issues14:56
bialixgioele: I'm using trac-bzr with bzrlib 1.514:59
bialixMTecknology: http://twitter.com/launchpadstatus/status/544927708014:59
gioelejelmer: that was the impression I had. My only hope is to use bzr-svn. But I guess that, in the future, bzr-git will be developed more than bzr-svn (as samba moved to git).15:00
jelmergioele: not really; bzr-svn is a goal in itself for me these days15:04
gioelejelmer: good to hear that. I thought that after the switch the attention to bzr-svn would become zero15:05
jelmergioele: no - Samba switched to git over 2 years ago, and bzr-svn is still alive and kicking :-)15:06
jelmerIt's also nice to see that there are other people making contributions15:07
lamontwhat command did I give bzr to cause it to have bound=file://$PARENT in branch.conf?15:30
jamlamont: 'bzr checkout' versus 'bzr branch' ?15:31
jamor 'bzr bind'15:31
lamontthanks15:31
jamnote that the previously bound location is remembered even if you 'bzr unbind' later15:31
lamontyeah15:31
jamrockstar, abentley: Anything I can do to help out with the codehosting issues? It seems very strange to have files randomly disappearing from the http site. (for example .../~bzr-pqm/bzr/bzr.dev is missing .bzr/repository/format, but lp:~bzr-pqm/bzr/2.1.0b2 is missing .bzr/branch/format)15:33
abentleyjam: Okay, that's interesting.  I was under the impression that all files were 404ing.15:35
jamabentley: .bzr/branch-format for both of those worked just fine15:36
jambut then fails later on15:36
jam(well, *other* files fail later)15:36
jamyeah, I hit a "not a branch" so opened it up in my browser, and things worked15:36
jamso I kept probing until I found what it didn't like15:36
abentleyjam: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/.bzr/repository/format works for me.15:47
jamabentley: same here, though http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/.bzr/branch-format is timing out15:47
jamnow it worked15:48
jambut it did give a timeout first15:48
jamsimilarly: http://bazaar.launchpad.net/~bzr-pqm/bzr/2.1.0b2/.bzr/branch/format is timing out15:48
jambut I imagine after a refresh it will 'just work'15:48
jamabentley: still getting timeouts/404 on 2.1.0b215:49
abentleyjam: yeah, that works for me now.15:49
mthaddonI'm seeing the same for http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/.bzr/branch-format - times out, refresh and it's fine15:49
jamabentley: so I'm guessing it is some sort of caching/filesystem mapping issue?15:49
jamso it makes a request which takes a while15:49
jamhangs and times out15:49
jambut eventually the os does get the file it wanted15:50
abentleyjam: We have a script that rewrites urls for apache, translating them from ~me/proj/branch paths to /00/00/7F/3E paths.  That scripts does have a cache, but I'd be really surprised if it has bad data.15:52
abentleyjam: But it's not the sort of tricky virtual filesystem stuff we do with sftp.  It's pretty simple.15:53
jamabentley: so to *do* the translation, I assume you have to do a db query to get the mapping?15:54
jamthough if that was timing out, I would think that you would miss *all* files for a branch until later15:54
abentleyjam: Indeed.15:54
jamand not random files15:54
abentleyjam: That's right-- the cache is a cache of the part of the path that we rewrite, so once it's been mapped, it should be fast and repeatable.15:56
jamabentley: and I assume it is done at the ~user/project/branch level, and not down in the .bzr/* level15:56
abentleyjam: Right, the cache is done at the ~user/project/branch level.15:56
jamabentley: side question. I'd like to create a "bzr-builder" user for the windows buildbots. Is just logging out and "Register"ing a new user the best way to do that?15:58
abentleyjam: I think so.15:58
marek__hi, i have a problem with understandign bazaar, so far i used svn and after modyfing files on my local system i just made a checkout, and that was all, on server there were new files. Currently i have two coputers - one is server and the other - is my client that i work on, i made following setup: on server i init a project, extracted there some core files and than from my client machine i did branch, now i edited file and commited locally that16:08
marek__change, what do i have to do, to affect server files and repo?16:08
beunomarek__, when you push, the repo will be updated16:09
beunoif you want the working tree files to be updated, you will need to run "bzr update" on the other end16:09
marek__ok i pushed it16:10
=== beuno is now known as beuno-lunch
marek__i also wanted to upload:16:10
marek__bzr: ERROR: sftp://marek@192.168.7.109/var/www/trac/.bzr/ is not a local path.16:10
marek__(i have plugin installed)16:10
beuno-lunchmarek__, what command are you running?16:10
marek__marek@marek-laptop:/var/www/trac$ bzr update sftp://marek@192.168.7.109/var/www/trac16:11
beuno-lunchmarek__, right, you can't update remotely16:11
beuno-lunchyou need to run it on the other end16:11
marek__ok16:11
beuno-lunchmarek__, there is a plugin called "push-and-update" that will do the update for you16:11
beuno-lunchyou will need ssh access16:12
marek__i have i also tried to install that plugin but i dont know how it works16:12
marek__but tell me one thing16:12
marek__do i have to provide user name and host for my client machine?16:12
beuno-lunchmarek__, provide where?16:14
marek__you told me that i need "to run it on the other end"16:14
beuno-lunchwhen you do it locally16:14
marek__in server?16:14
beuno-lunchit's just "bzr update"16:14
beuno-lunchwhen yourin the branch's directory16:14
marek__ok16:14
marek__i did, but it wont change file on remote server?16:15
marek__heh it did16:15
beuno-lunch:)16:15
marek__magic16:15
beuno-lunchif you just need to have the files, no the repo, you can use bzr-upload instead16:15
marek__i need both :)16:21
marek__i have another problem , at first i commited change in one file, after succesfully updateing it with server, i changed 2 more files and wanted to commit i got this:16:25
marek__aborting commit write group: PathsNotVersionedError(Path(s) are not versioned: "male zmiany w schema.yml")16:25
lukssounds like you typed `bzr ci "male zmiany w schema.yml"` instead of `bzr ci -m         check_references(searcher, )`16:30
lukser16:30
marek__i typed:16:30
luksinstead of `bzr ci -m "male zmiany w schema.yml"`16:30
marek__ bzr commit "male zmiany w schema.yml"16:31
luksyep16:31
luksyou forgot the -m/--message option16:31
marek__ouch16:31
luksso you told to commit a file named  "male zmiany w schema.yml"16:31
luksand there is no such file16:31
marek__ok so now i have:16:32
marek__aborting commit write group: PointlessCommit(No changes to commit)16:32
marek__i changed file16:32
luksbzr st16:32
marek__bzr st returns nothing16:33
luksthen there is nothing to commit :)16:33
marek__:/16:34
lukswhich file have you changed?16:34
marek__ok, it is right16:34
marek__i just did it on server16:34
marek__not on client16:34
marek__ok but once again i have this problem wth working tree16:36
marek__files are not updated after update16:36
luksyou mean after push?16:36
marek__agrr ok,16:37
marek__so prcedure is:16:37
marek__1, modify files locally, 2. push, 3. update \16:37
marek__right?16:37
luksif you have a standalone branch, you need this: 1. modify files, 2. bzr commit, 3. bzr push, 4. (on the server) bzr update16:38
luksif you have a checkout: 1. modify files, 2. bzr commit, 3. (on the server) bzr update16:39
luks(or you can avoid the update step by installing the push-and-update plugin)16:40
marek__ok, what if there are more clients that are doing pushing? how can i be sure, to have latest version first... with branch?16:40
luksonly one client can push as a time16:40
marek__ok, but if he does it 30 min before?16:40
luksif somebody pushes to the server, and you would try to override it, bzr will complain16:40
marek__ok, thats like in svn16:40
luksthen you can use bzr merge, bzr commit and then bzr push again16:41
marek__so i do something like this:16:41
marek__1. branch latest version from server16:41
marek__2. modify files16:41
marek__3. bzr comit16:41
marek__4. bzr push16:41
marek__5. pzr update (on server)16:41
marek__does it make sense?16:41
luksyes16:41
marek__great16:42
luksbut if you want to work this "centralized" way, I'd suggest you to use bzr checkout16:42
marek__about that plugin16:42
luksthen you don't have to explicitly push16:42
luksand if you try to commit to an out-of-date branch, it will tell you16:42
marek__so i would change 1 stage? 1. checkout latest version from server?16:42
luksyes16:42
luksand remove point 416:43
marek__oh, ok16:43
marek__about that plugin - so i have to install it on server or client?16:43
lukson the client16:43
marek__will i need this while using checkout?16:43
luksyes, I believe so16:44
fullermdI don't know if the plugin runs off and does the update on commit...16:44
lukshm16:45
marek__but if i use branching - it will work perfectly?16:45
memshey.  Can anyone tell me how to list the branches in a remote repository?17:05
alefterishi all. I got this error after doing pull:17:11
alefterisbzr: ERROR: Not a branch: "http://bazaar.launchpad.net/~ubuntu-gr-webteam/ubuntu-gr-website/drupal6-site/.bzr/branch/".17:12
alefteristhen I tryed again, and got:17:12
alefterisbzr: ERROR: Not a branch: "/var/www/html/ubuntu-gr/drupal/lp:ubuntu-gr-website/".17:12
alefterislog: http://paste.ubuntu.com/310739/17:13
alefterisI did a branch localy from the lp branch, and branch was created and can pull17:15
alefterisI also notised this diference between the format files in server and local branch: http://paste.ubuntu.com/310738/17:15
alefterisI'm using bzr 2.0.0 localy and bzr 1.3.1 in the server. I help would be realy helpful, thanks :)17:17
alefterisAnyone knows if there are newer versions of bzr for centos?17:26
=== beuno-lunch is now known as beuno
mkanatalefteris: I just rebuild the Fedora RPMs, myself.17:27
alefteristhe one I got is from Extra Packages for Enterprise Linux (EPEL)17:27
jamalefteris: http://bazaar.launchpad.net is currently 'down for maintenance'17:27
jamif you are using bzr 1.3.1 I don't think it understand "lp:" urls17:27
jam1.3 is... ~2 years old17:27
jamwell, 1yr 7mo17:28
fullermdUrr?  I'm pretty sure bzr understood lp: URL's in 0.6...17:28
alefterisjam, I can see the lp plugin commands though, I thing it does support lp urls17:28
fullermd(of course, 0.6 would fare poorly with bzr+ssh...)17:29
jamalefteris: (11:12:39 AM) alefteris: bzr: ERROR: Not a branch: "/var/www/html/ubuntu-gr/drupal/lp:ubuntu-gr-website/". would indicate it in't17:29
jamisn't17:29
jamwere you running "--no-plugins" ?17:29
alefterisnop17:30
alefterisI can't branch even with the full url though17:32
alefterisoh, code hosting is down right now?17:32
jamalefteris: http is17:34
jamyou could use bzr+ssh or sftp17:34
jamif you have a key shared17:34
alefterisI haven't, so I gess I'll have to wait, I'm so unlucky to try to update the site, while lp is down :/ thanks all for the help :)17:36
=== verterok is now known as verterok|lunch
vilajam: ping18:04
jamhey vila18:04
jamI think I figured out what was wrong with the build stuff. 'hexagonit.download' released a new version18:05
jamand the build script wasn't version-locked for that18:05
jamspecifically looking here:18:05
jamhttp://pypi.python.org/pypi/hexagonit.recipe.download18:05
jam1.3.0 says: We now require zc.buildout >= 1.4.018:05
jamand we were version locked to zc.buildout 1.2.118:05
jamanyway, what's up for you vila?18:05
vilaI had a lot of internal network problems today and I still need to pack (I'm leaving tomorrow)18:05
vilajam: oh great you found that !18:05
vilaI just committed a fix for bug #47558518:06
ubottuLaunchpad bug 475585 in bzr "Launchpad plugin is not compatible with python-2.4 anymore" [Critical,Fix committed] https://launchpad.net/bugs/47558518:06
vilabut I can make the MP because lp tells me: updating branch.... I suspect it will stay like that for a while :-/18:06
vilas/I can/I can't/18:07
jamI can create an MP while the branch is still updating18:07
jambut I expect you'll run into whatever the current codehosting issues are18:07
jambefore it shows a dif18:07
vilareally ? I never dared...18:07
jamvila: it works just fine18:07
jamI do it all the time18:07
jam*I'm* not going to wait for it everytime I want to submit something :)18:07
vilaok, I'll do that then, but I can only target lp:bzr...18:08
jamversus?18:08
jambzr 2.1.0b2 has been cut18:09
jamso we'll have to do b3 early to get your fix in18:09
jam(no rc policy and all)18:09
jambut your changes aren't in 2.0.* series so it shouldn't affect thta18:10
jamthat18:10
vilaright, I wasn't sure, so lp:bzr is enough18:10
jamvila: well, probably I would create a 2.1.0b3 derived directly from 2.1.0b2 and not including new bzr.dev stuff18:10
jambut that is negotiable18:10
jamyou *could* target lp:~bzr-pqm/bzr/2.1.0b218:10
jamand just have us manually track the "Merged" status18:10
vilatime is running short :-/ I'll see what I can do tomorrow, if you don't beat me to it, I did test against 2.4/2.5/2.6 with -s bp.launchpad and had ~50 failures without my patch18:11
jamvila: so no failures on 2.5/2.6 but failures on 2.4, right?18:12
vilaalso, I put babune in reduced mode starting now (only hardy. jaunty, karmic left active, I won't be able to tweak manually as I do for a couple of weeks for the others :-/)18:13
vilajam: yes18:13
jamvila: so at least give me the url for your patch, but it would be nice to have it as an mp so I can easily comment on it18:14
jamcertainly, we should land it in bzr.dev today18:14
vilamp is done18:14
jamand see where we get to for 2.1.0b318:14
jamvila: url?18:14
jam(in case it takes forever to generate the preview)18:14
vilaargh, can't copy/paste here :-(18:14
jamtype out the short name18:14
vilayou should find it back from the bug report18:14
vilathe branch is linked to the bug and starts with 47558518:15
jamvila: only once lp updates...18:15
jambut https://code.edge.launchpad.net/~vila/bzr/475585-lp-proxy-py24-compat/+merge/1448918:15
jamlooks good18:15
jamwell, looks like what you worked on18:16
jam*argh*...18:16
jambecause you uploaded to ~vila I only get access to the mirrored side18:16
jamwhich won't give me access until the mirroring script finishes running.18:16
vilayeah, I daggy-fixed to ensure the patch was minimal18:16
vilaaaaaaargh18:17
jamyou could push it to ~bzr18:17
jamand I could get the writeable side18:17
viladone18:17
* vila EODing18:17
jamvila: can I get 1 min to make sure I can get the code18:18
jamdone18:18
jamthx18:18
jamvila: you stopped passing "use_datetime"...18:19
jamI'll clean that up I guess18:19
vilajam: sure, I'll certainly be around ;ater, but only for short moements18:19
vilawe don't use it18:19
vilaso we mat as well don't pass it18:19
jamvila: mmm if we are going to do that, then we shouldn't expose it as part of the __init__ interface18:25
jamsince if anyone *does* use it, it will just mysteriously not work18:25
jamah, I missed the fact that you did exactly that18:31
jamabentley: any eta on the codehosting fix? it seems that it has broken the mirroring script, which means that if I push new code to lp, then it doesn't get mirrored to the public side, so I can't access it with different access rights18:39
jamnot to mention disabling merge proposals, etc.18:39
abentleyjam: We have just cowboyed a fix a minute ago.18:39
abentleyjam: It has not broken the mirroring script-- that was separate breakage which has also just been fixed.18:40
jamabentley: ah, well good to know they are both fixed at least :)18:41
jamis that "cowboyed" into production then?18:41
abentleyjam: That's right.  I'm working on a cherrypick for the branch-rewrite script, whose faulty cache was at the root of the issue you saw.18:42
jamabentley: so it *was* the cache being faulty18:43
jamsurprising18:43
abentleyjam: Yes.  The issue looked like some files were working and others weren't, but it was actually that requests which hit the cache failed, and those that didn't worked.18:44
jamabentley: I don't want to take you away from doing the fix, but I'm curious how the cache knows when to invalidate itself (like when a branch gets renamed, etc.)18:45
abentleyjam: It is time-based.  Entries older than 10 seconds are discarded.18:48
jamabentley: ah, so you just avoid hammering the db when a person is requesting 10k files underneath a branch, but you don't keep it around too long18:49
abentleyRight.18:49
jamalso explains why it sometimes worked, if that 10s had just expired18:49
jamand why "bzr branch" fails, because it would work for the first request, but the second would come in within 10s18:49
abentleyjam: When a branch gets renamed, the cache doesn't prevent lookups on the new name from working, but it allows lookups on the old name to work 10s longer than they technically should.18:51
jamright18:52
jamwell, you could have a double-rename do things you may not want18:52
jambut it is a race condition anyway18:52
jamas renaming something underneath you is going to do bad things18:52
jamargh... this mirroring thing is killing me18:53
jamI can't get the latest bzr.dev but I can't submit to pqm because NEWS conflicts18:53
jambecause *pqm* has the latest version18:53
abentleyjam: Yes, the double-rename is problematic.18:54
bialixjam: hi20:50
bialixjam: do you merged win32 glob patch so fast to ensure it will get more real world testing?20:50
=== arjenAU2 is now known as arjenAU
igcmorning22:55
jamhey igc22:56
jamI hope your feeling good today22:56
igchey jam22:56
jambtw, I'm still stuck without docs for bzr 2.0.2 and 2.1.0b222:56
jamthough I'll need to release 2.1.0b3 soon22:57
jamso don't focus on those22:57
igcjam: better but still not great. I'm doing the docs right now22:57
igcjam: I slept nearly all of yesterday22:57
jamigc: thanks. and i'm glad to hear that you're feeling better22:57
jamlooking forward to seeing you in about 72 hours22:57
jamwell, maybe 96...22:58
jelmermoin igc, jam22:58
jamhi jelmer22:58
igchi jelmer22:58
jamigc: for myself, I'm still trying to sort out all the issues for getting the buildout stuff working on ec222:58
igcjam: :-(22:59
jamThe recent round of changes showed that we hacked some stuff together on kerguelen22:59
jamlike putting packages in PATH rather than having buildout do the work22:59
igcjam: I'm still catching up - 2.1.0b2 is no good?22:59
jamand sometimes hard-to-diagnose failures like having to manually hack python2.4's disutils22:59
jamI forgot about that in the pats22:59
jampast22:59
jamigc: it is not compatible with python2.422:59
jamthe proxy code stuff23:00
igcah23:00
jamturns out in 2.4 it is a 'old-style' class without __init__23:00
jamand PQM no longer runs python2.423:00
jambecause we couldn't convince mthaddon about how it should be configured23:00
jamand then sort of dropped the ball on it23:00
jamAnyway, writing up the steps I take to get things working now23:01
jamas a real document :)23:01
jamand then we should be able to snapshot the EC2 instance23:01
igcjam: that will be good23:01
jamthe major issue we'll run into is how to do VS 2008, whether we need Standard23:01
jamor whether we can work out what SDK you need in order to build tbzr w/ Express23:01
jamigc: yeah, so far the build process is a lot nicer on EC223:02
jamI think the disk access is better23:02
jamand if necessary, we can easily spin up an instance in 'medium' rather than small (I believe)23:02
igcjam: my bzr on vista is failing for some weird reason23:03
igcjam: so I'll get the chm's built as soon as I can but it may be an hour or so, depending on what's going on23:04
jamigc: well, I'm done for today anyway. but it would be nice to either build in about 3hrs when my family goes to bed, or at least tomorrow before I fly away23:05
igcjam: ok.23:05
jamI'll note that at least on Kerguelen everything builds fine as long as I tell it to use the old docs23:06
igcjam: I'm really sorry I couldn't do this earlier23:06
jamigc: well, not exactly your fault either23:06
jamigc: I hope you have a good day today, maybe I'll see you around later23:06
igcjam: but I was simply too sick (despite trying a few times to do it)23:06
igcok. If not, in a few days23:07
igcjam: have a safe flight btw23:07
maxbIs there a good doc which summarizes what looms and pipelines actually *are*? I have seen the documentation for the plugins' commands, but I'm still a bit hazy on what a loom and a pipeline are and when I would want to use them.23:14
maxbLikewise, I could really use a pipes vs. looms comparison23:24
pooliehi all23:31
pooliespiv, hi23:43
spivpoolie: hey23:45
pooliehow's stuff?23:46
pooliei'm planning to get offline in a bit and think about next week23:47
igchi poolie, spiv23:47
igcpoolie: before you go, where did the doc stuff get to?23:47
pooliejust got a few queries from the hotel23:47
spivI saw the udd mailing list is alive, I just did the mailman dance.23:47
poolieigc, i think it's buliding ok23:47
pooliemodulo gremlins, which have probably broken some links23:47
poolieoh and we're waiting on the rt for pdf builds23:48
pooliethe next action would be to poke around more thoroughly looking for broken links i guess23:48
poolieor to run a bot to do the same23:48
igcpoolie: where are the doc builds going to?23:48
igcpoolie: see http://doc.bazaar-vcs.org/23:48
igcthere's no bzr.2.0.2 yet?23:49
igcor bzr.2.1.0b2 yet?23:49
poolie!23:49
poolieok23:50
poolieyou need to go down into eg http://doc.bazaar-vcs.org/current/en/23:50
spivI'm shortly going to put up a wiki page with the bzr/ubuntu stories and some analysis of them.  I've been trying to wrap my head around as much of the existing bzr-builddeb/bzr-builder/DistributedDevelopement stuff as possible, there's no shortage of text to sift through...23:50
poolieso apparently we need to remove the existing docs that are hiding them at a higher level23:50
poolieigc i don't think it's worth having a directory for every single release23:50
pooliei think one per 6m branch is enough23:50
igcpoolie: let's sort it out next week then23:51
igcpoolie: it's certainly a little weird now, e.g. http://doc.bazaar-vcs.org/latest/en/23:52
igcsays "2.0.3dev" when it needs to say "2.0.2" IMO23:52
pooliehm23:52
pooliei guess that is a more interesting case23:53
poolienot so much that people might want the specific docs for old releases23:53
pooliebut that even the current release may be confusing if you see later docs23:53
poolie(this should anyhow perhaps be partly addressed by describing some features with the release that introduced them but you can't do that everywhere)23:54
poolieigc, to me the biggest thing would be to work out what should be at these urls:23:54
pooliedoc.b.o/  doc.b.o/latest/23:54
poolieshould they just redirect by default to the english versions?23:54
pooliei guess the page currently on http://doc.bazaar-vcs.org/en/ should appear at the top level?23:55
igcright. Or the top level can redirect there23:55

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