I’ve got a use case where we have a pipeline that will only ever need the current version of a repo, but the buildkite-agent will always do a full clone anyway. I see that there was an FR posted a while back about this (https://github.com/buildkite/agent/issues/437) and I was wondering if this was still on the roadmap somewhere.
For some context, in our case, this results in us having to do a full 2GB repo clone, where a
--depth 1 clone weighs in at around 170MB. I’d really like to avoid doing the slow, wasteful full clone where we don’t need 90%+ of the actual clone we’re retrieving.