You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2022/08/23 16:11:01 UTC

[GitHub] [buildstream] gtristan commented on issue #160: pushing of sources/artifacts should be imperative when enabled during bst build

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: commits-unsubscribe@buildstream.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org