• Wez Furlong's avatar
    fbcode_builder: getdeps: add LFS caching for ArchiveFetcher · 3a777987
    Wez Furlong authored
    Summary:
    When running in FB infra, prefer to download from our local LFS
    server rather than going out to the internet.
    
    Fall back to a normal internet download if the LFS get fails for some reason.
    
    Upload to LFS after successfully verifying the hash for the downloaded archive.
    
    Add a subcommand that performs a fetch for all possible platforms so that it
    is easier to ensure that the lfs-pointers file is up to date.
    
    Reviewed By: simpkins
    
    Differential Revision: D14978660
    
    fbshipit-source-id: 240fc32fc7003d1e06c88b80d85054dae36e2f31
    3a777987
fetcher.py 23.9 KB