Skip to content
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

chore: rename package to vermock/vermockgen #7

Merged
merged 1 commit into from
Jan 10, 2024
Merged

chore: rename package to vermock/vermockgen #7

merged 1 commit into from
Jan 10, 2024

Conversation

au-phiware
Copy link
Collaborator

Prior to this change, this package had been given the same name as an other package which is already in widespread use within the community. This does not cause a problem per se, but it does lead to aliasing should a project choose use both or adopt one and migrate away from the other. This aliasing can lead to ambiguity when a naming convention isn't agreed upon. The problem can be even more difficult to diagnose when you consider multiple installed binaries with the same name.

This change could recommend a naming convention to address such situations but we have decided to take the more drastic action of renaming the whole package while we are still pre-v1. This mean renaming the module, GitHub repository, the packages (root package, ./cmd/mockgen, ./internal/cmd/mockgen) and of course the README.

Prior to this change, this package had been given the same name as an
other package which is already in widespread use within the community.
This does not cause a problem per se, but it does lead to aliasing
should a project choose use both or adopt one and migrate away from the
other.  This aliasing can lead to ambiguity when a naming convention
isn't agreed upon.  The problem can be even more difficult to diagnose
when you consider multiple installed binaries with the same name.

This change could recommend a naming convention to address such
situations but we have decided to take the more drastic action of
renaming the whole package while we are still pre-v1.  This mean
renaming the module, GitHub repository, the packages (root package,
./cmd/mockgen, ./internal/cmd/mockgen) and of course the README.
@au-phiware au-phiware merged commit b8d801a into main Jan 10, 2024
1 check passed
@au-phiware au-phiware deleted the rename branch January 10, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant