Skip to content

keep module.run #58705

Closed
Closed

Description

@cmcmarrow

Salt had decided to keep module.run. This is because the replacement function is missing features and has a sharper learning curve.

Activity

  1. added
    Feature
    and removed
    Feature
    on Oct 9, 2020
  2. changed the title [-][FEATURE REQUEST] keep module.run[/-] [+]keep module.run[/+] on Oct 9, 2020
  3. OrangeDog commented on Oct 12, 2020

    @OrangeDog
    Contributor

    What does this mean exactly? You mean the old syntax for a module.run state is no longer deprecated and will never be removed?
    What effect does this have on e.g. #57919?

  4. cmcmarrow commented on Oct 12, 2020

    @cmcmarrow
    ContributorAuthor

    @OrangeDog right now we are planing for keeping the old syntax for module.run. There is no plan on removing the old syntax. I don’t believe this should effect #57919.

  5. OrangeDog commented on Oct 12, 2020

    @OrangeDog
    Contributor

    Well it certainly removes the easy solution - remove both the deprecated syntax and the config option.

  6. added this to the Aluminium milestone on Oct 12, 2020
  7. added
    Aluminium
    on Oct 12, 2020
  8. max-arnold commented on Oct 15, 2020

    @max-arnold
    Contributor

    @cmcmarrow Could you please clarify the missing features part? What exactly is missing from the new module.run implementation?

  9. OrangeDog commented on Oct 15, 2020

    @OrangeDog
    Contributor

    I'm also a bit confused, because the new syntax allows for more expression, not less, and should be easier to learn because it's closer to the general state syntax.

  10. sagetherage commented on Oct 15, 2020

    @sagetherage
    Contributor

    I brought this up with the Core team and the new module.run is complex, but in use, it does make it easier to write states, but the learning curve is steep. The team wanted to properly deprecate the new module.run in a year since this would break states. I can't really say more as that is all I know, but I have asked @dwoz to chime in, here to answer your question @OrangeDog regarding syntax.

  11. 6 remaining items

  12. modified the milestones: Aluminium, Silicon on Mar 24, 2021
  13. removed this from the Silicon milestone on Aug 12, 2021
  14. OrangeDog commented on Jul 20, 2022

    @OrangeDog
    Contributor

    Resolved by #61772

  15. added this to the Phosphorus v3005.0 milestone on Jul 20, 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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions