[Notes] [Git][BuildStream/buildstream][gokcen/no_auto_fetch] 2 commits: fixup! fixup! Add explicit fetch flag for 'bst workspace-reset'



Title: GitLab

Gökçen Nurlu pushed to branch gokcen/no_auto_fetch at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • buildstream/_stream.py
    ... ... @@ -598,7 +598,7 @@ class Stream():
    598 598
     
    
    599 599
             if to_fetch or to_track:
    
    600 600
                 self._fetch(to_fetch, track_elements=to_track)
    
    601
    -            
    
    601
    +
    
    602 602
             self._pipeline.assert_sources_cached(elements)
    
    603 603
     
    
    604 604
             workspaces = self._context.get_workspaces()
    

  • tests/frontend/workspace.py
    ... ... @@ -85,7 +85,7 @@ def open_workspace(cli, tmpdir, datafiles, kind, track, suffix='', workspace_dir
    85 85
     
    
    86 86
         # Now open the workspace, this should have the effect of automatically
    
    87 87
         # tracking & fetching the source from the repo.
    
    88
    -    args = ['workspace', 'open']
    
    88
    +    args = ['workspace', 'open', '--fetch']
    
    89 89
         if track:
    
    90 90
             args.append('--track')
    
    91 91
         args.extend([element_name, workspace_dir])
    



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