erp5_payzen_secure_payment: Move Payzen to REST API
See merge request !1326
-
Owner
@rafael @tomo I think this erp5-vifib branch was rebased. Tests on 1.0 now fail with
2021-01-21 23:21:14 slapos[16081] INFO fatal: Could not parse object 'ceaef5a3c5469a04f5650376cda54cb162abf38a'.
wouldn't it be easier to use a dedicated private repository for the vifib fork ?
-
Owner
wouldn't it be easier to use a dedicated private repository for the vifib fork ?
one day, we will merge our changes to master :)
Anyway, as soon as we do rebase instead of merge, we can lose our commits at any time so it means we must tag all the commits that appear in slapos 1.0 branch to be sure to never lose them due to garbage collector.
-
Owner
Thanks, yes, hopefully these changes will be merged :)
Note that it does not have to be a tag, it can also be a branch. Also branches can be a folder, so we can use
vifib/something
. Not sure it's better, it's just possible.FYI, this commit will not be garbage collected because there is discussion on it. What gitlab uses is another namespace, branches are in
refs/heads/*
and in git config we have by default:[remote "origin"] url = https://lab.nexedi.com/nexedi/erp5.git fetch = +refs/heads/*:refs/remotes/origin/*
gitlab uses
refs/keep-around
to "keep around" (prevent garbage collection) of commits, so if you change git config to :[remote "origin"] url = https://lab.nexedi.com/nexedi/erp5.git fetch = +refs/heads/*:refs/remotes/origin/* fetch = +refs/keep-around/*:refs/remotes/keep-around/*
and
git fetch
again, you can get this commit locally. Then you can push it again in a new branch and this repairs the failing build.There's this
Could not parse object
error, because the commit is not fetched by default, because git only fetches branches (refs/heads
) and tags (refs/tags
), it's still there somewhere inrefs/keep-around
, which is not fetched by default. -
Owner
Oups, I didn't see your comment :( it would have been much easier for me...
So I went to
git clone --mirror
in order to retrieve everything and then I tagged from there. I usederp5-vifib-20201229
tag name.