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

Fix some gomods issues #230

Merged
merged 3 commits into from
May 6, 2024
Merged

Fix some gomods issues #230

merged 3 commits into from
May 6, 2024

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented May 1, 2024

Some minor fixes + fixes an issue with gomods on the windows target.
Found the gomods issue while rebasing #87.

Extracted a few of the commits out of there into this PR to address.
Some changes in this PR just made it easier to shift to a new PR.

These should not have `v` in them, just the version itself.
The `v` actively breaks jammy, but shouldn't be there anyway.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
These are distro specific and aren't really telling us anything.
The main thing here is, debhelper actually changes file permissions when
installing binaries which makes these tests not-portable.
Beyond that, we are already testing executability, of these files so
there's no need to have additional checking.

We shouldn't assume that files have the exact permissions, especially
with things like umask potentially affecting things as well.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 requested a review from a team as a code owner May 1, 2024 22:40
@cpuguy83 cpuguy83 changed the title test: Fix version numbers Fix some gomods issues May 1, 2024
Makes sure distros are tested with go modules.
Also fixes the Windows implementation.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 force-pushed the fix_gomods_windows branch 2 times, most recently from 70d2066 to fe40cca Compare May 1, 2024 23:49
@cpuguy83 cpuguy83 mentioned this pull request May 2, 2024
Copy link
Contributor

@pmengelbert pmengelbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpuguy83 cpuguy83 merged commit 3d9466d into Azure:main May 6, 2024
9 checks passed
@cpuguy83 cpuguy83 deleted the fix_gomods_windows branch May 6, 2024 14:56
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.

2 participants