-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Caching of go list output breaks dependency resolution #82
Comments
Can you share steps to reproduce and a bit more detail? |
Sure to reproduce:
|
Ah, the problem is likely the I can probably take a look today or tomorrow. For now, use a slightly older version of garble. |
Otherwise any build flags like -tags won't be used, and we might easily end up with errors or incorrect packages. The common case with -tags is covered by one of the integration test scripts. On top of that, we add a table-driven unit test to cover all edge cases, since there are many we can do quickly in a unit test. Fixes #82.
Otherwise any build flags like -tags won't be used, and we might easily end up with errors or incorrect packages. The common case with -tags is covered by one of the integration test scripts. On top of that, we add a table-driven unit test to cover all edge cases, since there are many we can do quickly in a unit test. Fixes #82.
Otherwise any build flags like -tags won't be used, and we might easily end up with errors or incorrect packages. The common case with -tags is covered by one of the integration test scripts. On top of that, we add a table-driven unit test to cover all edge cases, since there are many we can do quickly in a unit test. Fixes #82.
The test case we had didn't have a realistic-looking module path with a dot, so we hadn't noticed the bug with IndexByte. Fix that. We verified that the new test fails if we undo the fix.
|
I am running into the same issue with builds before d0e0147. With builds after d0e0147, I get the following:
(Which seems to be the same issue @lu4p is having with the new changes?) |
This reverts commit aa9767b.
For now I'm able to get the fix I needed for #89 by reverting the related commits in master: https://github.com/zwass/garble/tree/fixes |
Sorry that this has turned into such a shitshow. I'll take a look tomorrow again. |
Since https://github.com/mvdan/garble/pull/67 is merged the builds of ToRat, which use garble fail.
Build output: https://hub.docker.com/repository/registry-1.docker.io/lu4p/torat/builds/1f1fd73c-6cf5-4dc7-88d8-b89e26786589
The text was updated successfully, but these errors were encountered: