-
Notifications
You must be signed in to change notification settings - Fork 3
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
Exposing distro GUID in the registry #30
Conversation
4f66796
to
828954c
Compare
828954c
to
8a2af33
Compare
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.
And here we go! Some comments on some pieces to make the code itself more maintainable in the future and this PR a little bit cleaner, but those are just some nitpicks and general advice.
36eaa18
to
b0a3c14
Compare
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.
Some comments on the change (and probably some I missed in the previous reviews). Those are more areas to explore and then, we should be able to merge
For some reason the fake distro GUID test sometimes fails because it doesn't error out. Working on it... |
The word GUID is part of GoWSL's lexicon now, so it can be used through the project
- It now tests on wrong and non-existent distros - It now tests that the GUID is actually initialized
Commit b0a3c14 decorated the error for (Distro).GUID which made it too verbose in this context in particular.
Co-authored-by: Didier Roche-Tolomelli <didier.roche@canonical.com>
Now I allocate, then append
fc80c83
to
5874647
Compare
Fixed in #33. There was a collision between the names of realDistro and fakeDistro. |
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.
and let’s go! With the understanding of future test extensibility that is needed.
This allows for ensuring continuity of a distro, i.e. ensuring that a distro with a certain name is the same as last time you checked.
WSL-316