We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The git tree of big project are very heavy and odoo git tree takes more than 1GB just for the .git directory.
It would be nice to be able to use the depth option of git clone (https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt) to avoid taking too much space.
Sparse does not resolve this issue because for some people (e.g. me in this case) I do not have enough space to download the repo in it's entirety.
Also an option to provide the possibility remove unused history from the git tree would be cool (see https://stackoverflow.com/a/34829535)
The text was updated successfully, but these errors were encountered:
you have to run ak clone before ak build. it will init git folders with a partial clone.
ak clone
https://github.com/akretion/ak/blob/master/ak/ak_clone.py#L62
Sorry, something went wrong.
would there be any disadvantage to make ak clone && ak build the default for ak build ?
back in the days, ak clone was based on new / experimental features of git;
git
I plan to merge these commands in a next version of ak
also please consider merging that one as at least it avoids copying these gigantic clones in every Docky image we have on our computer:
akretion/docky-odoo-template#91
No branches or pull requests
The git tree of big project are very heavy and odoo git tree takes more than 1GB just for the .git directory.
It would be nice to be able to use the depth option of git clone (https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt) to avoid taking too much space.
Sparse does not resolve this issue because for some people (e.g. me in this case) I do not have enough space to download the repo in it's entirety.
Also an option to provide the possibility remove unused history from the git tree would be cool (see https://stackoverflow.com/a/34829535)
The text was updated successfully, but these errors were encountered: