-
Notifications
You must be signed in to change notification settings - Fork 11
Machine api v0.4.0 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
you can drop the OWNERS file commit from this, i have opened #2 to add it. |
|
I removed the OWNERS files |
|
thanks @menglingwei , i think we should probably merge this as is and then start running the ci against it to see if there are any changes needed. |
|
Since we seem to just be copying the alibaba version of this repo, is there any reason not to have forked the repo rather than doing this PR? If we were to fork, we would retain the history right? |
good question, i had wondered about that but in discussion about setup with @menglingwei this was the methodology we discussed (create new branch, then create a pr). i believe you are correct about the history aspect of the fork. |
|
@elmiko @JoelSpeed You're referring to the repo fork from Alibaba? |
|
@menglingwei correct. Joel is saying that we could have made the request to create this repository use a fork from the https://github.com/AliyunContainerService/cluster-api-provider-alibabacloud repository. then we would keep the history and the repo would be populated from there. if that sounds better, i can investigate if we can do that. |
@elmiko I think it's doable. You can fork from https://github.com/AliyunContainerService/cluster-api-provider-alibabacloud . |
|
@elmiko But in our(alibaba) repo, the master branch is too old. so you can use branch machine-api-v0.4.1. |
|
thanks @menglingwei , i will do some investigation to see how we can set this up. we might need to delete and remake this repo, but i will update you before we do anything. |
|
@menglingwei , @JoelSpeed and i are discussing the options for bringing the code over here and we have a couple questions. as we see it, there are 3 options we could do:
2 and 3 allow us to keep the history of that branch (39 commits). this had led us to ask a couple questions:
if the answer is no, then i think we can just merge this patch and keep working here. but if you would like to preserve some sort of fork between the two, then we should make sure that the histories are the same. i don't have a personal preference. the history on the aliyuncontainerservice repo is not that long, so if the plan is to continue work here then i think we should just merge this. but i want to make sure we explore the option of preserving the history, if needed. |
@elmiko We will always update and maintain aliyunContainerService repo. So you can fork from this repo. |
|
thanks @menglingwei , i will discuss with Joel and get this repo configured properly. |
|
talked with @JoelSpeed, he is going to bring the branch over and then propose PR to merge it. this way we can preserve the history from the AliyunContainerService repo. |
|
@elmiko @JoelSpeed Thank you guys. Let's move on to the next step. |
|
on the topic of CI, i have this PR setup to enable the basic unit tests on this repo when we are ready. openshift/release#20668 |
it's not failures. I found in my rep submitted on https://github.com/menglingwei/cluster-api-provider-alibaba/tree/machine-api-v0.4.0 and your submission (https://github.com/openshift/cluster-api-provider-alibaba/tree/machine-api-v0.4.1-no-bin) is different. Therefore, I think my handling should be something not quite right. But I don't know where it happened |
|
Do you know what commands you ran to create your branch/to reset it to match mine? |
And then ,I resolved the code conflict. and commited it |
|
That sounds correct as far as I can tell. I'm sorry I'm not understanding what the issue exactly is, would you be able to spell out exactly what differences/problems you're seeing? |
This is my commit history https://github.com/menglingwei/cluster-api-provider-alibaba/commits/machine-api-v0.4.0 This is yours https://github.com/openshift/cluster-api-provider-alibaba/commits/machine-api-v0.4.1-no-bin I found commit history havs a little different. So I think maybe I'm not doing it right. |
|
Got it! Ok, I see the differences, I think your branch is ok though, no issue regarding the reset :) I would suggest dropping this https://github.com/menglingwei/cluster-api-provider-alibaba/commit/1697c637e27caa6189734da29fb2e51fb4b4cf50, otherwise I think history wise we are all good and things should be resolved regarding the binaries |
|
Ok. Thank you.I'm going to try to drop the commit menglingwei@1697c63 |
|
@menglingwei Were you able to drop the commit? Please let us know if we can assist. Thanks! |
|
@menglingwei @JoelSpeed I attempted working with the no-bin branch and ran into a few issues. I attempted to @menglingwei Can you also verify that the |
Ok. I have a try |
I'm working on it.If I can't solve it, I'll ask for your help. Thank you very much. |
|
@JoelSpeed I reset my branch,and force push it. And then i found the PR is closed. Is there something wrong with my operation? |
Sorry. I don't have a podman on my dev env.so i need to run it first. |
|
The problem seems to be that the branch now doesn't share a common ancestor with our main branch. I want to make sure the two repositories are matched going forward so perhaps we need to reset our repo to match yours. If you are confident that the branch is correct, I'd suggest you merge your branch into your main/master, once it's in your main, I can reset our repository to match yours, then we can make the openshift specific changes on top of that. |
�Yes. I already check my branch. and run make build in my local env. |
I already merge into my main/master |
|
Oh cool, you're way ahead of me then 😅 Let me talk to Mike and Kenny later and we will work out exactly what we want to do, my gut says to now reset our master branch to match yours, then this PR should just be the openshift specific parts |
|
perfect. |
|
@JoelSpeed I see you've created a new branch. |
|
@JoelSpeed @elmiko What are we going to do next? What do you need me to do? |
|
@menglingwei i think Kenny, Joel and myself need to sync up about the next steps. (apologies for the delay, we had a holiday on friday) |
|
So I was looking at the branch that we have today in the master of the Aliyun fork, it still has binaries in it because it was merged with the old verion. What I've done is remove the old version in https://github.com/openshift/cluster-api-provider-alibaba/commits/sync-baba-ocp?before=6e39b84ab92b663a4bfa98e7fd1b68199a048faf+35&branch=sync-baba-ocp So this branch is the one I'd prefer to merge to our master (it's all of your work on the current version, minus any binaries or history from the previous version). To make that work, and to be in sync, you will need to reset your master branch to b0a0adf. Once that's done, we should have the same history apart from the final two commits we have added on top. This will allow us to automate rebasing in the future and pull in your changes. Let me know if you have concerns about this or need further information to understand what I'm trying to achieve here :) |
|
Have you finished the above work now? So I just need to reset our branch to b0a0adf |
|
I think so yes, if you're happy to reset it to b0a0adf then I think we can get our fork synced from there |
|
@JoelSpeed Now I'm looking at how to clean up the history files in .git and make package smaller. |
alibabacloud machine-api