ory / oathkeeper

A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.

Home Page:https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=hydra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oathkeeper repo is too big

Lan-Phan opened this issue · comments

Preflight checklist

Describe the bug

the first time I clone oathkeeper repo, it's too big (>1GB). Seems something's wrong in the codebase

Screen Shot 2022-12-09 at 5 35 35 AM

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 👍 .