-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Branch management for 2.0 #815
Comments
Please keep master fully backwards compatible with no exceptions. It's far too relied upon that I want to compromise the trust of the community. I am conflicted on how to proceed for the future, safely. |
Indeed, that was what I was talking about. As the master branch is used in most project as the next version branch, we could also to avoid any fogginess freeze the master branch and use a dedicated v1 branch and create when wanted a v2 branch. |
Agreed on wanting to keep things as stable as possible. We will want to make sure Go modules works correctly in the propsoed scenario. A question this brings up in my mind is at what point do people expect v2.0 to be the default and Do we have a bar for ever making master v2.0? If we never plan on doing that, does a 2.0 even make sense since they will most-likely end up on v1.0 and the newer features won't be exercised as much? Edit: By asking this I am not trying to dissuade a v2. I am hoping to understand both of your perspectives in this space. |
I noticed this thread after open a PR to add go module support (#817). I believe that the current thinking for go modules and v2 versions is to create a directory |
@dgodd from what I understand from this page https://github.com/golang/go/wiki/Modules we don't need to move code in a subdirectory when using go module. This is only need to import such path when NOT using go modules. |
@theckman, I think it would be ok to freeze the master branch. It would ensure no future build break for package consumer which are not relying on specific version. For package consumer which uses package versioning with dep or the future go modules, it should not have any impact as they probable rely on a specific tag. |
Thank you @dgsb for raising this issue. I suggest creating a new branch. Until Go Modules stabilize I hesitate to adopt it within the An alternate suggestion: Create a new organization and repository and establish a completely clean start. I anticipate pushback for this suggestion. However, if such a dramatic action was combined with a campaign to encourage greater community contributions and governance it might be received well by the community. Respectfully, -A |
@aarongreenlee module definition has already been added to the mastre branch. It should not have any impact in the build process of package stored in $GOPATH/src, but can already be used by anyone else. |
@sirupsen, if you agree with the naming, I'm going to create
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We are regularly receiving incompatible changes with the 1.x versions.
In order to be able to incorporate those changes, we should dedicate a specific branch to allow further development without breaking existing contracts (e.g., 2.0).
As it seems that mostly everyone uses master as is as 1.x compatible version, we are stuck with master being used for the v1. wdyt ?
The text was updated successfully, but these errors were encountered: