Git Product home page Git Product logo

Comments (5)

Telokis avatar Telokis commented on May 17, 2024

Do you think about a local cache ? Like downloading all libraries and ship them along with vcpkg ?
What about mirror downloads ?

from vcpkg.

ras0219-msft avatar ras0219-msft commented on May 17, 2024

I think mirrors are definitely a great idea.

Additionally, we already first check the downloads\ folder before making external contact so you can (ahead of time) download and store all the source code you depend on, then copy them to downloads\ before running vcpkg install curl.

from vcpkg.

Telokis avatar Telokis commented on May 17, 2024

I'm working on this issue right now.
If the file is successfully downloaded but I get the wrong hash, should I try a mirror or print a FATAL_ERROR ?

from vcpkg.

Telokis avatar Telokis commented on May 17, 2024

In #83 I opted for the second option: once a file successed to download, I never try to download anymore, even if the HASH doesn't match.

from vcpkg.

votecoffee avatar votecoffee commented on May 17, 2024

When I pre-download files, sometimes I have to add a prefix like 'msys-'. If you look in the downloads temp folder, it will create an empty file while attempting to download and this will help give a clue of the filename it expects, which is not always the same as the filename it is downloading.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.