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

Remove cruft not required in new releases #774

Merged
merged 6 commits into from
Feb 26, 2020
Merged

Remove cruft not required in new releases #774

merged 6 commits into from
Feb 26, 2020

Conversation

tjkirch
Copy link
Contributor

@tjkirch tjkirch commented Feb 24, 2020

commit 606981298fc4dbacdb3ddc1156df8c95ca67bec9
Author: Tom Kirchner <tjk@amazon.com>
Date:   Mon Feb 24 12:52:23 2020 -0800

Replace unused timezone/hostname settings with motd setting

It's useful to have an example setting so that users can see it in
documentation and follow along, learning the API by actually making calls,
without worrying about breaking their system.  We were using hostname and
timezone for this, but those sounded like real settings (and were originally
intended to be real settings) so it was confusing.

motd is a "real" setting in that it updates /etc/motd, but that's very low risk
and only exposed to the user in any case.  Plus, with low risk, it's fun to see
an actual impact on your system.
commit 791fb4817c642e9d9e43c47513abe992b7410920
Author: Tom Kirchner <tjk@amazon.com>
Date:   Mon Feb 24 11:55:32 2020 -0800

Remove comment about version formats supported by old versions
commit f24898a21b1cc860b5c5641ea5b63f34997f11dd
Author: Tom Kirchner <tjk@amazon.com>
Date:   Mon Feb 24 11:23:44 2020 -0800

Remove migrator remove-key workaround that no longer applies
commit ae236a630fbdcbe3f08c2e9c9b8b9398d7522904
Author: Tom Kirchner <tjk@amazon.com>
Date:   Mon Feb 24 10:17:33 2020 -0800

Remove workaround for old migration interface
commit f4b3f7f58385373189a99c78d8fba9207f5c92cb
Author: Tom Kirchner <tjk@amazon.com>
Date:   Mon Feb 24 10:16:40 2020 -0800

Remove old migrations that no longer apply after 0.3 break

Testing done:

Updated unit tests pass.

I launched an instance and was able to run a pod OK. The migrations tarball is produced, but empty, as expected.

I saw the new default motd in /etc/motd. I changed the setting, committed, and saw the change in /etc/motd.

Regarding the removal of the migrator interface workaround, I tested the new interface didn't need it in #644, and the old interface doesn't exist anymore with this PR.

@tjkirch
Copy link
Contributor Author

tjkirch commented Feb 25, 2020

This push changes "settings.example" to "settings.motd" per discussion with bcressey above. #774 (comment)

Updating testing in the description now.

It's useful to have an example setting so that users can see it in
documentation and follow along, learning the API by actually making calls,
without worrying about breaking their system.  We were using hostname and
timezone for this, but those sounded like real settings (and were originally
intended to be real settings) so it was confusing.

motd is a "real" setting in that it updates /etc/motd, but that's very low risk
and only exposed to the user in any case.  Plus, with low risk, it's fun to see
an actual impact on your system.
@tjkirch
Copy link
Contributor Author

tjkirch commented Feb 25, 2020

This push just fixes a typo in the updated commit message; sorry!

This will be a breaking release, so we clear the migrations list.
@tjkirch
Copy link
Contributor Author

tjkirch commented Feb 25, 2020

This push adds a commit that updates Release.toml, removing the migrations that were removed in this PR, and updating the version to reflect why.

Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

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

😀

Release.toml Show resolved Hide resolved
packages/os/os.spec Show resolved Hide resolved
@bcressey
Copy link
Contributor

🕵🏻‍♂️

@tjkirch tjkirch merged commit 230cb2c into develop Feb 26, 2020
@tjkirch tjkirch deleted the mycruft-holmes branch February 26, 2020 17:06
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.

None yet

3 participants