summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-07-29 18:38:13 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-07-29 19:25:02 +0900
commit3b7158b31ac7bf3a2037b7453ad35d15f14c85b3 (patch)
tree1831ac1e5248d3e3b9c4e7f9a95d34a34f1563ba
parent08b7562ba14b33928d8c27e6eff8d81d062be8c6 (diff)
downloadbuildstream-3b7158b31ac7bf3a2037b7453ad35d15f14c85b3.tar.gz
source.py: Bring down since version for source mirroring APIs
Since we have now backported this to `bst-1.2`, the APIs have been introduced in 1.2 and not 1.4
-rw-r--r--buildstream/source.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/source.py b/buildstream/source.py
index 9866c99e9..2f3f1c281 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -148,7 +148,7 @@ class SourceFetcher():
places (e.g. a git source with submodules) has a consistent interface for
fetching and substituting aliases.
- *Since: 1.4*
+ *Since: 1.2*
"""
def __init__(self):
self.__alias = None
@@ -382,7 +382,7 @@ class Source(Plugin):
Args:
url (str): The url used to download
- *Since: 1.4*
+ *Since: 1.2*
"""
alias, _ = url.split(utils._ALIAS_SEPARATOR, 1)
self.__expected_alias = alias
@@ -398,7 +398,7 @@ class Source(Plugin):
list: A list of SourceFetchers. If SourceFetchers are not supported,
this will be an empty list.
- *Since: 1.4*
+ *Since: 1.2*
"""
return []
@@ -425,7 +425,7 @@ class Source(Plugin):
Args:
url (str): A url, which may be using an alias
- alias_override (str): Optionally, an URI to override the alias with. (*Since: 1.4*)
+ alias_override (str): Optionally, an URI to override the alias with. (*Since: 1.2*)
Returns:
str: The fully qualified url, with aliases resolved