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
Added script to generate altsrc flag definitions #1244
Conversation
…t sources. - Updated unit tests for atlsrc handling to match expected usage via cli.App. Previously, the tests tried to mock cli.Context which caused differences in behavior. - The types of altsrc flags are now limited to the subset that provide FlagInputSourceExtension implementation and have matching methods in InputSourceContext interface. Removed types where never updated from the input source. - Added script to generate altsrc flag definitions, restricted list of types to the ones that provide implementation of FlagInputSourceExtension. The original program to generate altsrc flags is nowhere to be found, so replaced with fg.py.
dc5f4fc
to
d3bb346
Compare
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else. |
Closing this as it has become stale. |
@ipostelnik Sorry for the long delay! 😭 Any chance you're interested in refreshing this work, especially in light of the most recent round of flag generation tooling? |
@dearchap if you're interested in seeing this work moved forward, I think I would prefer the use of the more recently-(re)introduced |
@meatballhat That should be fine. @ipostelnik Are you up to resolve the conflicts ? |
PR #1553 Does this on latest and uses the internal gen flag program. |
Added script to generate altsrc flag definitions, restricted list of types to the ones that provide implementation of FlagInputSourceExtension.
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Testing
Existing unit tests
Release Notes
Removed
altsrc
flag definitions for types that do not implement FlagInputSourceExtension. These types did not have their values loaded from the configuration file.