[Notes] [Git][BuildStream/buildstream][chandan/sourcetransform] fixup! fixup! fixup! Allow source plugins to access previous sources



Title: GitLab

Chandan Singh pushed to branch chandan/sourcetransform at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/source.py
    ... ... @@ -128,11 +128,12 @@ class Source(Plugin):
    128 128
         """Whether access to previous sources is required during track
    
    129 129
     
    
    130 130
         When set to True:
    
    131
    -      o all sources listed before this source in the given element will be
    
    132
    -        fetched before this source is tracked
    
    133
    -      o Source.track() will be called with an additional keywork argument
    
    134
    -        `previous_sources` that will contain a list of sources
    
    135
    -      o this source can not be the first source for an element
    
    131
    +
    
    132
    +    o all sources listed before this source in the given element will be
    
    133
    +      fetched before this source is tracked
    
    134
    +    o Source.track() will be called with an additional keywork argument
    
    135
    +      `previous_sources` that will contain a list of sources
    
    136
    +    o this source can not be the first source for an element
    
    136 137
     
    
    137 138
         """
    
    138 139
     
    
    ... ... @@ -140,11 +141,12 @@ class Source(Plugin):
    140 141
         """Whether access to previous sources is required during fetch
    
    141 142
     
    
    142 143
         When set to True:
    
    143
    -      o all sources listed before this source in the given element will be
    
    144
    -        fetched before this source is fetched
    
    145
    -      o Source.fetch() will be called with an additional keyword argument
    
    146
    -        `previous_sources` that will contain a list of sources
    
    147
    -      o this source can not be the first source for an element
    
    144
    +
    
    145
    +    o all sources listed before this source in the given element will be
    
    146
    +      fetched before this source is fetched
    
    147
    +    o Source.fetch() will be called with an additional keyword argument
    
    148
    +      `previous_sources` that will contain a list of sources
    
    149
    +    o this source can not be the first source for an element
    
    148 150
     
    
    149 151
         """
    
    150 152
     
    



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