[Notes] [Git][BuildStream/buildstream][master] 2 commits: source.py: Bring down since version for source mirroring APIs



Title: GitLab

Tristan Van Berkom pushed to branch master at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • NEWS
    1 1
     =================
    
    2
    -buildstream 1.3.1
    
    2
    +buildstream 1.1.5
    
    3 3
     =================
    
    4 4
     
    
    5 5
       o Add a `--tar` option to `bst checkout` which allows a tarball to be
    
    ... ... @@ -9,6 +9,8 @@ buildstream 1.3.1
    9 9
         and the preferred mirror to fetch from can be defined in the command
    
    10 10
         line or user config.
    
    11 11
     
    
    12
    +  o Added new `remote` source plugin for downloading file blobs
    
    13
    +
    
    12 14
     =================
    
    13 15
     buildstream 1.1.4
    
    14 16
     =================
    

  • buildstream/source.py
    ... ... @@ -148,7 +148,7 @@ class SourceFetcher():
    148 148
         places (e.g. a git source with submodules) has a consistent interface for
    
    149 149
         fetching and substituting aliases.
    
    150 150
     
    
    151
    -    *Since: 1.4*
    
    151
    +    *Since: 1.2*
    
    152 152
         """
    
    153 153
         def __init__(self):
    
    154 154
             self.__alias = None
    
    ... ... @@ -382,7 +382,7 @@ class Source(Plugin):
    382 382
             Args:
    
    383 383
                url (str): The url used to download
    
    384 384
     
    
    385
    -        *Since: 1.4*
    
    385
    +        *Since: 1.2*
    
    386 386
             """
    
    387 387
             alias, _ = url.split(utils._ALIAS_SEPARATOR, 1)
    
    388 388
             self.__expected_alias = alias
    
    ... ... @@ -398,7 +398,7 @@ class Source(Plugin):
    398 398
                list: A list of SourceFetchers. If SourceFetchers are not supported,
    
    399 399
                      this will be an empty list.
    
    400 400
     
    
    401
    -        *Since: 1.4*
    
    401
    +        *Since: 1.2*
    
    402 402
             """
    
    403 403
     
    
    404 404
             return []
    
    ... ... @@ -425,7 +425,7 @@ class Source(Plugin):
    425 425
     
    
    426 426
             Args:
    
    427 427
                url (str): A url, which may be using an alias
    
    428
    -           alias_override (str): Optionally, an URI to override the alias with. (*Since: 1.4*)
    
    428
    +           alias_override (str): Optionally, an URI to override the alias with. (*Since: 1.2*)
    
    429 429
     
    
    430 430
             Returns:
    
    431 431
                str: The fully qualified url, with aliases resolved
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]