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/01/04 13:08:21 UTC

[GitHub] [buildstream] jjardon commented on pull request #1537: Override project defined source mirrors, and be selective about what mirrors to use

jjardon commented on pull request #1537:
URL: https://github.com/apache/buildstream/pull/1537#issuecomment-1004795650


   > As it was questioned in #1542, should we:
   > 
   >     * Remove the strange behavior of traversing active mirrors/URLs backwards when tracking ?
   > 
   >     * Make the default track source policy be to ignore mirrors and track only from the originally defined aliases ?
   >       
   >       * This would IMO address the concern that we _want_ to track upstream by default even though we want to _fetch_ from our own mirrors, in order to ensure we get new refs from upstream even when our downstream mirroring solutions might be lagging behind or broken
   
   I can see we want to get upstream to get the latest, but then we have another problem if we use a tag that is not in our mirror as next build fetch will fail (if we restrict your project to only use mirrors, for example)
   
   So, I think default should be always be (for both track and fetch):
   - 1. Try to use mirror
   - 2. Try to use upstream
   
   but that order should be configurable separately for track and fetch, so you can select the behaviour you want for your project
   
   


-- 
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