Skip to content

Track whitelist terminology in cobra etc. #1031

Open

Description

@markusthoemmes

The client is currently forced to use whitelist terminology due to dependencies

See:

FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},

rootCmd.FParseErrWhitelist = cobra.FParseErrWhitelist{UnknownFlags: true}

rootCmd.FParseErrWhitelist = cobra.FParseErrWhitelist{UnknownFlags: true}

bootstrapFlagSet.ParseErrorsWhitelist = flag.ParseErrorsWhitelist{UnknownFlags: true}

There's already upstream proposals to change those, so let's make sure we consume once ready spf13/pflag#261.

Activity

  1. rhuss commented on Sep 29, 2020

    @rhuss
    Contributor

    @markusthoemmes thanks for the heads-up!

    As the upstream PR is merged, let's update as soon as there is the next release.

  2. github-actions commented on Dec 29, 2020

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  3. added
    lifecycle/stale
    on Dec 29, 2020
  4. rhuss commented on Mar 3, 2021

    @rhuss
    Contributor

    @markusthoemmes are you sure the reference to the upstream PR is correct ? It looks unrelated to this issue to me.

  5. markusthoemmes commented on Mar 3, 2021

    @markusthoemmes
    ContributorAuthor

    Fixed, thanks.

  6. removed
    lifecycle/stale
    on Mar 4, 2021
  7. github-actions commented on Jun 3, 2021

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  8. added
    lifecycle/stale
    on Jun 3, 2021
  9. rhuss commented on Jun 6, 2021

    @rhuss
    Contributor

    /remove-lifecycle stale

  10. removed
    lifecycle/stale
    on Jun 6, 2021
  11. added
    triage/accepted
    on Jul 9, 2021
  12. rhuss commented on Jan 4, 2022

    @rhuss
    Contributor

    I think it's a good point in time again to check whether Cobra has updated their code already and maybe find out or create an issue on the cobra tracker?

  13. added
    kind/refactor
    on Jan 4, 2022
  14. moved this to Icebox in Client Planningon Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/refactortriage/accepted

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions