oathkeeper repo is too big
Lan-Phan opened this issue · comments
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Network project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
the first time I clone oathkeeper repo, it's too big (>1GB). Seems something's wrong in the codebase
Reproducing the bug
just clone the repo
Relevant log output
No response
Relevant configuration
No response
Version
latest code
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response
Kratos:
Receiving objects: 100% (58173/58173), 78.10 MiB | 3.94 MiB/s, done.
Oathkeeper:
Receiving objects: 100% (11380/11380), 1.25 GiB | 2.94 MiB/s, done.
1caf42a accidentally committed (and removed) all the oathkeeper binaries. Unfortunately, we cannot remove these files from the git log without rewriting history AFAIK. You should be able to do a shallow clone for much cheaper, though: git clone --depth=1
.
Please reopen if you know whether we can get rid or compress those commits without rewriting history