-
|
Hey Flipt team 👋 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi @jarviliam! I'm Dosu and I’m helping the flipt team. Flipt v2 does not currently support Git sparse checkout for syncing only a subdirectory or path from your repository. When configured for GitOps, Flipt will clone the entire repository and then scan for feature flag files within the specified directory after the clone. There’s no built-in option to limit the clone or sync operation to just a subdirectory using native sparse checkout features. You can, however, configure Flipt to only look for flags in a specific path after cloning the full repo, but this won’t reduce disk usage or clone time for large repositories source. If you’re interested in this capability, you might want to track feature requests or discussions for future updates, but as of now, sparse checkout isn’t supported in Flipt’s Git integration source. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
Hey @jarviliam It’s an interesting idea. Thank you for bringing it up. We’ll need to do some research to see if it’s possible with |
Beta Was this translation helpful? Give feedback.
-
|
Hey @jarviliam (and @erka) 👋 (old contributor crawling out of cave) So the subtle bit here is there difference between sparse checkout and partial clone. In fact, we don't even use the go-git worktree in Flipt, we skip that and the index and we go direct to git object storage. Partial clone support, or rather pushing down I believe with Flipt could do this, but so far, |
Beta Was this translation helpful? Give feedback.
Hi @jarviliam! I'm Dosu and I’m helping the flipt team.
Flipt v2 does not currently support Git sparse checkout for syncing only a subdirectory or path from your repository. When configured for GitOps, Flipt will clone the entire repository and then scan for feature flag files within the specified directory after the clone. There’s no built-in option to limit the clone or sync operation to just a subdirectory using native sparse checkout features. You can, however, configure Flipt to only look for flags in a specific path after cloning the full repo, but this won’t reduce disk usage or clone time for large repositories source.
If you’re interested in this capability, you might want to tr…