saltstack-formulas / postfix-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
25 stars 130 forks source link

fix(resources): modify names to match template-formula's #120

Closed javierbertoli closed 3 years ago

javierbertoli commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No, but will break dependencies to this formula resources's IDs being used in other formulas.

Related issues and/or pull requests

Should fix #119

Describe the changes you're proposing

Modified the resources IDs in the state files to follow the pattern proposed in the template-formula

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

javierbertoli commented 3 years ago

@baby-gnu I agree, modified the message.

I just was not sure if external dependencies on this formula (while the formula's functionality remained the same), was a reason enough to mark it as a BREAKING CHANGE.

But I noticed we did the same in the template-formula so makes sense to mark it as such. :yum:

myii commented 3 years ago

@javierbertoli The tests aren't running because pre-commit is failing (due to a salt-lint violation):

Please amend the commit to fix that, so that the CI continues to work.


However, I've manually started all of the jobs and the good news is that they're passing:


@baby-gnu I agree, modified the message.

I agree with the BREAKING CHANGE, so thank you for adding that. I've run a search for formulas which potentially may be affected by this change. These are all of the formulas mentioning postfix that aren't in this formula itself:

It would be worth glancing over that list to see if there is anything obvious that would need to be fixed.


In terms of merging, we have a codeowner defined for this formula, so let's give @fzipi a chance to review this PR.

Thanks for finding the issue and supplying a prompt fix!

fzipi commented 3 years ago

LGTM (other that fixing the lint problem). Do you think we should clarify somewhere the naming format used from now on?

myii commented 3 years ago

@javierbertoli Merged. Thanks for the reviews, @baby-gnu @fzipi.

... Do you think we should clarify somewhere the naming format used from now on?

@javierbertoli What do you think about this issue? Cover it in another PR?

saltstack-formulas-travis commented 3 years ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: