/srv/irclogs.ubuntu.com/2010/02/13/#bzr.txt

jelmerlifeless: into core please00:02
james_wlifeless: it makes the tree the same as the content of the tarball, so if you run it in your packaging branch it would lose your packaging changes00:56
=== webchick is now known as webchick|dog
lifelessjames_w: thats not what it should do though, it should do an import + pending merge00:57
lifelessjames_w: *or* it should just import to the tag00:57
lifelessjames_w: by should, I mean to be most useful.00:58
lifelessjames_w: this would also make it safe to run in a packaging branch :)00:58
james_wimport + pending merge == merge-upstream00:58
james_wimport to the tag and print the revision-id it created?00:59
lifelessjames_w: no, import + pending merge + debian changelog mangling == merge-upstream00:59
lifelessjames_w: yes. For instance: import-tarball --to-tag 1.4.200:59
james_wwell request a --no-changelog flag to merge-upstream if you don't want the last part00:59
lifelessdoesn't need to print the rev id, it would have made a tag.00:59
james_wthat's true01:00
lifelessanyhow my main point is, that this has nothing to do with debianisation01:00
lifelessit has everything to do with importing tarballs, so calling it dh_make is extremely confusion01:00
james_wdebianisation is import tarball + create packaging01:00
james_wI wanted to solve that use case01:00
lifelessand frankly, if you run 'import-tarball' or whatever the bzrtools existing command is and it makes everything look like the tarball, thats fine: bzr uncommit; bzr revert.01:01
lifelessno harm, no foul.01:01
james_wI added --bzr-only to just do the first step for those that don't want autogenerated packaging01:01
james_wso that leaves a way to "import tarball"01:01
lifelessjames_w: I'm glad you've solved that use case.01:01
james_wso I just mentioned that you can achieve what you want at the UI level as well now01:01
lifelessI'd like to see a precise command that acts as a building block, for several reasons01:01
lifeless - debugging01:01
lifeless - reuse01:01
lifeless - showing people the mechanics01:02
james_wI've never argued against having such a command01:02
lifelesscool01:02
james_wIt's just not high on my priority list01:02
james_wI would have happily merged a patch that did something sensible for an import-upstream command01:02
lifelessetime :)01:02
james_wand I would happily merge one now that built in the work I have just done, which should make it even easier01:03
james_wthat's fine, but I'm not blessed with bags of time either01:03
lifelessI know01:05
lifelessI recall a mail along the lines of 'done the command you asked for, its called dh_make'01:05
lifelesswhich prompted this conversation, as it wasn't what I asked for (for all that it is a good thing to have).01:06
james_wthat's not how I intended it to come across01:07
lifelessmiscommunication happens, we deal :)01:07
lifelessI'm glad you have done what you've done01:07
lifelesswhen someone gets time other things can get done01:08
james_w"if you have a need to you (lifeless) can now access this functionality at the UI level, rather than just the API by doing bzr dh_make --bzr-only. You'll still have to make a temporary branch for the upstream."01:08
lifelessjames_w: separate discussion: when someone does merge-upstream --version=4 foo-4.tar.gz ../trunk01:08
lifelessdoes bzr-builddeb look to see if other commands have been done in trunk ?01:09
james_wother commands?01:09
lifelessor perhaps take a tag in trunk (of '4') in preference to tip ?01:09
lifelesss/commands/commits/01:09
james_wI've been pondering this01:10
lifelessI'm thinking of the scenario where someone doesn't have a dedicated 'releases' branch01:10
james_wcurrently it expects -r to specify it it's not tip01:10
lifelessthis would apply to import-upstream too, I should think (as its the tarball revision's parents we're talking about)01:10
james_wit has functionality to remember the upstream branch, in which case I will make it look up the tag and require the -r if not there01:11
james_wit should perhaps always have that behaviour01:11
lifelessof wanting -r ?01:11
lifelessI hate optional-options :)01:11
=== webchick|dog is now known as webchick
james_wrequired options?01:13
james_wI know, but I also hate inconsistent ways of specifying things like revision specs01:14
james_wand we could add some sort of tag pattern configuration for those that use foo-4 or FOO_4 or whatever as their tags01:15
lifelessyeah01:15
lifelessI'd like to offer a reliable way for upstreams using bzr to say 'I made a tarball of this revision'01:15
lifelesswe can advertise that01:15
lifelesstell people to hook 'make dist' into it, etc.01:16
james_wthat would be cool01:20
james_wthere was a patch for autotools around01:20
james_wfor git, but still01:20
lifelessjml: http://pypi.python.org/pypi/unittest2/0.1.4 ><01:57
=== webchick is now known as webchick|stuff
jjardonHello, Is there any command similar to "git grep" in bzr?04:18
mgolischbzr grep? but i dont think its builtin04:31
AfCjjardon: well, if you'll tell us what `git grep` does, perhaps we can speculate whether there is a way to achieve that effect with the bzr ecosystem.04:31
jjardonoh, yeah, sorry. Is similat to 'rgrep "something" *', but only search in the tracked git files04:32
mgolischquite sure i saw a plugin like that somewhere, no idea bout its state though04:33
mgolischhttps://code.launchpad.net/~vila/bzr/grep04:34
mgolischseems quite old though04:35
jjardonmgolisch, thank you04:45
AfCjjardon: there's Robert's "bzr search" plugin. I'm not sure what state that's in, but I just heard him request someone to update the packaging, so it can't be that bad04:48
AfCjjardon: or, you can just do04:49
AfC$ bzr ls -R | xargs grep something04:49
jjardonAfC, thank you for the tip04:51
RyNy_How do I found out the location of the bazaar executable on my computer? Need to tell Eclipse that to use the Eclipse Bazaar Plugin.05:20
RyNy_Running Mac OS X 10.5.05:20
KilrooDoes OS X have the which command?05:21
RyNy_not sure?05:21
KilrooTry which bzr in a terminal and see if it says something useful.05:21
RyNy_result is /usr/local/bin/bzr05:22
KilrooThat's probably it then.05:22
KilrooUnless you somehow have it installed twice.05:22
RyNy_makes sense, but I have to use eclipse's file browser to choose the executable and I don't see it.05:24
KilrooOdd. I could have sworn I remembered being able to type it in.05:31
mgolischstill wonder why they hide those dirs05:33
mgolisch:)05:34
mgolischbut i would have thought that only finder cares for those strange file atributes they set to hide files05:35
mgolischor directories05:35
RyNy_ok I found in the Finder. usr is a hidden directory at root05:38
RyNy_Not sure if Eclipse will let me browse to a hidden directory. Don't think I can type in path either.05:44
dutchieI think I'm being an idiot, but I don't understand merge conflict markers11:57
dutchiein http://pastebin.com/m3a15020e say, which is the one from the branch I'm merging in?11:58
Pengdutchie: ISTM it's the second one.12:02
Pengdutchie: "TREE" refers to what you had in the working tree before the merge, so "MERGE-SOURCE" would have to be the branch you're merging in.12:02
Pengdutchie: Probably.12:02
Pengdutchie: Usually it's easy to tell from the code. :P12:02
dutchieyeah, it's a bit harder when it's po files for a language I can't read12:03
PengFun.12:03
jmllifeless, yeah, I've been following on twitter but haven't had a chance to analyze it.12:04
PengMaybe you should tell the translator to fix it.12:04
Pengjml: Eh, what's on Twitter?12:04
jmlPeng: unittest2 -- Michael Foord has been talking about it12:04
dutchiehttp://pastebin.com/m22be835812:04
dutchielots of arabic12:04
dutchiebut it seems to have disappeared in MERGE_SOUCE12:05
dutchiebah, MERGE-SOURCE12:05
Pengdutchie: And it's escaped, too... Awesome.12:05
dutchiethat's pastebin's fault12:05
dutchieI can see it fine in my editor12:05
PengOh. Even more awesome.12:05
maxbjelmer: Hi, what is the difference in purpose between your trunk and trunk-mirrored branches of bzr-rebase on people.samba.org ?15:54
maxbjelmer: Also, perhaps the time has come to finish the bzr-rebase -> bzr-rewrite rename and end the confusion?15:54
fullermdSo, you want to rewrite the rebase rename?16:00
maxbhuh?16:01
maxbAnd I think I've answered my first question, by discovering that Launchpad won't let you register a remote URL as both a remote branch and a mirrored branch16:02
fullermdOh, don't mine me, I'm just playing with prefixes.16:02
* maxb cheats, and composes an URL which is unequal yet functionally identical16:03
jelmermaxb: The package needs to be renamed in Debian first..17:04
jelmermaxb: I haven't had time to take care of that yet17:04
=== radoe_ is now known as radoe
maxbjelmer: Why is renaming the Debian package a prerequisite to finishing the rename in the upstream project?17:36
ed-209I seem to be getting this error, ERROR: The user name ed-209 is not registered on Launchpad19:44
ed-209when I do a: bzr launchpad-login ed-20919:44
ed-209but I am registered at launchpad with that username19:45
ed-209this is 2.0.419:46
maxbed-209: In fact, no, you are not registered at Launchpad with that name20:09
ed-209oh thats the dumb screen name20:16
lifelessmoin20:38

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