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
Implement the :settings
subcommand
#1073
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… cidrblock Steps in settings Some Settings Changes Adding additional menu columns and data Removing an accidental change to config.py ui menu Cleaning up menu columns, removing description and default_value columns Added content heading and menu formatting Fixing shorts showing as null Cleanup Starting settings file path work and refining settings stdout Rebasing???? changes from monday first pass on tests Designing tests for settings action Move into config subsystem Refining tests for direct interactive ee and no ee tests Formatting Adding tests and fixing cli parameter issues in utils Disable UPDATE_FIXTURES for settings tests working on stdout test, WIP fix doc string test fixes and unit tests Changing settings to use self._args instead of self.app.args Linting changes Additional docstring changes update_fixtures to false to save CI fixing stdout stuff Linter changes Update _yaml.py Update _yaml.py Update settings.py Unneeded file Unneeded file Fixing tests and adding changelog fragment [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Update fixtures to false test fixes settings unit test fixes (hopefully) Squashed commit of the following: commit 38c107f Author: cidrblock <bthornto@redhat.com> Date: Thu Feb 17 10:24:11 2022 -0800 Mask collection doc cache path commit c63e830 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit 2ee93ee Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit fe30e46 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit cc3a675 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit e6a6ab3 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit f0fff09 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit 3fec8ae Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit c9c28e7 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty Presentation changes Update unit tests REmove curses readding requirements.yml for builder test_ee [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci stdout test fixes and fixture updates after the last commit Update docs/changelog-fragments.d/957.internal.md Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Update docs/changelog-fragments.d/957.internal.md Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> formatting/docstring fixes Test example for jake isort Add constants Renaming changelog fragment and adding color constants to settings Refactor utils cut paste error Utils updates and variable readability change Settings updates Rm commented code, move file sort Update definitions.py Lint fixes, restore type aliases Switch to TypedDict Typeddict in 3.8 Format cast again TValueType :) all the way through Switch to DataClass Unit test fix [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Rebase and update Fix stdout Remove duplicate clear Definitions constants update Initial support for settings Steps in settings Some Settings Changes Some Settings Changes Adding additional menu columns and data Removing an accidental change to config.py ui menu Cleaning up menu columns, removing description and default_value columns Added content heading and menu formatting Fixing shorts showing as null Cleanup Starting settings file path work and refining settings stdout Rebasing???? changes from monday first pass on tests Designing tests for settings action Move into config subsystem Refining tests for direct interactive ee and no ee tests Formatting Adding tests and fixing cli parameter issues in utils Disable UPDATE_FIXTURES for settings tests working on stdout test, WIP fix doc string test fixes and unit tests Changing settings to use self._args instead of self.app.args Linting changes Additional docstring changes update_fixtures to false to save CI fixing stdout stuff Linter changes Update _yaml.py Update _yaml.py Update settings.py Unneeded file Unneeded file Fixing tests and adding changelog fragment [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Update fixtures to false test fixes settings unit test fixes (hopefully) Squashed commit of the following: commit 38c107f Author: cidrblock <bthornto@redhat.com> Date: Thu Feb 17 10:24:11 2022 -0800 Mask collection doc cache path commit c63e830 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit 2ee93ee Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit fe30e46 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit cc3a675 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit e6a6ab3 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit f0fff09 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit 3fec8ae Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty commit c9c28e7 Author: cidrblock <bthornto@redhat.com> Date: Wed Dec 1 11:10:15 2021 -0800 empty Presentation changes Update unit tests REmove curses readding requirements.yml for builder test_ee [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci stdout test fixes and fixture updates after the last commit Update docs/changelog-fragments.d/957.internal.md Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Update docs/changelog-fragments.d/957.internal.md Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> formatting/docstring fixes Test example for jake isort Add constants Renaming changelog fragment and adding color constants to settings Refactor utils cut paste error Utils updates and variable readability change Settings updates Rm commented code, move file sort Update definitions.py Lint fixes, restore type aliases Switch to TypedDict Typeddict in 3.8 Format cast again TValueType :) all the way through Switch to DataClass Unit test fix [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Rebase and update Fix stdout Remove duplicate clear Definitions constants update
alisonlhart
force-pushed
the
feature/settings-subcmd
branch
from
March 10, 2022 15:56
a4633cd
to
94072dd
Compare
cidrblock
approved these changes
Mar 10, 2022
thedoubl3j
approved these changes
Mar 10, 2022
ganeshrn
approved these changes
Mar 11, 2022
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.
@alisonlhart @thedoubl3j Nice work!
Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #577
Add settings action
Add settings subcommand
Peripheral changes included:
PresentableSettingsEntry
becomes unfrozen as a frozen class cannot inherit from a frozen parentPresentableSettingsEntry
needs to inherit fromContentBase
as will will be presented to the UI as is.PresentableSettingsEntry
loses it'sget
b/c `ContentBase has oneTypedStep
now usesSequence
instead ofList
so aTuple
can be usedui_framework.ui.show
now recognizes both lists and tuplesserialize.ContentType
can now be aList[ContentBase]
b/c arun_stdout
may be serializing a full list of entriesutils.serialize.prepare_content
will now serialize a list of dataclasses