gitclone: We don't have to fetch, if revision is already present in local git repository
Because revision specifies worktree state exactly, and if we have it already, we don't need to fetch anything -- it is possible to checkout/reset to the revision right away. The reason for this patch is that fetching is sometimes not very fast or even slow. For example today, gitlab.com had some outage and I've developed this patch while waiting for it to come back. /reviewed-by @jerome, @kazuhiko /reviewed-on !1
Showing
-
Owner
it looks fine for me. i wait for @jerome response and then release the new version.
-
Owner
Looks fine to me as well
👍 -
Owner
Released. Since I forgot to push my changes for 0.22, I pushed force to the repository, sorry...
-
Owner
@kazuhiko, thanks for doing the release. Please be careful next time - we try to avoid rewriting history on official branches of main repositories.
Ok to apply next patch to slapos.git?
From: Kirill Smelkov <kirr@nexedi.com> Date: Thu, 22 Oct 2015 16:18:22 +0300 Subject: [PATCH] stack/slapos: v↑ slapos.recipe.build --- stack/slapos.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/slapos.cfg b/stack/slapos.cfg index e24fd97..f6a05a1 100644 --- a/stack/slapos.cfg +++ b/stack/slapos.cfg @@ -139,7 +139,7 @@ slapos.cookbook = 1.0.9 slapos.core = 1.3.12 slapos.extension.strip = 0.1 slapos.libnetworkcache = 0.14.5 -slapos.recipe.build = 0.21 +slapos.recipe.build = 0.23 slapos.recipe.cmmi = 0.2 stevedore = 1.9.0 unicodecsv = 0.14.1 -- 2.6.2.350.g3b31934
-
Owner
sure
😃 -
Owner
Thanks, done: slapos@873517f7.
Please register or sign in to comment