Giter VIP home page Giter VIP logo

Comments (3)

copygirl avatar copygirl commented on July 23, 2024

In case it helps: In git you can do a sparse clone. The following command only grabs top-level files from a specific release:

git clone --sparse --filter=blob:none --depth 1 --branch v3.2.11 https://github.com/SanderMertens/flecs.git

Also I wonder how feasible it is just to manually grab the files you need:

wget https://raw.githubusercontent.com/SanderMertens/flecs/v3.2.11/flecs.c
wget https://raw.githubusercontent.com/SanderMertens/flecs/v3.2.11/flecs.h
wget https://raw.githubusercontent.com/SanderMertens/flecs/v3.2.11/LICENSE
wget https://raw.githubusercontent.com/SanderMertens/flecs/v3.2.11/README.md

from flecs.

coderedart avatar coderedart commented on July 23, 2024

You can always use shallow/sparse clones or github's API to get them. Its just easier (and more accessible to beginners) to download them directly from releases page. I don't think we will hit them anytime soon, but direct downloads (or clones) of github repos (or specific files) have API limits placed on them. github releases have no such limits in bandwidth or number of downloads.

The same with having a separate repo for those specific files. easier to deal with by just forking it, instead of using submodules. But this is not as important and can be manually maintained as easily by third-parties.

from flecs.

SanderMertens avatar SanderMertens commented on July 23, 2024

Hm, I'm not sure if adding the source files to the release adds that much value. The zip files are a bit large as a result of the images used in documentation, but 30MB is not that large.

I'll reduce the size of the images which should bring down the overall size of the zip.

from flecs.

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.