GitHub Enterprise 是否支持浅克隆?
Does GitHub Enterprise support shallow cloning?
关于 GitHub Enterprise 是否支持浅克隆已经有一些讨论,例如here or here。浅层 Git 克隆由 运行 创建,如下所示:
git clone --depth 1 https://server/user/repo.git
显然,GitHub Enterprise 不会从这个命令中return,它会无限期地停止。
这是 GitHub Enterprise 上的官方错误吗?如果是这样,有人可以指出这个错误的参考吗? GitHub 对此有官方声明吗?
是否有 GitHub Enterprise 版本支持无延迟的浅克隆?
我收到了 GitHub 支持人员的答复:
I can confirm that there was a limitation in the older GitHub Enterprise 11.10.xxx releases where it was not possible to shallow clone and attempts to do so would hang indefinitely. This has now been fixed in our newest releases starting from GitHub Enterprise 2.0.0. The fix for this will not be backported to older releases so customers will need to ensure they're running GitHub Enterprise 2.0.0 or later to get this functionality.
A bit of background on our version numbers is probably needed here. 11.10.xxx were our old versions where the version number was based on the version of Ubuntu on which they were built, in this case Ubuntu 11.10 (aka Oneiric Ocelot). GitHub Enterprise 2.0 is a major and significant change so we decided to switch to the more sane and familiar semantic versioning scheme with this release.
关于 GitHub Enterprise 是否支持浅克隆已经有一些讨论,例如here or here。浅层 Git 克隆由 运行 创建,如下所示:
git clone --depth 1 https://server/user/repo.git
显然,GitHub Enterprise 不会从这个命令中return,它会无限期地停止。
这是 GitHub Enterprise 上的官方错误吗?如果是这样,有人可以指出这个错误的参考吗? GitHub 对此有官方声明吗?
是否有 GitHub Enterprise 版本支持无延迟的浅克隆?
我收到了 GitHub 支持人员的答复:
I can confirm that there was a limitation in the older GitHub Enterprise 11.10.xxx releases where it was not possible to shallow clone and attempts to do so would hang indefinitely. This has now been fixed in our newest releases starting from GitHub Enterprise 2.0.0. The fix for this will not be backported to older releases so customers will need to ensure they're running GitHub Enterprise 2.0.0 or later to get this functionality.
A bit of background on our version numbers is probably needed here. 11.10.xxx were our old versions where the version number was based on the version of Ubuntu on which they were built, in this case Ubuntu 11.10 (aka Oneiric Ocelot). GitHub Enterprise 2.0 is a major and significant change so we decided to switch to the more sane and familiar semantic versioning scheme with this release.