gtristan commented on issue #160:
URL: https://github.com/apache/buildstream/issues/160#issuecomment-1224289796

   I'm inclined to close this after landing #1727, as this gets us as close as 
reasonably possible to pushing everything possible at build time.
   
   As for @juergbi 's comment about build-only dependencies not getting 
considered by the scheduler at build time, I think it makes sense to keep 
things this way.
   
   If for instance, one wanted to populate a remote cache with all 
dependencies, we could use:
   
   ```shell
   bst artifact push --deps all <element>
   ```
   
   Not only will this push everything from the local cache to the remote, it 
will also attempt to download missing artifacts needed to push to the remote 
along the way.
   
   If one wanted to be even more aggressive about populating a remote cache, 
one could first do:
   
   ```
   bst build --deps all
   bst artifact push --deps all <element>
   ```
   
   Is this enough to resolve this issue ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to