[Notes] [Git][BuildStream/buildstream][bst-1.2] 2 commits: source-bundle: Enable --except option



Title: GitLab

Valentin David pushed to branch bst-1.2 at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • buildstream/_frontend/cli.py
    ... ... @@ -827,4 +827,5 @@ def source_bundle(app, element, force, directory,
    827 827
             app.stream.source_bundle(element, directory,
    
    828 828
                                      track_first=track_,
    
    829 829
                                      force=force,
    
    830
    -                                 compression=compression)
    830
    +                                 compression=compression,
    
    831
    +                                 except_targets=except_)

  • buildstream/_stream.py
    ... ... @@ -658,7 +658,8 @@ class Stream():
    658 658
         def source_bundle(self, target, directory, *,
    
    659 659
                           track_first=False,
    
    660 660
                           force=False,
    
    661
    -                      compression="gz"):
    
    661
    +                      compression="gz",
    
    662
    +                      except_targets=()):
    
    662 663
     
    
    663 664
             if track_first:
    
    664 665
                 track_targets = (target,)
    
    ... ... @@ -667,6 +668,7 @@ class Stream():
    667 668
     
    
    668 669
             elements, track_elements = self._load((target,), track_targets,
    
    669 670
                                                   selection=PipelineSelection.ALL,
    
    671
    +                                              except_targets=except_targets,
    
    670 672
                                                   track_selection=PipelineSelection.ALL,
    
    671 673
                                                   fetch_subprojects=True)
    
    672 674
     
    



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