-
Notifications
You must be signed in to change notification settings - Fork 475
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
update some dependencies #757
Conversation
Unfortunately this is going to be impossible without major surgery - goss uses
Not sure what the best is here @aelsabbahy @ekelali. Personally I dont think goss is that useful on windows at all. |
Tagging @petemounce since he was one of the main drivers behind windows support. |
I definitely believe goss support for Windows is valuable. I haven't understood the reason for that coming up, though - CI shows macOS passing, and Linux and Windows failing for the same error
https://pkg.go.dev/os/user#LookupId suggests nothing about any Windows-ism...? |
The |
Ah, I see; thanks. I think I eyeball parsed that away when I googled for the docs. https://github.com/aelsabbahy/goss/blob/master/docs/platform-feature-parity.md#matrix---testsassertions - So - |
Same code is in used in main goss code lines for group/users on windows. https://github.com/aelsabbahy/goss/blob/a2153db055d1127fcc2045e1c48cf276fb387697/system/user.go So options I see are:
|
goss-org/GOnetstat#2 should get rid of runc there, if we can merge that I'll update here and look at removing it here too if possible. |
I took a rough stab at removing runc from main goss code, so if goss-org/GOnetstat#2 is merged and I update the dependency we can remove the runc dependency entirely. For now it will still fail due to dependency |
1377766
to
89230f7
Compare
Fixes a security issue in runc and moves to some later versions of docker Signed-off-by: R.I.Pienaar <rip@devco.net>
OK, I finally made it through this trial. Where I needed noncgo things I essentially implemented basic versions of what runc did, so this should be functionally equivelant now to what was before minus the runc dependency Also udpated a few other things - the only exception is yaml from v2 to v3 which changed a few types |
Any chance we can get this looked at? This resolves a number of security vulnerabilities in dependencies, so quite keen to get this in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Does this mean more implementation coverage on Windows as a side effect?
No I did not add any additional windows features, however we would have lost some had we upgraded runc, by re-implimenting what it did we retained the current set of features. |
thank you |
Checklist
make test-all
(UNIX) passes. CI will also test thisDescription of change
Fixes a security issue in runc and moves to
some later versions of docker
Signed-off-by: R.I.Pienaar rip@devco.net