/srv/irclogs.ubuntu.com/2008/11/03/#bzr.txt

* fullermd calls it late for lunch.00:05
pooliemarkh: if you're around, any idea off hand why getaddrinfo would fail on xp?00:09
poolieper https://answers.launchpad.net/bzr/+question/494900:09
markhwhile I look - interesting pre-PEP on DVCS discussing hg and bzr - http://docs.google.com/View?docid=dg7fctr4_40dvjkdg6400:15
markhpoolie: 4949 is about dual-booting ubuntu?00:16
poolieheh00:17
pooliesorry, https://answers.edge.launchpad.net/bzr/+question/4949800:17
markhso, 10022==WSAEINVAL, so winsock doesn't like one of those params I'd guess00:19
markhalthough windows seems documented as supporting AI_PASSIVE00:20
markhhowever, "socket.getaddrinfo('www.google.com', 80, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_PASSIVE)[0]" works for me!00:26
markh(in the more general case though, that user probably just needs to be made aware they can just 'push' to some other server - there's no real need to run an actual server on their box)00:31
pooliemm00:36
pooliehere it's probably looking up 127.0.0.1:415500:36
poolieif she were on debian i'd almost suspect an ipv6-only configuration or something but that seems unlikely here00:37
spivToday is the last day for PyCon 2009 submissions: http://us.pycon.org/2009/conference/proposals/01:24
Neilalright, bazaar in, old sources imported with history, trac integrated.    Thank you again LarstiQ if you see this.01:59
justizinhiya, i have branched some code from svn, and it is in a rich-root-pack repository for bzr-svn, i want to branch it for use as pure bzr with a more modern storage means, but when pushing to a shared repo, i get an error.  is there anything i can do?03:22
jelmerjustizin, "pure" bzr?03:23
justizinwell, i mean, it uses rich-root-pack because bzr-svn requires that.  i don't care about svn compat anymore, because i am abandoning it for this branch / project.  seems i can't branch into another storage format..03:24
jelmerjustizin, rich-root-pack is a standard supported bzr format, and will be the default at some point in the future03:24
jelmerit stores more data than the current default, so there's no way to downgrade03:25
justizinoh, really? i was under the impression the current default was more modern..03:25
justizinokay, well, if it's better, than i'll just roll with it. :)03:25
justizinit would be nice to be able to downgrade, still, but for my purposes, clearly not necessary.03:25
jelmerif you mean the 1.6.1 format, there is a rich-root equivalent of that03:25
justizinyah i guess i should try it with a branch on a machine with newer bzr, i am still on ubuntu LTS with system packages... will be moving our svn / bzr / trac to ibex next weekend or so.03:26
justizinanyway, if rich-root-pack is not a bad format to use for just using bzr, then that's fine, i thought it was some kind of compromise, but i guess it makes sense that it is, well, duh, richer.. ;d03:26
justizinthanks jelmer03:26
jelmerhopefully it'll be the default in the next version03:27
justizin1.8, or the next in 1.7 series?03:27
jelmerno, more like 1.1003:27
justizinthat is: major / minor ?03:27
justizinah ok03:27
* justizin is so tired of .10 versions, seem to infect our whole python community ;d03:28
justizini think zope is working on 2.12 :-P03:28
justizinis there a way to make a copy of a whole shared repository?03:39
justizinas if to branch the whole thing..03:39
jelmerjustizin, I think there may be a plugin that can do that03:39
justizinany idea of keywords i might seek? :)03:39
* justizin is so thankful for bzr this year, esp bzr-svn has made unimaginable things possible..03:40
justizini mean, there is svk, but, i dunno, i have a hard time sleeping with a process that depends on perl ;d03:40
jelmerI'm not sure what the name could be03:40
justizineh i'll sort it later03:40
jelmerOdd_Bloke wrote it, but he's probably asleep atm03:40
justizini could probably keep it all in one shared repo and share data, but maybe what i really want is like nested shared repos that can be treaated as branches, which i probably shouldn't pontificate on, on a sunday evening. :)03:41
justizinlike i took a set of build files, and made them into three sets.  then, i decided i wanted to do new work with trunk/head/whatever dependencies, so i want to branch those three sets, which is a shared repo with three branches of one upstream branch..03:42
justizinright now, i have one deployment config with database config, software install, and app server config, and i want to separate those so that they can use different python installs, or at least not break each other when testing python updates, and for other reasons..03:43
justizinso, yanno, i figured, make three copies of the deploy config, rip out the unneeded bits of each segment..03:43
justizinnow i want to update all dependencies, and have a merge path..03:43
justizinprobably something i should put some brain and coding time into if i want it. :)03:43
jelmersorry, I was about to get some sleep03:44
justizinhoping to snag some big contracts which will depend on branching / forking lots of upstream code and reorganizing some.. bzr is so great for that.03:44
justizinno worries jelmer, i ramble.  rest your svn-battered mind :)03:44
justizinciao..03:44
jelmer:-) ciao03:44
justizin:-P03:44
justizinhey jelmer if you are still around, can you recommend a good nl beer? i have good imports here in SF and get tired of my same old rounds.. :)03:45
jelmerjustizin, heh :-)03:45
* justizin figures all good programmers have good beer taste03:45
jelmerjustizin, My favorite is "Hertog Jan", it's not too big in the US though I think03:45
justizinhm, i will look around.  we certainly aren't a european import city, but we have lots of euro imports..03:46
justizini remember when i was in amsterdam, heineken was like budweiser in us03:46
justizinsame in hamburg, actually03:46
justizinfreakin' lager ;d03:46
jelmeryeah, Heineken is the most generic beer you can get03:46
justizinwell, i grew up in texas, before i was 21 heineken was a big step up from budweiser03:47
justizinbut i dont think i had any when i went to AMS03:47
jelmerGrolsch is also pretty common but a bit nicer (and probably available in the US)03:47
justizini think we had guiness at the bull dog03:47
justizingrolsch i think we have at whole foods maybe03:47
justizini'll try it03:47
justizinalso tons of import taps in SF03:47
justizinbuddy of mine just left high-end server gig to answer phones for amex top tier folks..03:48
justizinwe have nice microbrew, but import is always nice here and there03:48
justizinanyway, go crash03:48
justizinlol03:48
justizindidnt mean to keep you up03:48
justizinttyl03:48
justizinoh yah and like "Server gig" i meant beer more than internet :-P03:49
poolie_spiv, hi, did you decide in the end to work on that bug or to try the repo branch?03:59
spivpoolie_: trying out the repo branch.04:02
poolie_how is it?04:03
spivpoolie_: so far it looks like there's no network regressions according to my bzr-usertest branch -- once I merge current bzr.dev in.04:03
poolie_nice04:03
poolie_btw is there still anything i could review for you wrt usertest?04:03
spiv(Although curiously it appears that maybe initial push gotten slower on high-latency links in bzr.dev vs. the bzr.dev the repo branch was merged up to...)04:05
spivHmm, not sure, let me look.04:05
spivI do miss the "just mail and forget" patch submission that bzr gets via bundle buggy.04:06
spivpoolie_: https://code.edge.launchpad.net/bzr-usertest/+activereviews lists two things that need review, IIUC what the UI is telling me04:08
poolie_ok04:08
poolie_:/ i didn't really want to get back into 100% code reviews04:08
poolie_but i don't want things getting stale either04:08
spivWell, maybe I should just merge them?04:09
poolie_i'll have a look after i finish merging back to trunk04:09
=== poolie_ is now known as poolie
spivpoolie: ok.04:36
pooliespiv, all are done now05:05
spivpoolie: thanks05:11
Peng_Wait, is there a subtree variant of the 1.9 format?05:27
igcspiv, poolie: if it helps, I'm happy to review usertest stuff in the next few days05:57
igcbe a nice change from ploughing through my 2000+ emails :-)05:57
pooliehello igc05:58
igchi poolie05:58
lifelessPeng_: development2-subtrees06:17
pooliespiv, can you send a paragraph or so about what you discovered about the repo branch and networking06:36
poolieif you're still online06:36
spivSure.06:38
Peng_lifeless: Using a development format doesn't sound ideal.06:42
Peng_Does "bzr pack" optimize how all of the data is ordered?06:42
spivPeng_: a quick glance at the code suggests that it does06:48
Peng_thanks06:48
lifelessPeng_: true; OTOH its available in 1.7 and above I think07:00
* Peng_ grumbles again about downgrading from subtrees to rich-roots.07:03
vilahi all07:04
igchi vila07:05
vilahi Ian !07:06
igcnight all07:30
gourhi, i upgraded my system to python-2.6 and now i get "/home/gour/.bazaar/plugins/search/index.py:22: DeprecationWarning: the md5 module is deprecated; use hashlib instead08:49
gour  import md5" warning all the time08:49
gourhow to get rid of it?08:49
gourit's, afaik, lifeless's plugin08:49
Peng_You...ask lifeless to use hashlib instead? :P08:54
Peng_(Well, try: hashlib and fall back to md5. Anyway..)08:54
Peng_gour: If you know a bit of Python, it shouldn't be difficult to fix the warnings and send a patch.08:56
Peng_(I don't mean to sound unhelpful, but not everybody has access to Python 2.6.)08:58
gourPeng_: well, the question is more in line what's the bzr plan in regard of 2.6 support?09:00
Peng_Oh.09:01
Peng_A few patches to help Python 2.6 compatibility have been merged.09:02
gourthat's nice to hear09:03
Peng_Or at least proposed..09:03
* gour replaced the calls ==> no warnings any longer09:04
lifelesspoolie: I think I'm calling it a day :P09:06
lifelessPeng_: btw development formats are stable, just not long term supported; so you can get support etc, just not expect to leave the repo unattended for 3 or more releases09:06
Peng_lifeless: Yeah. Having to remember to keep an eye on my repo is stupid.09:08
Peng_Eh, sorry.09:08
Peng_I'm grumpy about the subtree/rich root thing again. :P09:09
Peng_gour: Yeah, the big Py2.6 patch was merged in bzr.dev r3751.09:09
lifelessPeng_: fair enough, I'm not thrilled either; it is moving slowly09:09
lifelessPeng_: the point of --development is to allow folk that need a fix (e.g. performance/features) to access it before its finalised-forever09:09
gourPeng_: ta for the info09:09
Peng_I'm not that impatient.09:09
Peng_I did upgrade a couple repos to --1.9 shortly after it was finalized, but I don't feel like dogfooding much anymore.09:10
Peng_(Well, maybe a little, when it's safe.)09:10
gourthere will be some format-removal in 1.9?09:10
Peng_Is there anything really difficult about supporting going from subtrees to rich-roots or is it just that nobody's done the work?09:12
lifelessPeng_: dev2-subtrees wouldn't be dogfooding as such, fwiw. Its just a label :). Anyhow ..09:15
lifelesssubtrees to rich roots requires checking that no inventory entry is a subtree09:15
lifelessnoone has optimised that check09:15
lifelessgour: format removal breaks older clients; we try to keep the list of visible formats short09:16
Peng_So it isn't difficult to do, it's just difficult to do quickly?09:16
lifelessPeng_: right09:16
Peng_Or at least nobody has done the work to figure that out yet.09:16
gourlifeless: i understand. it's still, imho, too big09:16
Peng_lifeless: Where does "bzr branch"ing from subtrees to rich-roots fit in?09:17
Peng_It works, though it's not super-fast.09:17
gourlifeless: let 'em upgrade or stay with older version. how long you will drag 'em around'09:17
gour?09:17
lifelessgour: I'm not sure09:17
Peng_gour: Some truly ancient formats are still supported.09:17
lifelessanyhow, must go09:18
gourPeng_: bzr init (repo) gives too many choices ;)09:18
lifelesstere is a bug about presentation here09:18
lifelesswhich would reduce the multiplication a lot09:18
* lifeless goes09:18
* gour just built r3818 pkg09:19
gournice, no more warnings...09:22
gourahh, there are still some09:23
Peng_Blaah.09:24
* Peng_ converts one of his subtree repos to rich-roots using the init/pull trick, since it only has one branch and is unimportant anyway.09:24
gouri need to merge two branches without common ancestor, how to do it?09:25
gouri'm trying with bzr -r x branch, but does not work09:26
pooliegour: bzr merge  -r 0.. ../other09:27
poolieshould do it09:27
gourwhy -r ancestor:branch did not work?09:28
Peng_BTW, branching bzr-svn's 0.4 branch from pack-0.92-subtree to 1.9-rich-root took 2 or 3 minutes. Doing it from 1.9-rich-root to 1.9-rich-root took 4.54 seconds, including building the working tree. Nice.09:31
gourPeng_: so, 1.9 adds to the list of formats..09:38
Peng_gour: :)09:38
gourthe list of formats does not fit on one screen :-/09:39
gourit's pity if devs do not see it as a problem09:40
Peng_I'm sure it'd fit with a 2048x1536 monitor and a small font. :)09:40
gourheh, good joke09:40
* gour is running 1450x laptop atm09:41
gourrunning latest bzr with bzr-svn-0.4.13 gives: bzr: ERROR: Version mismatch09:42
Peng_gour: Edit the compatibility info in bzr-svn's __init__.py.09:43
gourPeng_: there is some new bzr-svn release around the corner?09:44
* Peng_ shrugs09:44
Peng_I run bzr.dev and bzr-svn's 0.4 branch.09:44
Peng_They *are* compatible, but the compatibility checking hasn't been updated.09:45
Peng_(Well, it has been since 0.4.13 was released.)09:45
gouri see...still, my main problem with bzr-svn is lack of support for svn:externals09:45
Peng_That won't happen until bzr supports it.09:46
gourstacked branches are not enough?09:47
Peng_Stacked branches are totally different.09:48
gourerr, nested branches?09:49
Peng_Oh. Yes. I have no idea what state nested branch support is in, so I can't answer that.09:50
Peng_Anyway, it's not considered production-ready..09:51
gourok. that's not so important considering that i can do 'svn up' for those repos where i fetch, but reducing number of formats is definitely more serious issue10:01
Peng_It's kind of too late now. Backwards compatibility is important.10:01
goursure it is, but plethora of formats shows something is wrong with bzr-format10:02
gourwhat do you think about http://rafb.net/p/WGzz9k72.html ? is it for bzr or push-and-update plugin?12:00
Verterokgour: looks like a python 2.6 <-> bzr issue12:03
gourVerterok: ahh, too bad :-/12:04
gourVerterok: should i submit ticket for it?12:05
Peng_Uhh12:05
Peng_Oh, never mind12:05
Verterokgour: that would be ok, but I don't think that 2.6 is a supported version (2.4 and 2.5 are)12:06
gourVerterok: hmm, what do you. 2.6 is default python here :-/12:06
Verterokgour: please, file the bug. I think there is some work-in-progress (tm) to support it12:07
Peng_Even if it's not supported now, the only way to support it in the future is to fix the bugs.12:07
Peng_s/bugs/compatibility issues/ ..12:07
gourok, i'm going to submit bug report12:07
goursubmitted - #29305412:11
Verterokgour: thanks12:16
=== mtaylor_ is now known as mtaylor
jelmerabentley, ping14:06
jelmerabentley, any eta for bzrtools 1.9?14:07
abentleyjelmer: Sure, I'll see about it today.14:07
jelmerjames_w, hi14:17
james_whey jelmer14:18
jelmerjames_w: I'm going to do more (sponsored) work on bzr-git14:19
james_wjelmer: great!14:20
jelmerjames_w: And I'd like to use your python-git module for that, extending it where necessary14:20
james_wum, sure14:20
jelmerjames_w: However, the name is a bit non-unique - what do you think about renaming it ?14:20
james_wlet me know if I can help with anything14:20
james_wgo ahead, it was just a weekend hack14:20
jelmerthanks :-)14:21
jelmerjames_w: Btw, any news on my merge-upstream-branch patch for bzr-builddeb ?14:22
jelmerIt doesn't seem to fit well into the new infrastructure, should I adapt it to that?14:22
james_wlet me take a look14:23
BUGabundo_workhi14:31
BUGabundo_workcan some mailinglist admin moderate my email ? I'm not on the list!14:31
james_wjelmer: my only concern would be the  upstream_branch_version() stuff14:35
james_wit looks sane, but it's quite magical14:37
jelmerjames_w: I can document it a bit better, perhaps let the user know where we got the version from?14:42
james_wyeah, that might help14:42
jelmerjames_w: It's only intended as fallback if the user doesn't specify a version14:42
james_wit looks like it would be doing what the user wants, and this merge-upstream stuff is quite magical anyway14:42
jelmerjames_w, I'll see about adding some docs and being a bit more verbose as to where the version comes from14:50
jelmerjames_w, what branch should I submit against ? lp:bzr-builddeb or lp:bzr-builddeb/2.0 ?14:50
james_wjelmer: the former please14:51
james_wI'm going to merge the latter in to the former soon, and just keep the latter for any critical bug fixes for Intrepid14:51
james_wthanks for looking at it. I kind of want to think about it some more, but I'm aware that I don't actually do that and it just ends up un-merged, so I'm tempted just to merge it.14:52
james_wjelmer: is https://code.edge.launchpad.net/~jelmer/bzr-builddeb/452130/+merge/1511 fixed?15:22
=== mm-mysql_ is now known as mm-mysql
jelmerjames_w, yeah, you've already merged it15:24
james_wcool, thanks15:25
jelmerI've just removed it (took a while to find the button)15:29
jamhi mm-mysql, funny to see you around here :)15:40
mm-mysql:)15:40
mm-mysqlI should hang out here more often, we often run into things we'd like to talk to you guys about on my team.15:41
mm-mysqlSo, are you actually local to where we ran into each other or just visiting?15:41
weigon_mm-mysql: *doh* :)15:42
* mm-mysql waves at weigon15:42
jamI live about a 15min walk from where we met. So I think that counts as "local" :)15:44
jamwhat about you15:44
mm-mysqlI'm 5 minutes walk from Flossmoor Station...do you drink beer? :)15:45
jamI've been known to have some from time to time. The Brewery there is a nice restaurant.15:46
mm-mysqlWell, if you're up for it sometime, we should meet up...even if not for beers.15:46
jamdefinitely15:46
jelmerjames_w, I've pushed an updated version to http://people.samba.org/bzr/jelmer/bzr-builddeb/merge-upstream-branch/15:47
gourPeng_: bzr's user-manual says: "15:48
gourERC>15:48
james_wthanks jelmer, looking now15:48
gourPeng_: "Plugins are helpful at feature retirement time as well, e.g. deprecated file formats may one day be removed from the Bazaar core and be made available as a plugin instead." why it is not followed?15:48
dissonanswhat's the best way to see the history of merges in a repository15:49
Peng_gour: It would take work, I guess.15:49
dissonansi.e., I want to check which revision I last merged from another repo15:49
gourPeng_: then better remove that sentence from the docs ;)15:51
Peng_gour: "may one day" doesn't mean it has to be now. ;P15:51
awilkinsdissonans: Try qlog in the qbzr plugin15:55
dissonansawilkins: thanks, trying that now15:59
dissonansawilkins: can that tell me the parent revision from the other branch, though?16:01
jamdissonans: you might also try:16:02
jambzr log -r ancestor:other/branch16:02
jamor16:02
jambzr missing other/branch16:02
jamdepending on what you want16:02
mattionshello16:03
mattionsHas the svn plugin been integrated directly in bazaar ?16:04
Peng_"Integrated directly"?16:04
Peng_It's still a plugin, but it works perfectly well.16:04
jamI have the feeling he might mean "bundled with the installer", but I'm not sure.16:05
Peng_Oh.16:05
mattionsOk I'm running the 1.9rc16:05
mattionsand synaptic does not want to install the plugin anymore16:06
Peng_I guess it hasn't been marked as compatible with 1.9 yet.16:06
mattionsShould I install the plugin bymyself16:06
mattionsand see if ti works?16:06
dissonansjam: thanks, "missing" was the command I was missing :]16:06
dissonansPeng_: it's not even compatible with 1.8?16:07
mattionsactually it seems the plugin is still there because when i try to push it ask me to authenticate16:07
Peng_mattions: It will work, it just might need to be marked as compatible.16:07
mattionsto the SVN16:07
mattionsbut then I've got this error:16:08
mattionsbzr: ERROR: Transport operation not possible: http does not support mkdir()16:08
mattionsbut I'm using https!16:08
=== kiko is now known as kiko-fud
Odd_Blokemattions: The secure version of the HyperText Transfer Protocol still uses the same protocol, which doesn't support mkdir(). :)16:09
mattionsbut before it worked!16:10
mattionswell, anyway good to know16:10
Odd_Blokemattions: The same operation worked, or different operations?16:10
mattionsso the question is: how?16:10
mattionssame operation..16:10
mattionsadded some directories with bzr and then pushed everything16:11
mattionsin the svn16:11
Odd_Blokemattions: Pushed everything to SVN?  And you've been able to push before?16:11
mattionsyep16:12
Odd_Blokemattions: OK, look in ~/.bzr.log.16:12
mattionsOdd_Bloke: I think I screw up something... let me check that ..16:15
Odd_Blokemattions: Sure.16:16
mattionsOdd_Bloke: it worked16:26
mattionsso the plugin has been deinstalled by synaptic16:27
mattionsat some point, and I didn't notice16:27
mattionsI installed the last plugin from the site directly and everything worked16:27
mattionseven the "add" of new directories16:27
Odd_Blokemattions: Cool.16:27
jelmerjames_w, I've just filed two more merge requests16:58
james_wyeah, I was just about to reply to the get-orig-source one16:58
james_wdo you want the response here instead?16:58
jelmerjames_w, Whatever works for you16:59
james_wk16:59
james_wMy thought was that the try for get-orig-source would come before debian/watch, why did you put it the other way around16:59
james_wand also, if debian/watch exists, but uscan fails it doesn't try get-orig-source, is that what we want17:00
jelmermainly because it's a bit more verbose17:00
james_wobviously if the order was swapped then that would become more complex17:00
jelmersince if get-orig-source doesn't exist in debian/rules you get an error message17:00
jelmerwould there be situations where you would want to use get-orig-source but also had debian/watch  ?17:01
james_wI'm not sure17:01
james_wbut I think if I had both I would want get-orig-source to be used17:02
james_wbut having both would be confusing17:02
jelmeryeah, I think having both is undesirable17:03
james_wI think I'll merge what you have, and deal with any bug reports17:04
james_wthen at least I can ask how they expect this to be handled17:04
james_wthanks17:04
james_wfor the other one, I'm not so sure17:04
james_wfirstly, I don' think it fixes the bug Martin reported, does it?17:04
jelmerit does, since it will use an existing file rather than overwrite it17:04
jelmerit also fixes my problem with the checksum of the .orig.tar.gz changing17:05
james_wbut Martin gets the failure when the file is copied back17:05
james_wsorry, moved to the result dir17:06
jelmerah, you're right - sorry17:06
jelmerI should've read the bug report more closely17:06
james_wno problem, it may still be worthwhile17:06
james_woverwriting what was there was a concious choice when I implemented this17:07
jelmerReading the bug report again, I think overwriting is a fair choice17:08
james_wfor the case when you have "export_upstream" with no "export_upstream_revision", and then the upstream branch changes without the upstream version number changes17:09
james_win that case if you don't overwrite you build the wrong code17:09
james_wMartin's bug report is a separate issue that doesn't even need export_upstream to trigger it, and I have an idea of how to at least improve that situation17:10
jelmeryeah, there are several corner cases like that I guess - changing get-orig-source would be another17:10
james_wwould it work if we made it so that it didn't overwrite if you had export_upstream_revision, or you were using the ~bzr magic?17:10
james_wbut changing export_upstream_revision would break it17:11
james_wI don't think it's soluble unless we store the revid of the version used to create the tarball with the tarball17:11
james_wwhich isn't that easy at the moment17:11
jelmerhmm, you're right17:11
jelmerI'll withdraw that one and give it some more thought17:12
jelmerjames_w, did you have a chance to look at merge upstream branch one ?17:14
james_wjelmer: yeah, I reviewed it17:14
=== kiko-fud is now known as kiko
james_wjelmer: yeah, I think I'll merge it, with a couple of tweaks, once I have merged 2.0 into trunk17:16
james_wthanks for working on it17:16
jelmerjames_w, thank you!17:17
jcastroemmajane: ~1 hour until your session!19:02
emmajaneyup!19:03
emmajaneI'm already in teh classroom.19:03
emmajaneAnd I've almost got everything pre-typed...19:03
emmajanejcastro: some of it may be too basic...I guess we'll find out though...19:04
jcastroemmajane: it's ok alot of questions today have been by new users so this should work out just fine19:05
emmajanecool19:05
emmajanejcastro: I'm just making a quick tea and grabbing a snack. Notes at: http://pastebin.ubuntu.com/66903/19:43
jelmeroh, it's ubuntu open week again?19:44
LarstiQnew release, I suppose that gets a fair share of new users19:45
emmajaneyup :)19:48
emmajanebtw you're welcome to run through those notes and let me know if you've got any comments.19:48
jelmercool19:48
emmajaneI've got the UBER basic session. :)19:48
LarstiQemmajane: not bzr related, but you mention using aptitude and then go on to use plain apt-get :)19:51
emmajaneLarstiQ: oops, yea. :)19:52
emmajanethanks19:53
LarstiQemmajane: 'bzr add' has the effect of adding all files in the tree, 'bzr add *' could miss things that the shell doesn't expand to (like .files)19:53
LarstiQthat is, bzr add without any argument19:53
emmajaneahh, ok.19:53
jelmeremmajane, Looks good :-) Also a minor thing - I think Launchpad should be spelled with a lowercase p19:53
* emmajane removes the *. Not sure why I have that actually, I've never added files with an *.19:54
LarstiQemmajane: if you think it is clearer with an argument, I suggest 'bzr add .' instead of *19:54
LarstiQ:)19:54
luksbzr add * would also add ignored files19:54
* emmajane nods.19:55
emmajane* gone.19:55
emmajanewho needs stars anyway. ;)19:55
LarstiQemmajane: bzr diff -c might make more sense than -r if you are looking at historical changes19:56
LarstiQemmajane: -c revno does -r revno-1..revno19:56
LaserJockanybody know if it's possible to get bzr multi-pull to output more data like bzr pull? like showing the changed files19:56
LarstiQemmajane: whereas -r revno compares the current state of the working tree against that version19:56
emmajaneI thought I had both?19:56
jelmerLaserJock, not atm19:57
emmajaneisn't $ bzr diff -r# FILENAME current to revno?19:57
emmajaneand $ bzr diff -v -r#..# FILENAME compares two versions in history?19:57
LarstiQemmajane: ah, I misread a bit.19:58
jelmeremmajane, perhaps mention "bzr status" before the commit ? that should also be helpful when doing incremental commits and for example forgetting to add new files.19:58
LarstiQemmajane: I'd also mention `bzr help topics`19:59
emmajanethanks for the suggestions!! :)20:00
LarstiQemmajane: and `bzr viz` is always nice for pretty graphs ;)20:00
emmajaneLarstiQ: they won't have anything /to/ graph though. :(20:01
emmajanebobbo might tackle that in his session.20:01
LarstiQemmajane: bzr get lp:bzr; cd bzr; bzr viz?20:02
LarstiQemmajane: when is this session btw?20:03
NfNitLoopI wish I could get my company to use bzr.20:03
LarstiQNfNitLoop: what is holding you back?20:03
NfNitLoopthey've built this custom deployment system against svn.20:03
NfNitLoopso there would be a lot of stuff to change.20:04
NfNitLoopthey also seem to be fond of having a monolithic svn repo for every project, much to my dismay.20:04
NfNitLoopbut we're starting to get merging headaches because multiple teams will touch the same file/heararchy.20:05
NfNitLoopand every time I have to manually merge something in svn 1.4 I daydream of bzr. :p20:05
nevansNfNitLoop, for svn, it often makes sense to have a monolithic svn repo.  less for sysadmin's to maintain.  no overhead to creating a new project.20:06
emmajaneLarstiQ: started about five minutes ago.20:06
nevansNfNitLoop, have you tried bzr-svn?  :)20:06
NfNitLoopnevans: I have.  It breaks on our repo.20:06
nevansNfNitLoop, :-(  it occasionally breaks on mine too.20:06
NfNitLoopI haven't tried the bzr1.9rc/bzr-svn combo.20:06
NfNitLoopI'd love to use bzr-svn for my own branches. :)20:07
nevansNfNitLoop, I'm actually testing that out now to see if that combo works on my repo (it was broken in 1.7, 1.8)20:07
NfNitLoopyeah, I don't think bzr-svn worked with 1.8?20:08
NfNitLoopnevans: let me know if it fixes your issue and I'll give it a go with ours. :)20:08
nevansI've gotten into situations where "bzr pull" would work with an already exported repo... but an initial "bzr branch" wouldn't.20:08
NfNitLoopit'd be cool to just have svn for our trunk and then have bzr branches everywhere. :p20:09
LarstiQemmajane: cool, dropping by as backup20:09
NfNitLoopnevans: w/ 1.9?20:09
emmajanethanks, LarstiQ :)20:09
nevansNfNitLoop, not sure yet.  still doing the initial dump.20:09
LarstiQNfNitLoop: I started using bzr-svn for my own branches of stuff in svn.20:10
NfNitLoopnevans: Yeah, there are known issues with bzr branch w/ large svn repos.  svn1.4 python bindings have a memory leak.20:10
nevansit takes more than two hours to do a branch of my main project.20:10
NfNitLoopnevans: you can work around it by only pulling X number of revisions at a time.20:10
LarstiQNfNitLoop: now two of us are doing things in pure bzr, and two others have started using it as well (that's half the development team there)20:10
jelmerNfNitLoop, the stock svn python bindings are no longer used20:10
NfNitLoopjelmer: Oh?  Nice!20:10
NfNitLoopjelmer: is that new in the 1.9-compatible versoin?20:10
NfNitLoopnevans: Yeah, that bit's no fun, but once you have it in bzr, you can branch to other bzr branches, no?20:11
NfNitLoopand that should be speedier.20:11
nevansNfNitLoop, yep20:12
jelmerNfNitLoop, no, that's been in there since 0.4.1120:12
jelmer(compatible with bzr 1.5)20:12
nevansjelmer, ps u | grep [b]zr\ branch | awk '{ print $6 }' tells me that I'm using 1371548 and slowly growing.  :(20:12
NfNitLoopOhrealy?  (Has it been *that* long since I've played w/ bzr-svn?)20:13
NfNitLoopnevans: Yeah, that's the issue I had.20:13
nevanscopying revision 11839/15819 (been running for over an hour)20:13
nevansNfNitLoop, in the olden days, it would have run out of memory *long* ago20:13
NfNitLoophehe.20:13
NfNitLoopwell, hrmm, now I want to give it a try.20:14
gourjelmer: 0.4.14 works with 1.8?20:14
jelmergour, no, with 1.920:14
jelmergour, 0.4.13 works with 1.8 (although it may warn about being possibly incompatible)20:14
gourjelmer: hmm, then i cannot upgrade my archlinux pkgbuild 'cause arhc has bzr 1.820:15
gouryes, 0.4.13 spits some warnings20:15
jelmerbut other than that it should work fine with1.820:16
nevansNfNitLoop, one thing to be aware of with bzr-svn: there are currently some nasty race conditions (because bzr has different locking assumptions than svn), so I think that the "rebase/dpush" workflow is probably the safest right now.20:18
NfNitLoopnevans: I'm not familiar with rebase/dpush...20:19
gourjelmer: ok. i already put 0.4.13 in AUR20:20
jamjelmer: I saw you released 0.4.14, but I don't see the tag in lp:bzr-svn20:23
jamI guess it is in the 0.4 branch20:24
jelmeryeah, it's there in the 0.4 branch20:24
jelmerthe debian-experimental branch has debian-0.4.14-1 as tag I think20:24
NfNitLoopaww, 1.9/0.4.14 has the same issue w/ our svn repo.20:29
NfNitLoopSubversionException: ("REPORT request failed on '/svn/app/!svn/bc/19280'", 1750020:29
NfNitLoop2)20:29
NfNitLoopwhich I haven't really bothered tracking down.20:29
nevans:(20:30
nevansI'm still waiting for my branch: copying revision 12981/1581920:31
emmajanejelmer and LarstiQ thank you thank you thank you!!!!20:48
LarstiQemmajane: np :)20:48
NfNitLoopaha, apparently the REPORT issue is due to some incorrect proxying.20:49
NfNitLoopsvn log <url> gets the same error.20:49
NfNitLoop(after showing quite a few revisions)20:49
NfNitLoopI'll bug my sysadmins. :p20:49
LarstiQemmajane: thank you for running this intro session20:51
pooliehello LarstiQ, emmajane20:54
jelmernp :-)20:54
jelmer'morning poolie20:54
emmajaneLarstiQ: np :)20:54
poolieand jelmer20:54
jampoolie: hi, I forget DST switched :)20:56
poolieso confusing!20:56
pooliei actually bought a watch with a utc display :)20:56
pooliei wonder if it's tax deductible :-)20:56
jambusiness expense, right?20:57
jamI think it would be here20:57
poolieanyhow, want to talk soon?20:57
pooliemy net connection seems flakey so if i can't get through to you, can you call my landline?20:57
jamwith the caveat that 2% of your total income can go to business expense before they start actually giving you a deduction.20:57
pooliehm20:57
LarstiQhi poolie20:58
jampoolie: yeah, I'm just trying to get setup.exe working and documented on Kerguelen, give me a few minutes and I'll give you a call20:58
poolieok20:58
pooliehi20:58
emmajanethanks again everyone. that was awesome. :)20:58
LarstiQemmajane: cool :)20:59
emmajaneI resisted from saying, "That's not a beginner question!!" for most things. :) It was great to have you there as a backup! :)20:59
pooliewhat did you do, emmajane?21:00
emmajanepoolie: I taught people how to make and use a time machine^H^H^H^H Bazaar :)21:00
poolienice21:01
james_whey poolie. It's Ubuntu open week again.21:01
poolieoh, cool21:01
=== dobey_ is now known as dobey
nealmcbI just ran into this bug in my electionaudits project:  https://bugs.edge.launchpad.net/bzr/+bug/24517021:16
ubottuLaunchpad bug 245170 in bzr "file modification time not preserved by checkout" [Undecided,Confirmed]21:16
nealmcbAm I missing anything?21:16
* poolie looks21:16
poolieno, it's just not implemented21:17
pooliewe could have an option to set them to the time of the original commit21:18
pooliei'm not sure about storing the mtime they had when they were committed21:18
poolieperhaps that could be done in a plugin though21:18
nealmcbpoolie: thanks for looking.  would you know if there is an easy way to get python setup.py sdist to only include versioned files?21:18
* nealmcb is using setuptools_bzr21:19
pooliefor bzr, or for something else?21:19
nealmcbfor my project21:19
LarstiQand there is the problem of stupid buildsystems that look at timestamps, forcing you to touch everything to get what you're working on installed.21:19
LarstiQYes distutils, I'm looking at you *glare*21:19
nealmcbpoolie: setting the files all to the same time (e.g. commit time) wouldn't help me at all.  the mod time data is important to preserve for this.21:22
lifelessnealmcb: right now, we don't do that, You may find that etckeeper however has a layer on top to do so21:23
nealmcbLarstiQ: can you give an example?  I like smart build tools (make) that leverage timestamps.  That's why I want bzr to preserve that.  There was a huge flap when Nautilus stopped preserving file mod times in hardy21:23
jamnealmcb: you might look at the "etckeeper" project. I don't know if it preserves mtime, but I know it tracks file permissions, etc21:23
jammorning lifeless21:23
nealmcbjam thanks - I've looked at it before but didn't think of actually using it for this - hmmm21:24
lifelessnealmcb: *however* file systems datetime is not really an audit-safe property except on a couple of very specific file systems; myself I would not depend on it.21:24
LarstiQnealmcb: python setup.py install; bzr revert; python setup.py; curse at no changes being made to installed packages21:24
pooliewhat did Nautilus do?21:24
LarstiQnealmcb: or maybe it is slightly more complex with two different branches21:24
pooliei suppose you mean preserving them when copying files or something?21:24
jamdoes anyone know the exact revision for the qbzr 0.9.5 release? I'm packaging the win32 installer, and I just remembered that there may be some bugs in the tip of trunk21:24
LarstiQnealmcb: but I run into that too frequently :(21:24
lifelessnealmcb: for starters on FAT datetime on a file is only accurate to 3 seconds21:24
nealmcbLarstiQ: right - I call that a bug in bzr, not in distutils21:25
LarstiQnealmcb: this has nothing to do with bzr though21:25
LarstiQnealmcb: it works equally badly without using bzr at all21:25
LarstiQoh hmm, bzr revert would actually work21:26
LarstiQnealmcb: the problem, as far as I have determined, is that distutils looks at the timestamps of files it's about to install, and if they're older than what is installed, it does not execute that step21:26
nealmcbnautilus bug: https://bugs.edge.launchpad.net/ubuntu/hardy/+source/nautilus/+bug/21549921:28
ubottuLaunchpad bug 215499 in glib2.0 "Nautilus not preserving timestamps" [Medium,Fix released]21:28
nealmcblifeless: what do you mean by audit-safe?21:29
lifelessnealmcb: I mean can be modified with the modifier not necessrily visibl21:33
nealmcblifeless: hmm?  I'm still unclear on that21:35
LarstiQnealmcb: you need cooperation from everyone/tool that touches your files for the scheme to work.21:36
LarstiQnealmcb: it breaks very easily. So, using dates in filenumbers for example is a lot more robust to get chronological sorting.21:36
nevansI've got a problem where a revision in one repository has a different parent from a revision in another repository (because of a race condition in bzr-svn)21:40
emmajaneLarstiQ: thanks again for sticking around to answer questions in #ubuntu-classroom. It's very much appreciated!!21:40
emmajaneand james_w too, of course. :)21:40
nevansI've uncommitted the bad revisions from my branches... but I still can't pull from the good repo, because the bad revisions are still in the repo21:40
nevansis there an easy way to remove the revisions from the repo?21:40
NfNitLoopnevans: are they the most recent ones?21:40
nealmcbLarstiQ: true.  but e.g. my input files come from election software which doesn't do timestamping in the filename, and asking the user to get it right when they name hundreds of files is not good.  And this is just one example - file mod times are used all the time.21:41
NfNitLoopnevans: if so, 'uncommit'?21:41
nevansNfNitLoop, uncommit pulls them out of the branch... but pull still fails with ERROR: Revision {svn-v3-trunk1:0487d25d-142b-0410-8fcf-b82ac621bf97:crms%2Ftrunk:48813} not present in ...21:41
jelmernevans, uncommit doesn't remove revisions from the repository21:42
nevansjelmer: yeah I know.  how can I remove them from the repo now?  :)21:42
jelmernevans, but you can create a copy of the branch, that should hopefully not copy unreferenced revisions21:42
nevansit's a shared repo that I use for lots and lots of branches... I'd rather not recreate the entire thing.21:42
LarstiQnealmcb: do you have any influence over the tool that is used to process the files?21:43
NfNitLoopHrmm, wasn't there an addon that did garbage collecition for shared repos?21:43
LarstiQnealmcb: as a workaround, you could store the timestamps in a seperate file and commit that21:44
nealmcbI wish.  democracy wishes.  but it is closed source from the elections industry21:44
nealmcbLarstiQ: easier to just package a zip file, since there would be a post-install step anyway....21:45
nevansNfNitLoop, yeah.  that's basically what I'm looking for.21:45
NfNitLoopjelmer wrote a "remove-revisions" plugin.21:45
NfNitLoophttp://bazaar-vcs.org/BzrPlugins21:45
LarstiQemmajane: np21:46
* LarstiQ needs to go to sleep now though21:46
LarstiQemmajane: so thanks and succes with the rest of it :)21:46
emmajaneLarstiQ: sleep well and thanks and you're welcome. :)21:46
NfNitLoopnevans: but it was last updated in feb '07... dunno if that still works. :p21:47
nevansI might just take the long route: copy all of the branches into a new shared repo.21:48
nevansNfNitLoop, jelmer, at any rate, bzr-svn 1.9/0.4.14 seems to be working for me again (even if it did take 2.5 hours to do the initial branch)21:51
jelmernevans, cool21:52
NfNitLoopnevans: cool.  *jealous*   :p21:53
lifelessspiv: sp22:21
lifeless*so*22:21
lifelessthe initial push, is it transcoding perhaps ?22:21
spivlifeless: hmm, that's pretty likely actually.  usertest isn't really geared for test-this-format, it's geared around test-this-tool.22:22
spivlifeless: I can try tweaking development3 to be the default format22:23
lifelessnow for the slow fetches22:23
lifelessthat 100 batch smells like the converter code I wrote22:24
lifelessrepository.py:318822:24
spivAh, I see.22:25
spivThat does look highly likely.k22:25
* emmajane waves to meastp22:43
emmajaneI know that meastp had some follow up questions about Bazaar from Ubuntu Open Week, but I have to head out for a class. Hopefully there's still a few people around? :)22:43
emmajaneThanks again to everyone for their help today. It was great!22:44
meastpHi! I have a problem with repositories. I have done: init-repo --no-tree, branch lp:footrunk, done checkout on trunk, and branch lp:foofeature1. However my feature branches are empty...22:45
lifelessmeastp: because you used --no-trees22:54
lifelessmeastp: you will need to checkout each branch separately22:54
meastpoh.. What structure do you recommend for a shared repository?22:56
meastp*file structure... with --no-trees I have ../trunk and ../features/feature1-n22:57
lifelessthats fine22:57
Daniel999hi22:58
meastpbut can I keep that with --no-trees? Oh, so no-trees just affect the file structure _inside_ the brances?22:58
lifelessit just determines if a 'checkout .' is done implicitly after branching22:59
Daniel999Hello everybody22:59
lifelessyou would use --no-trees on servers, or when you want a separate  work area to your collection of branches22:59
meastpoh, so it has nothing to do with file structure, then?22:59
lifelessnothing at all23:00
Daniel999I'm having problems with cygwin branches, using sftp on non-common ports23:00
meastpoh.. I didn't understand that last bit, but I guess it doesn't matter for now...23:00
Daniel999i guess somebody could give me a hint here..23:00
lifelessDaniel999: you haven't described your problem or asked a question23:01
Daniel999ok, i'll describe the problem:23:01
Daniel999this is the command i'm using:23:02
Daniel999bzr branch -v sftp://dan@machine.com:3999/var/rep/terra_qa/testengine23:02
meastplifeless: ok, I did branch trunk and a feature branch. Unmodified files are in the feature branch, though...?23:03
lifelessmeastp: I don't know what you are asking23:03
Daniel999and i get this :   bzr: ERROR: [Errno 20] Not a directory: '/tmp/testengine/.bzr/checkout/limbo/new-4/hernan@machine.com:3999'23:03
Daniel999it seems like bzr is trying to make a temporal directory using a string containing ":"23:04
lifelessDaniel999: please file a bug; that is an internal path that we probably need to url escape to accomodate the ':' as ':' isn't usable on windows23:04
Odd_Blokejames_w: Thanks for looking at my installation thing BTW. :)23:04
lifelessDaniel999: as a workaround, create a .ssh/config file with an alias - something like23:04
lifelessHost port39923:05
lifeless    hostname machine.com23:05
meastplifeless: the feature branches are not sharing files with trunk... all files are in all three branches..23:05
lifeless    port 399923:05
lifelessmeastp: thats what you asked bzr to do23:05
meastplifeless: do I have to run a 'sync' command?23:05
lifelessmeastp: sync to do what?23:05
Daniel999cool! that should solve my problem23:06
lifelessmeastp: I think you're assuming I know something about what you want to achieve that I don't know23:06
lifelessDaniel999: please do file the bug though :023:06
Daniel999oh yeah!23:06
Daniel999thank you all!23:06
meastplifeless: I'm sorry, could you please tell me how to use a repository? It is supposed to share files between brances, but I can't get it to work...23:07
lifelessmeastp: ok, you've misunderstood what a repository does23:07
lifelessmeastp: *all* it does is means that the history of your branches is not duplicated per-branch23:07
lifelessmeastp: it doesn't affect your working areas where you write code or the behaviour of branches or anything else23:08
lifelessmeastp: if you look in your repository at the top level there is a .bzr/repository directory23:09
lifelessmeastp: inside that there is all the history of all your branches23:09
lifelessmeastp: each branch has a .bzr directory too, but they don't have a '.bzr/repository' directory.23:09
lifelessmeastp: and thats the space that you save23:09
orospakrargh, I hate it when I ^C an ssh password prompt, and while the bzr process dies right away, the ssh process keeps running for a while and spams the terminal with error messages. :(23:10
lifelessorospakr: hmm, would be nice to clean that up for you23:10
orospakr:D23:11
lifelessmeastp: if you want to work with many feature branches and not have a lot of disk space taken up by your working files, bzr can do that too23:11
meastplifeless: oh, so the common revision history isn't duplicated? I get it now... Your patience is appreciated :)23:12
meastpI guess what I thought is was, isn't really useful, anyway..23:12
meastpI could just branch trunk, remove files I don't need (for this feature) from the branch, right?23:14
Odd_Blokemeastp: If you were willing to fix their removal when you merged back into trunk, yeah.23:15
lifelessmeastp: uhm, what are you trying to accomplish with this deletion ?23:15
meastpOdd_Bloke: , lifeless : Yeah, just me being silly, I guess. It would not be very useful, when I think about it. I'm quite new to vcs'es, and dvcs is even more to learn, so bear with me :)23:17
lifelessmeastp: in a feature branch you should make those changes that you want made to trunk when you merge it23:18
lifelessmeastp: nothing more, nothing less23:18
meastpyeah... I just thought perhaps you didn't have to branch the whole trunk, for, say, a minor feature...23:19
lifelessyou can branch and switch a working tree to the new branch, which is less IO than making a full new working tree23:19
lifelessbut if you're new to all these things don't worry about optimisation23:20
lifelessjust get used to working with dvcs23:20
meastpI'll stick too basic branching for now, I guess... and focus on the project;) Past midnight already, and up at seven - I should go. You have been very patient and helpful. I really appreciate it!23:24

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