lp:~bzr/bzr/412930-plugin-path

Created by Vincent Ladeuil on 2009-08-19 and last modified on 2009-08-21
Get this branch:
bzr branch lp:~bzr/bzr/412930-plugin-path
Members of Bazaar Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Bazaar Developers
Project:
Bazaar
Status:
Merged

Recent revisions

4633. By Vincent Ladeuil on 2009-08-21

Fixes prompted by review.

* bzrlib/tests/test_plugins.py:
(TestEnvPluginPath.test_duplicates_are_removed): Check that paths
are clean.
(TestEnvPluginPath.test_bogus_references): Check robustness.

* bzrlib/plugin.py:
(get_site_plugin_path): Windows has no idea of a 'site' directory.
(get_standard_plugins_path): Simplified.

* bzrlib/help_topics/en/configuration.txt:
Fix typos and bad grammar.

4632. By Vincent Ladeuil on 2009-08-20

Be ready to delete get_default_plugin_path().

* bzrlib/plugin.py:
(get_default_plugin_path): Mark deprecated.

4631. By Vincent Ladeuil on 2009-08-20

Update doc and add NEWS entry.

* bzrlib/tests/test_plugins.py:
(TestEnvPluginPath.test_disable_core,
TestEnvPluginPath.test_disable_site,
TestEnvPluginPath.test_override_site,
TestEnvPluginPath.test_override_core):

* bzrlib/plugin.py:
(get_standard_plugins_path): Give a better explanantion and don't
break compatibility.

* bzrlib/help_topics/en/configuration.txt:
(BZR_PLUGIN_PATH): Update doc.

* doc/en/user-guide/plugins.txt:
Fix doc.

* doc/en/user-guide/writing_a_plugin.txt:
Fix doc.

4630. By Vincent Ladeuil on 2009-08-20

Add [+-]{user|core|site} handling in BZR_PLUGIN_PATH.

* bzrlib/plugin.py:
(get_standard_plugins_path): Change the way the BZR_PLUGIN_PATH is
handled to give more control.

* bzrlib/tests/test_plugins.py:
(TestSetPluginsPath): Deleted, covered by other tests.
(TestLoadFromPath.test_get_standard_plugins_path,
TestLoadFromPath.test_get_standard_plugins_path_env): Fix the
failing parts covered elsewhere.
(TestEnvPluginPath): Add tests for the new behaviors.

4629. By Vincent Ladeuil on 2009-08-19

Start introducing accessors for plugin paths.

* bzrlib/tests/test_plugins.py:
(clear_plugins): Deleted (or rather turned into a proper setUp).
(TestLoadFromPath): Use a proper setUp.
(TestLoadPlugins): Merged into TestLoadFromPath.
(TestEnvPluginPath): Start simple tests for path composition.

* bzrlib/plugin.py:
(_append_new_path): New helper.
(get_core_plugin_path, get_site_plugin_path,
get_user_plugin_path): New accessors.

4628. By Canonical.com Patch Queue Manager <email address hidden> on 2009-08-19

(robertc) Tweak log test changes made for 2a-default as per igc's
 review. (Robert Collins)

4627. By Canonical.com Patch Queue Manager <email address hidden> on 2009-08-18

(robertc) Change the default format to 2a. (Robert Collins)

4626. By Canonical.com Patch Queue Manager <email address hidden> on 2009-08-18

(vila) Better test suite behavior for cygwin

4625. By Canonical.com Patch Queue Manager <email address hidden> on 2009-08-18

(Matthew Fuller) Tweak some code in RevisionSpec

4624. By Canonical.com Patch Queue Manager <email address hidden> on 2009-08-18

(vila) Make TestLocale.test_log_BOGUS more robust

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
Stacked on:
lp:~bzr/bzr/trunk-old
This branch contains Public information 
Everyone can see this information.

Subscribers