Skip to content

doc/topics/development/conventions/formulas.rst ID Naming Standard #36962

Closed as not planned

Description

@damon-atkins

Description of Issue/Question

doc/topics/development/conventions/formulas.rst needs to talk more about suggested ID Naming Standard for https://github.com/saltstack-formulas e.g if everyone used install_pkg for an ID salt would fail.

It needs to provide guidance on naming the ID. e.g.

  • prefix with formula state name
  • use suffix with formula state name
    etc

Activity

  1. added
    documentation
    on Oct 13, 2016
  2. added this to the Approved milestone on Oct 13, 2016
  3. gtmanfred commented on Oct 13, 2016

    @gtmanfred
    Contributor

    That would be great to have. We should formalize this so that we can avoid naming conflicts in formulas

  4. damon-atkins commented on Oct 13, 2016

    @damon-atkins
    ContributorAuthor

    Few extra thoughts.
    E.g. https://github.com/saltstack-formulas/ <name>-forumula

    • <name> is the name of the state.
    • <name> is the prefix for all pillars
    • <name> is the prefix for all ID's

    Is _ or . or something else to be the separator?

    Except for a file, which is replaced can use the filename as the ID. Because two states can not mange the same file. e.g. file.absent, file.managed.

    Not sure if salt errors when two different file.managed battle it out for the same file. I should try it out see what happens.

    I will leave it to SaltStack to decide and doco. I thought it should be good to standardised in some shape or form to stop ID clashes.

  5. stale commented on Jul 13, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  6. stale commented on Jul 14, 2018

    @stale

    Thank you for updating this issue. It is no longer marked as stale.

  7. stale commented on Jan 10, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  8. stale commented on Jan 13, 2020

    @stale

    Thank you for updating this issue. It is no longer marked as stale.

  9. stale commented on Feb 12, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  10. stale commented on Feb 13, 2020

    @stale

    Thank you for updating this issue. It is no longer marked as stale.

  11. 12 remaining items

  12. dwoz commented on Oct 15, 2026

    @dwoz
    Contributor

    Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.

    Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.

    If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.

  13. dwoz commented on Oct 17, 2026

    @dwoz
    Contributor

    Reopening — there is an open PR tracking a fix for this: #69549.

  14. reopened this on Oct 17, 2026
  15. dwoz commented on Oct 28, 2026

    @dwoz
    Contributor

    Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.

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

    Confirmeddoc-reworkdocumentationseverity-mediumtime-estimate-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions