Git Product home page Git Product logo

Comments (5)

RobDangerous avatar RobDangerous commented on July 4, 2024 1

krab (with a small k like all the command line tools) just uses --depth 3 for all _bin repos, pretty simple. Starting with 2019 I plan to use yearly branches for the bin repos so regular clones are also getting faster. Also looked into git-lfs to speed things up but sadly it's horrible on github (but could just use bitbucket for the bin repos) and hard to install on macOS.
But, yes, not too happy about people using kha_version defines anyways but not sure about just getting rid of it either.

from khamake.

RobDangerous avatar RobDangerous commented on July 4, 2024

But commits in git do not have a well defined order, a >= isn't really possible. I think the best solution would be a bot that adds a version commit once per month.

from khamake.

luboslenco avatar luboslenco commented on July 4, 2024

Yes the commit_xyz thing was a just silly example. Even a monthly auto-update would be great.

from khamake.

luboslenco avatar luboslenco commented on July 4, 2024

Thinking about this more, it could indeed cause more trouble than worth in the end. Maybe getting rid of the define would force us into a more robust solutions.

For me it started with Kha being slow to clone (armory needs fast update mechanism) but using Krab as a basis it now seems I will be able to just make it clone fast enough.

from khamake.

luboslenco avatar luboslenco commented on July 4, 2024

The fastest way I found so far, if you only need shallow copy to start with:
git clone --recursive https://github.com/Kode/Kha --depth 1 --shallow-submodules --jobs 4

This finishes in ~80 seconds for me, of which haxe_bin takes up to 40 seconds. Once haxe3 is out it could maybe fit into 1 minute which is reasonable.

from khamake.

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.