saltstack-formulas / postfix-formula

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

refactor(maps): move tls_policy and transport maps to standard mapping #106

Closed fzipi closed 4 years ago

fzipi commented 4 years ago

Signed-off-by: Felipe Zipitria fzipitria@perceptyx.com

Will push additional PRs with small fixes and.. tests :smile:

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?

YES.

Changing the transport will affect pillars defined in the original format. Now the map definition should be below the mapping key, as shown in the pillar.example file.

Related issues and/or pull requests

Describe the changes you're proposing

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

pull-assistant[bot] commented 4 years ago
Score: 1.00

Best reviewed: commit by commit


Optimal code review plan

     refactor(maps): move tls_policy and transport to mapping section

Powered by Pull Assistant. Last update 06276fd ... 06276fd. Read the comment docs.

fzipi commented 4 years ago

@daks Please check this one and the other two I've sent.

fzipi commented 4 years ago

@myii Can you provide feedback?

myii commented 4 years ago

@fzipi Apologies, there are fewer people available for review these days. We've spoken about this in the Formulas' Working Group meetings, to find the right ways to tackle this. Have a look at our current sprint in Taiga to get an idea of what we've covered:

Specifically, the tasks under the user story (left column):

224 Develop strategy for taking advantage of provided CODEOWNERS across formulas (e.g. decentralise formulas' maintenance): achieve better response times for issues and PRs, improve sustainability by delegating the maintenance burden, etc.

One of the main ideas is to use the CODEOWNERS file to help keep formulas well-maintained by encouraging regular contributors to take ownership of certain formulas, with our support of course. So that means adding a global owner to this section:

https://github.com/saltstack-formulas/postfix-formula/blob/2f9c96e17078ced0fa80d9a4c245a107eaa727cd/CODEOWNERS#L3-L9

While explaining that many files in the formula will still be maintained by us (to reduce the burden):

https://github.com/saltstack-formulas/postfix-formula/blob/2f9c96e17078ced0fa80d9a4c245a107eaa727cd/CODEOWNERS#L14-L41

We've already got 40 formulas with a global code owner defined:

So since you've shown a lot of interest in this formula and you've got PRs that you'd like to merge here, how would you feel about helping out with the maintenance of this formula? That means you would have the ability to work with issues and PRs, including merging your own PRs if there is no feedback within a certain period of time.

fzipi commented 4 years ago

@myii Sure, count me in!

myii commented 4 years ago

@myii Sure, count me in!

@fzipi Excellent, I've sent you an invite. I'll add you to the CODEOWNERS file as well, as the global owner -- don't worry, we're all still here to give you a hand, so let us know if you need anything.

myii commented 4 years ago

@fzipi CODEOWNERS updated in f49290cc92eb5bbe2f70da17ccc633dc95f9d0fe -- welcome to the formula, you're in charge now!

Actually, since the CI is still using the old pre-salted images here, I'll send you through your first PR to consider for merging -- I'll do that soon so that your current PRs can benefit from that.

myii commented 4 years ago

OK, testing with the latest pre-salted images now:

myii commented 4 years ago

Nice, all working first time, so PR submitted: #110.

fzipi commented 4 years ago

After reviewing, this maybe has a breaking change for transport (small, but would break pillars for those who has it). Will add the breaking stanza to the commit.

saltstack-formulas-travis commented 4 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: