Skip to content

[BUG] "superseded" means the old thing #57919

Closed

Description

@OrangeDog

Therefore the config option use_superseded has the opposite meaning to what it does.

v. To be discarded or discontinued as useless or obsolete; to be replaced by something else.
adj. No longer in use.

Activity

  1. added
    bug
    on Jul 13, 2020
  2. OrangeDog commented on Jul 13, 2020

    @OrangeDog
    ContributorAuthor

    The only thing that uses it is the module.run state.

    As the styles are mutually-exclusive, the state could be written to support both (and warn on the old one), without any need for a config option. The misnamed option can then simply be deleted.

  3. max-arnold commented on Jul 15, 2020

    @max-arnold
    Contributor

    I just learned that @meaksh implemented a compatibility layer that can automatically handle the differences between the module.run syntaxes: https://github.com/uyuni-project/uyuni/blob/master/susemanager-utils/susemanager-sls/src/states/mgrcompat.py

  4. OrangeDog commented on Jul 15, 2020

    @OrangeDog
    ContributorAuthor

    That's a slightly different approach - it detects what it "should" be, and converts the input to be that.
    I meant something that detects which style it is, and runs it (which could be by always converting to the new format).

    Or, given it's been deprecated for a while, the old style could simply be dropped, and the config option along with it.

  5. added
    severity-medium
    on Jul 16, 2020
  6. added this to the Approved milestone on Jul 16, 2020
  7. added
    Aluminium
    on Jul 29, 2020
  8. removed
    Aluminium
    on Mar 5, 2021
  9. modified the milestones: Aluminium, Approved on Mar 5, 2021
  10. waynew commented on Oct 19, 2021

    @waynew
    Contributor

    I support removing the option (the other issues discussing the module.run disambiguity are 👍 ), since 1) it's mis-named, and 2) it's not useful.

    That should be done as part of the module.run silliness.

  11. OrangeDog commented on Sep 14, 2022

    @OrangeDog
    ContributorAuthor

    The option was removed in 3005.

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

    bugseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions