Loading buildstream/_loader/loader.py +1 −1 Original line number Diff line number Diff line Loading @@ -557,7 +557,7 @@ class Loader(): ticker(filename, 'Fetching subproject from {} source'.format(source.get_kind())) source._fetch(sources[0:idx]) else: detail = "Try fetching the project with `bst fetch {}`".format(filename) detail = "Try fetching the project with `bst source fetch {}`".format(filename) raise LoadError(LoadErrorReason.SUBPROJECT_FETCH_NEEDED, "Subproject fetch needed for junction: {}".format(filename), detail=detail) Loading buildstream/_pipeline.py +1 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,7 @@ class Pipeline(): if source._get_consistency() != Consistency.CACHED: detail += " {}\n".format(source) detail += '\n' detail += "Try fetching these elements first with `bst fetch`,\n" + \ detail += "Try fetching these elements first with `bst source fetch`,\n" + \ "or run this command with `--fetch` option\n" raise PipelineError("Uncached sources", detail=detail, reason="uncached-sources") Loading buildstream/plugins/elements/junction.py +2 −2 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ cached yet. However, they can be fetched explicitly: .. code:: bst fetch junction.bst bst source fetch junction.bst Other commands such as ``bst build`` implicitly fetch junction sources. Loading Loading @@ -146,7 +146,7 @@ class JunctionElement(Element): def get_unique_key(self): # Junctions do not produce artifacts. get_unique_key() implementation # is still required for `bst fetch`. # is still required for `bst source fetch`. return 1 def configure_sandbox(self, sandbox): Loading Loading
buildstream/_loader/loader.py +1 −1 Original line number Diff line number Diff line Loading @@ -557,7 +557,7 @@ class Loader(): ticker(filename, 'Fetching subproject from {} source'.format(source.get_kind())) source._fetch(sources[0:idx]) else: detail = "Try fetching the project with `bst fetch {}`".format(filename) detail = "Try fetching the project with `bst source fetch {}`".format(filename) raise LoadError(LoadErrorReason.SUBPROJECT_FETCH_NEEDED, "Subproject fetch needed for junction: {}".format(filename), detail=detail) Loading
buildstream/_pipeline.py +1 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,7 @@ class Pipeline(): if source._get_consistency() != Consistency.CACHED: detail += " {}\n".format(source) detail += '\n' detail += "Try fetching these elements first with `bst fetch`,\n" + \ detail += "Try fetching these elements first with `bst source fetch`,\n" + \ "or run this command with `--fetch` option\n" raise PipelineError("Uncached sources", detail=detail, reason="uncached-sources") Loading
buildstream/plugins/elements/junction.py +2 −2 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ cached yet. However, they can be fetched explicitly: .. code:: bst fetch junction.bst bst source fetch junction.bst Other commands such as ``bst build`` implicitly fetch junction sources. Loading Loading @@ -146,7 +146,7 @@ class JunctionElement(Element): def get_unique_key(self): # Junctions do not produce artifacts. get_unique_key() implementation # is still required for `bst fetch`. # is still required for `bst source fetch`. return 1 def configure_sandbox(self, sandbox): Loading