-
Notifications
You must be signed in to change notification settings - Fork 935
refactor(go mod): migrate to go modules #1356
Conversation
During the migration process, some code is updated directly in the vendor folder, causing inconsistent with the upstream code repository. I move this part of the code to the migrate directory. Signed-off-by: cndoit18 <[email protected]>
6a31ef1
to
bc80142
Compare
In order to completely abolish the vendor, we also need some work to migrate the code from the migrate folder to the official version. |
Thank you! I can take a look into those changes. Appreciate the kick off! |
Creating a vendor folder is to compatible downstream, if you need, you can delete it to test I just used |
I will try to fix the repair, simply verify the test of CI. |
c7021c2
to
3d33edf
Compare
thanks again - commit 3d33edf modifies the raft logic - I'd like to avoid that. If we switch to So I don't mind creating e.g. a |
3d33edf
to
5035183
Compare
This is too good. |
dependency on openark/golib#10 |
5035183
to
cd9c22a
Compare
We have successfully switched to go modules! https://github.com/presslabs/mysql-operator/pull/681/files |
Of course, we have to ensure that the upstream changes will not affect us after migrating to the go modules. |
How did you deal with the changes in
Sorry, which cache is that? Do you mean a go mod proxy?
Sorry again, I'm confused. How do you mean? |
Sorry, please forgive me for bad English, so that there is no expression clear I use |
Can you believe that I completely forgot that I did?
I understand now. Shall we do it in a separate PR?
I understand. We can it now, right? |
Yes, we do it in a separate PR |
Your code has used too many shell scripts. For me, it is very difficult |
No problem. I can do this in a different PR. I am grateful to you for this work. |
Thank you |
Signed-off-by: Shlomi Noach <[email protected]>
I pushed some final changes to the branch: I ran |
cool |
Signed-off-by: cndoit18 <[email protected]>
fce0b59
to
9ff4483
Compare
squash commits into one. |
I'm gonna review this in a few more days and hopefully merge by end of week. |
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
During the migration process, some code is updated directly in the vendor folder, causing inconsistent with the upstream code repository.
I move this part of the code to the migrate
folder.
fixes #1355
Signed-off-by: cndoit18 [email protected]