diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-18 15:32:38 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-18 15:32:38 +0900 |
commit | da394300561d4fd65eb238152f1ced15d2a41dbe (patch) | |
tree | de221838d072db74ba0cef954c4b03376bc3f3b9 /tests/sources | |
parent | 0d55bd32641eda6c3a99a5774f98b829fb5a0e6c (diff) | |
download | buildstream-da394300561d4fd65eb238152f1ced15d2a41dbe.tar.gz |
Refactor: Untangling element/source names
o The metaelements and metasources now carry the name, the loader
resolves source names now.
o Element/Source factories dont require a name anymore as they
are already in the meta objects
o Pipeline no longer composes names
o Element.name is now the original project relative filename,
this allows plugins to identify that name in their dependencies,
allowing one to express configuration which identifies elements
by the same name that the user used in the dependencies.
o Removed plugin._get_display_name() in favor of the plugin.name
o Added Element.normal_name, for the cases where we need to have
a normalized name for creating directories and log files
o Updated frontend and test cases and all callers to use the
new naming
Diffstat (limited to 'tests/sources')
-rw-r--r-- | tests/sources/fixture.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/sources/fixture.py b/tests/sources/fixture.py index 20025f46c..c6a9c0452 100644 --- a/tests/sources/fixture.py +++ b/tests/sources/fixture.py @@ -43,7 +43,6 @@ class Setup(): base = PluginBase(package='buildstream.plugins') self.factory = SourceFactory(base) self.source = self.factory.create(self.meta_source.kind, - "test", self.context, self.project, self.meta_source) |