quicksilver | can you run bzr cat on a remote repo? | 10:53 |
---|---|---|
LeoNerd | I would imagine so | 11:19 |
josharenson | Anyone have bzr-rewrite working on ubuntu xenial? Its not in the archive, and when I install from source, bzr doesn't recognize the plugin. | 17:46 |
rwilbur | @josharenson: Are you using bzr-2.7.0? If so, try changing bzr-rewrite/info.py:bzr_compatible_versions to include (2, 7, 0) and see if that helps. | 19:33 |
josharenson | rwilbur: I'm using 2.7.11, will 2,7,0 still work? | 19:41 |
josharenson | nm, I see | 19:43 |
rwilbur | josharenson: I'm guessing you're using Python 2.7.11 which should support bzr 2.7.0 just fine. bzr-rewrite is more worried about the bzr version (2, 7, 0), in this case. | 19:44 |
josharenson | rwilbur: yeah I saw that :-p I added 2,7,0 and rebuild/installed but bzr plugins still doesn't show it | 19:45 |
josharenson | rwilbur: oh I got it working.. had to rename the directory so bzr would like it | 19:49 |
rwilbur | josharenson: Good job! I've found that bzr prefers plugins to have underscores instead of dashes in the directory name. Another option would be to make a symbolic link using underscores. | 19:51 |
josharenson | rwilbur: :-) noted. thanks | 19:51 |
vila | rwilbur, josharenson: plugins are loaded in the python namespace bzrlib.plugins.<plugin_name>, the directories have to be valid python identifiers | 20:26 |
josharenson | vila: makes sense... its just interesting that the launchpad url for the plugin is broken out of the box | 20:26 |
vila | Or you need to use BZR_PLUGINS_AT=<plugin_name>@<plugin_directory> to assist | 20:26 |
vila | josharenson: histerical raisins :-/ | 20:27 |
rwilbur | vila: Thanks for that explanation. Now it makes a lot more sense. | 20:27 |
josharenson | vila: yeah, bummer that can't be changed | 20:27 |
rwilbur | I didn't know about BZR_PLUGINS_AT. Is that in the configuration file? | 20:27 |
vila | rwilbur: sorry, environment variable | 20:28 |
vila | bzr help env-variables | 20:28 |
vila | BZR_PLUGINS_AT Plugins to load from a directory not in BZR_PLUGIN_PATH. | 20:29 |
vila | hmpf, a bit short to understand how it can help here :-/ | 20:29 |
rwilbur | vila: Yeah, I like your explanation better than the bzr help;>) | 20:30 |
vila | http://doc.bazaar.canonical.com/bzr.dev/en/user-reference/configuration-help.html#bzr-plugins-at is lisghtly better | 20:31 |
vila | *slightly (probably a freudian slip for lightly ;) | 20:31 |
vila | josharenson: the lp url is not broken, the project name can't avoid prefixing with bzr- (think bzr-svn for svn), so it's a friction between bzr and launchpad. One idea that was discussed in the past was to find some way to configure (instead of inherit) the local branch name from the remote branch name. But it's an edge case. Every plugin hacker runs into it, understand the issue and... swallow it. That leaves little work force to fix it ;-) | 20:37 |
josharenson | vila: :-) gotcha | 20:38 |
=== Peng_ is now known as Peng | ||
=== yena_ is now known as yena |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!