/srv/irclogs.ubuntu.com/2010/07/06/#bzr.txt

spivGood morning.00:58
pooliehi there spiv01:16
pooliemkanat, hi?01:16
mkanatHey poolie!01:16
lifelessmoin01:46
pooliespiv, where is the 'tc qdisc' thing documented?02:35
pooliei can't find it in the doc directory02:35
spivHmm02:39
spivI guess it's just documented on the wiki, not in the doc directory.02:40
spivi.e. http://wiki.bazaar.canonical.com/SmartPushAnalysis1.402:41
swathanthrani did one commit over the trunk, now i see the changes from upstream needs to be merged, now i prefer to "move" my commit to another branch and keep the trunk clean. what should i do?03:30
spivswathanthran: how about "bzr branch -r -2 . ../clean-trunk"?03:35
spivOr alternatively "bzr branch . ../new-branch && bzr pull --overwrite upstream-url"03:37
swathanthranok, my free net time is over now, so will those methods lose the downloaded-but-not-merged changes? (All i did was a commit over the trunk and "bzr pull" ended saying "these branches have diverged.. use merge to reconsile them"..03:42
spivNo, they won't lose any data.03:44
swathanthranthats great:) thanks..03:44
swathanthranso now, i should do bzr merge on clean-trunk?03:46
swathanthrani did bzr branch -r -2 . ../clean-trunk03:47
spivclean-trunk will have all but the last commit from your original branch03:48
spivIf you want to keep it as a mirror of the upstream trunk then pull rather than merge.03:48
spiv(Also, you probably want to use a shared repository for these branches to save space and time)03:49
=== r0bby is now known as robbyoconnor
lifelessspiv: ping; hey :- are you in the middle of a patch at the moment ?05:05
spmbzr workflow question. have pristine branch of trunk; bzr merge <proposed> ; a bug is found, updates pushed to same place merge from place as new revno. Do I bzr revert and re-merge; or simply bzr merge again and bzr will DTRT?05:25
lifelessrevert and remerge05:25
spmcool; that's what I've been doing, but did wonder. ta05:25
lifelessbe nice if running merge again Just Worked but I'm pretty sure it will currently Just Hit You Hard05:25
spmheh05:26
spivlifeless: was in the middle of lunch, actually :P05:31
lifelessspiv: :) I meant a slightly larger scope than that :>05:32
spivI am fairly deep in 522637 atm :)05:34
lifelessbug 52263705:34
ubot5Launchpad bug 522637 in Bazaar "BzrCheckError: Cannot add revision(s) to repository: missing referenced chk root keys (affected: 11, heat: 58)" [High,In progress] https://launchpad.net/bugs/52263705:34
lifelessawesome05:34
lifelessjames_w: so, I don't have dh_make installed06:02
lifelessnevermind06:02
lifelessPEBCAK06:02
vilahi all07:59
fullermdWell, there goes the neighborhood...08:00
vilafullermd: hey ! long time no see :)08:02
fullermdI've been hiding out.  Safer that way.08:03
pooliehi there vila08:05
vilahey poolie08:05
vilapoolie: I just sent the rfc/summary about config locks08:05
pooliehey, thanks08:07
pooliethat's pretty good08:09
pooliei think even a little more overview could be good, next time08:09
vilaok08:10
vilapoolie: hmm, just reading your doc-testing mp, I think the dependency for --parallel=fork is testtools, not subunit08:13
poolieisn't testtools always required?08:15
poolieto run selfttest08:15
vilait is08:16
pooliein other words i think you need testtools to run selftest at all08:16
pooliebut if you want to run --parallel then you will also need subunit08:16
vilayes you need testtools anyway, I can't remember if subunit is a soft dependency or not08:17
vilapoolie: why ?08:17
lifelesshai08:17
pooliebecause we use subunit streams between the subprocesses and the master08:17
vilaoh yes, sorry, I didn't check for_for_tests, nevermind08:18
vilafork_for_tests08:19
pooliehi vila08:28
lifelesshttp://whatthecommit.com/08:43
fullermdSo, we need a plugin...?   :p08:46
lifelessyes08:46
lifelessyes we do08:46
fullermdThe sobering (or drunkening, really) part is that doing that would probably improve the quality of commit messages in a non-trivial percentage of cases...08:47
lifelessbah08:48
GaryvdMIt's not often that you see 2 identical mp10:36
GaryvdMhttps://code.edge.launchpad.net/~jelmer/bzr-pipeline/missing-lplib/+merge/2584310:36
GaryvdMhttps://code.edge.launchpad.net/~gz/bzr-pipeline/no_launchpadlib_needed_601466/+merge/2915610:36
lifelessjames_w: hai10:41
=== lifeless_ is now known as lifeless
Automaattimarsuanyone here familiar with checking newest revision from bzr branch with hudson when trying to do continous integration?12:04
GaryvdMAutomaattimarsu: Maybe vila may be able to help you.12:10
GaryvdMAutomaattimarsu: What's wrong?12:11
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
AutomaattimarsuGaryvdM: its just the lack of instructions pretty much everywhere connected to hudson and its plugins. No apis anywhere or anything12:51
Automaattimarsuor atleast I cant find any12:51
AutomaattimarsuI'm trying to get it so, that hudson would check the bzr revision from my trunk and if there are any changes, it would run a new build and restart the server o.012:55
maxbAutomaattimarsu: I don't know much about Hudson. Perhaps you could execute `bzr revno` ?12:59
maxbOr perhaps `bzr revision-info` to detect a change even if it is a push --overwrite which doesn't change the revno12:59
vilaAutomaattimarsu: most of it is automatic, what is your specific need ?13:09
vilaAutomaattimarsu: ha, yes, running on new commits only right ? Hmm, I haven't dig that so far (I'm happy with 'Poll SCM' with '@daily' for schedule) but it should be a hudson thing not specifically a bzr one13:12
vilaAutomaattimarsu: the help there mentions a "push" trigger and a link https://hudson.dev.java.net/build.html13:13
vilaGaryvdM: hi :)13:14
GaryvdMHi vila13:14
Automaattimarsuvila: hudson doesnt have bzr scm by default does it?13:34
Automaattimarsuif it does, whats its syntax13:35
Automaattimarsui havent been able to find that anywhere D:13:35
vilaAutomaattimarsu: haaaa, you need to install the plugin first13:35
Automaattimarsuis it the one from launchpad?13:35
vilanot at all, the hudson one, search in manage husdon/plugins13:36
Automaattimarsui do have hudon plugin for bazaar13:36
vilaha, ok13:36
Automaattimarsuhudson*13:36
Automaattimarsubut I couldnt find any documentation on how the Poll SCM works13:37
vilathen in your job description you should have a Source Code Management section13:37
Automaattimarsusince the default one only handles CVS13:37
vilaand there there should be a Bazaar choice available13:37
Automaattimarsuyeah i have bazaar there o_o13:37
vilaAutomaattimarsu: easy to miss if you looked there *before* installing the plugin ;)13:38
Automaattimarsutrue13:38
Automaattimarsui read somewhere that the default (hudson) plugin always returns false on revision change checks o.o13:39
vilaAutomaattimarsu: how it's implemented is a bit unclear to me, but I suspect they use a generic solution that requires keeping the source tree on the master13:40
vilageneric here means working for any SCM13:40
Automaattimarsuhmm13:41
AutomaattimarsuGuess I'd need to check it after some changes are made13:41
vilaAutomaattimarsu: But how do check what the plugin is returning ? It looks quite opaque to me...13:42
vilas/how do/how do you/13:42
Automaattimarsuvila: i just checked some of the issues on the plugin page13:42
vilaha13:42
Automaattimarsu:D i'll leave how they managed to get that information to the ones that are smarter than me13:43
vilaAutomaattimarsu: hehe, I hoped you were smarter than me then ;)13:43
Automaattimarsuif i was, i'd recon i would not be here asking questions lol13:43
vilabeing smart doesn't imply knowing everything, asking questions *is* smart :)13:44
Automaattimarsuguess so :P13:44
Automaattimarsuim a bit new to this bzr thing to begin with, let alone hudson13:45
Automaattimarsusilly technologies13:45
vilafir silly values including smart ? =)13:46
vilas/fir/for/ typo-in-joke rule striking13:46
GaryvdMvila: do you not use the bzr plugin for babune?14:02
vilaGaryvdM: I do use it of course :)14:02
vilaGaryvdM: but it's a hudson plugin not a bzr plugin, or did I misunderstood your misunderstanding ? :-P14:03
GaryvdMNo - thats what I meant.14:03
GaryvdMvila: Something you said made me think so.14:04
GaryvdMHi jam14:35
GaryvdMI have a windows installer which I think is a release candidate.14:36
GaryvdMGoing to test it, and then upload to lp.14:36
GaryvdM:-)14:36
GaryvdMhttp://dl.dropbox.com/u/4494367/bzr-2.2b3-2-setup.exe14:38
GaryvdMjam: This is how I specified the release tags: http://bazaar.launchpad.net/~garyvdm/bzr-windows-installers/maybe/revision/12614:44
GaryvdMjam: Ian did most of it, just had to do the last little bit.14:45
jamGaryvdM: you should be using Ubuntu-one for your hosting :)15:33
jamanyway, glad it is working.15:33
jamI'm not super happy with the syntax, but it is reasonable15:33
GaryvdMjam: I'm not happy with the syntax either, any suggestions?15:34
jamwell, #1 is you should be using "revision='tag:foo'" rather than "revision = 'tag:foo'" :)15:34
GaryvdMOk15:34
jamI wonder if for our purposes using a property sort of thing for:15:35
jambzrtools.copy_write(tag='release-2.2.0') and fastimport.copy_write(revno=275)15:35
jam(or revno='275')15:35
jamthe idea is that 'tag' and 'revno' could directly translate themselves into "tag:XXX"15:36
jamrather than saying: revision="tag:release-2.2.0"15:36
GaryvdMOk15:36
jamI would probably rename "revision" to "revision_spec" or "revspec"15:36
jamsince it isn't a revision-id, etc15:36
GaryvdMAre you ok with me putting out a build with some dev plugins?15:37
GaryvdMsvn etc...15:37
jamGaryvdM: well, I don't really like doing it, but if jelmer doesn't make a release of bzr-svn which is compatible with bzr2.2 we don't have much of a choice15:38
jamhey jelmer, you've had 4 months, what's up with that? :)15:38
GaryvdMI'm getting this error: http://pastebin.org/384461 with my 2.2b3 build, but not the bzr.dev build.15:39
jammgz: ^^15:40
jamGaryvdM: the specific error was turned into a warning, or maybe even into just a test-suite failure15:40
jamhowever, I think it really does indicate that the doc strings are getting stripped15:40
jamand we need to watch out for that15:40
jamas we don't want to ship bzr and have "bzr help explorer" fail15:41
GaryvdMjam: But qlog does have help, so I think it is to do with -OO15:41
jamIt is sort of a shame we can't keep the error to help us15:41
jamGaryvdM: that's my point and why I mentioned mgz :)15:41
GaryvdMjam: I saw some code that turned on -OO for bzr, but off for plugins.15:42
GaryvdMTrying to locate it...15:42
jamGaryvdM: https://code.launchpad.net/~gz/bzr/installer_plugin_script_timestamp_rounding/+merge/29157 is part of the issue15:42
jamGaryvdM: its in setup.py15:42
jamthe issue is that if you get the timestamps wrong15:42
jamat install time15:42
jamthen at run-time the .pyo gets rebuilt on-the-fly15:42
jamand since bzr.exe is running as -OO everything gets stripped15:42
jamalso note that manually installed plugins (stuff in BZR_PLUGIN_PATH) will also end up stripped always15:43
jamwhich we don't really want15:43
jamthough we can configure plugins to use the new '__doc__ == """' syntax15:43
jamsorry15:43
jam__doc__ = """15:43
jamsyntax15:43
GaryvdMjam: configure, or change the code?15:44
jamvila: ping about https://code.launchpad.net/~vila/bzr/cleanup-docs/+merge/2921115:45
jamGaryvdM: you have to change the plugin15:45
jamso instead of15:45
jamclass cmd_foo(...):15:45
jam  """My docstring15:45
jamthey do15:45
jamclass cmd_foo(...0:15:46
GaryvdMok - got you...15:46
jam  __doc__ = """My docstring15:46
jamlook at bzrlib/builtins.py for the example15:46
jamI'm not 100% sure what the answer is for the 2.2 release15:46
jamwe may just back out the change15:46
jamwe may go around and push changes to all plugins we can find15:46
GaryvdMback out -OO?15:47
jamright15:48
GaryvdMmgz: Do you have metrics on how much -OO improves the cold start?15:49
vilajam: ping15:52
vilajam: pOng15:52
jamvila: the '|--|' thing seems to be pretty pervasive in our codebase, I'm not sure how you say "I couldn't find where it is used"15:52
jam(Perhaps not in index.txt itself, but in lots of other files)15:52
vilajam: I suspect I searched the _build hierarchy which may not copy doc/developers15:53
vilajam: or I search doc/en instead of doc/15:54
jamvila: I don't really know the answer. I also don't know why '--' is important, though perhaps it was an editing artifact15:55
jamsomebody edited the docs and it inserted the --15:55
jamand then somebody cleaned it up to rest so that it kept the unicode char15:55
jamhttp://en.wikipedia.org/wiki/Dash15:56
vilayeah, that's my point, if it makes html prettier, makes it html specific15:56
vilanow that I know where to look I can try to find an alternative15:56
vilajam: yeah, looks like doc/developers is not taken into account in the shinx build15:57
jamvila: "en dash is used to compare things, em dash is used to demarcate a parenthetical thought"15:57
jamso it isn't just about html prettiness15:58
jamthough I don't know if non typographical humans know the difference15:58
vilajam: then the rest spirit would be to detect it, not require an artifact15:58
vilaespecially a unicode one :)15:58
vilajam: and I think all readers won't mind reading -- instead of an em dash16:01
vilajam: but more to the point: it's a blocker so the easiest thing was to get rid of it16:02
vilajam: argh, rest recognizes unicode : http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html (search for em dash) but doesn't seem to provide an alternative16:03
jamvila: so you can put a literal em dash in your text (after setting the text encoding properly), but you can't supply an ascii variant?16:05
jamthough I'll mentioned16:05
jamwe did it just fine by pulling it out to an insert glyph-here command16:05
jamand I don't know why texinfo is being unhappy16:06
jamit doesn't support non-ascii?16:06
vilajam: I need to check again but from memory, yes, unicode was causing problems16:07
jamvila: sounds like a texinfo bug16:07
jamgiven that it is an international project, not supporting i18n for your preferred documentation seems limiting16:07
jamvila: anyway, -- is fine with me, though why not just do '-' is beyond my understanding16:08
vilakind of out of scope here :)16:08
jamvila: perhaps, but we can treat it as a bug on their end16:08
vilasure, once I get a working texinfo writer I'll be more demanding16:08
vilaBut I need to reconsider anyway since there *are* uses16:09
vilaI should at least look at them16:09
GaryvdMNight all - Bed early tonight17:11
janisozaurin svn I can "svn log -r BASE:HEAD", it shows the commit logs between what I have locally and what server has. how can I achieve the same in bzr?19:19
mgzmissed garyvdm... will respond anyway so he can read the log19:56
mgz<GaryvdM> It's not often that you see 2 identical mp <- oh man, I checked for bugs before doing that, but didn't think to look for unmerged proposals19:56
mgz<GaryvdM> I'm getting this error: http://pastebin.org/384461 with my 2.2b3 build, but not the bzr.dev build. <- this is showing you've not got the complete fix for bug 600803 in yet, there's your qbzr file is getting recompiled19:57
ubot5Launchpad bug 600803 in Bazaar Windows Installers "Plugin pyo files may be ignored and recreated from source (affected: 3, heat: 14)" [Undecided,New] https://launchpad.net/bugs/60080319:57
mgzthe docstring problem and hard error is actually quite useful here to find that19:58
mgzbut as jam says, it might be best to back the -OO thing out for this release still, as there are still going to be a few cases where plugins will lose their help19:59
jammgz: well, we could ensure that all plugins being bundled into 2.2 will have the docstrings fixed20:00
jamnot as easy as just rolling back your change, but better *progress* :)20:00
mgzwell, that's not the problem once the installer bug is fixed20:00
lifelessmornink20:00
mgzthey'll be compiled with optimize=1 and no longer recompiled at runtime20:01
jammgz: except for the stuff people start manually installing, which may be new versions of the bundled plugins20:01
jamwhich would fail again20:01
jamhi lifeless20:01
mgzthe only issue is BZR_PLUGINS with source, rather than installed, plugins20:01
mgzright.20:01
mgzcan someone kick aaron to merge jelmer's bzr-pipeline proposal and reject mine?20:02
jamabentley: kick ^^20:03
mgzjust so it doesn't get written for a third time ;)20:03
abentleyjam: ow20:04
jamabentley: soft pat and cookies20:04
mgzhm, trying to assign the bug to jelmer gives me a funky pink "Constraint not satisfied" error20:09
lifelesswow20:09
lifelessscreenshot + bug file please!20:09
mgzhttp://float.endofinternet.org/temp/launchpad_constraint_not_satisfied.png20:12
lifelessyeah20:13
lifelessthats not meant to happen. Bug filing time! bugs.launchpad.net/malone20:13
mwhudsonthat's like the worst error message ever20:13
lifelessit will help to know if you're on edge or production, too.20:13
mwhudsonand launchpad is all too happy to give it out :(20:13
lifelessmwhudson: stop being so positive.20:13
mgzthat was edge, just tried production and it worked.20:21
lifelessright - please file :)20:27
mgz<lifeless> right - please file :) <- Timeout error ... (Error ID: OOPS-1648C1494)20:38
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1648C149420:38
mgzI'll get that bug filed in the end.20:38
lifelessargh20:44
xnoxwhen i do $ bzr merge -r 8..9 ../trunk/ to backport a fix, how can I make bzr reuse commit message?21:13
mgzThat's a cherrypick, not the same revision, so you probably don't want to reuse the exact message but instead say "Cherrypick fix for..."21:15
xnoxmgz, true except that the log message are long and descrptive (../trunk/ is svn with very large commits)21:17
xnoxI've ended up copy pasting the output from $ bzr log =)21:17
=== lifeless_ is now known as lifeless
mgzlifeless: who was it you said was interested in launchpad bug mail issues?23:37
mgzI found bug 474615 which is basically my gmail filtering problem.23:38
ubot5Launchpad bug 474615 in Launchpad Bugs "lp email 'rationale' header should use most specific criterion, or add header for direct subscription (affected: 2, heat: 8)" [Low,Triaged] https://launchpad.net/bugs/47461523:38
=== Chex changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jam | bzr 2.1.1 is out | bzr 2.1.2 is having binaries built for it | Launchpad down/read-only from 23:00 - 00:30 UTC for a code update

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