rename plugin to push_and_update to allow it to just work with bazaar plugin system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plugin to Update Remote Trees |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi all:
I'm new to install plugins in bazaar, and yours was my first attempt. I followed instructions on http://
(i.e. branched from lp in my home .bazaar/plugins/ directory).
However, when I requested bazaar to display the installed plugins, I got this message regarding your plugin:
-------
invalid syntax (<string>, line 1)
Unable to load 'bzr-push-
-------
I renamed the whole folder to push_and_update, and bzr plugins then showed your plugin as another of the installed plugins.
So maybe renaming the plugin might be worth to reduce the number of steps needed for newbies for the plugin to work?
Just a hint, and thanks for this plugin! (a pity that bazaar can't update a working tree over sftp)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/8/2011 8:53 AM, Xavi wrote: doc.bazaar. canonical. com/plugins/ en installation. html ------- ------- ------- ------- ------- ------- ------- ---- and-update' in '/home/ xavi/.bazaar/ plugins' as a plugin because the file path isn't a valid module name; try renaming it to 'push_and_update'. ------- ------- ------- ------- ------- ------- ------- ----
> Public bug reported:
>
> Hi all:
>
> I'm new to install plugins in bazaar, and yours was my first attempt. I
> followed instructions on http://
> /plugin-
>
> (i.e. branched from lp in my home .bazaar/plugins/ directory).
> However, when I requested bazaar to display the installed plugins, I got this message regarding your plugin:
>
> -------
> invalid syntax (<string>, line 1)
> Unable to load 'bzr-push-
> -------
>
> I renamed the whole folder to push_and_update, and bzr plugins then showed your plugin as another of the installed plugins.
> So maybe renaming the plugin might be worth to reduce the number of steps needed for newbies for the plugin to work?
> Just a hint, and thanks for this plugin! (a pity that bazaar can't update a working tree over sftp)
status: wontfix
Unfortunately, I'm following the standard naming scheme. We label all
plugins "bzr-XXX" so that it isn't confusing on Launchpad. Eg 'bzr-git'
is the plugin for 'git' interoperability. Since we are already naming it
'bzr-XXX', then you have to specify a target name anyway. We added the
code in the importer to help people realize that they need to rename it
to conform to python standards.
If this plugin were packaged, the packaging would make sure it was put
with the correct name. It is only an issue for people checking out directly.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
16s4ACgkQJdeBCY SNAAN5xACfbulVq vfZvKe976YRuxrM hWzQ JP+JehkyD1MQXRJ ZX
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk1
alUAnRhWOR4YCso
=qIFp
-----END PGP SIGNATURE-----