saltstack-formulas / apache-formula

Set up and configure the Apache HTTP server
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
50 stars 285 forks source link

Feature/remote ip internal proxy support #300

Closed mariusvw closed 3 years ago

mariusvw 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.

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

noelmcloughlin commented 3 years ago

Nearly there ;-) The linters want lower-case commit message: " subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case]". Easiest way is git rebase: see https://wideopentech.com/how-do-i-amend-multiple-commits-with-git/ and change uppercases to lower.

myii commented 3 years ago

Perhaps it would be simpler to just amend the commit message using the Squash and merge button? The second commit isn't significant, so we could just have the one squashed commit:

feat(trusted_proxy): add support for RemoteIPInternalProxy
noelmcloughlin commented 3 years ago

Squash and merge button?

Interesting. Where is that button? I cannot see it..

image

myii commented 3 years ago

Interesting. Where is that button? I cannot see it..

@noelmcloughlin It's one of the drop-down options of the Merge pull request button. Note, that GitHub will remember your setting for this formula, so when you next merge a PR here, it will probably still be set to Squash and merge!

You can override the commit message in the textbox at the top, which probably has Feature/remote ip internal proxy support (#300) in it by default.

noelmcloughlin commented 3 years ago

Thanks @myii learned something new. Thanks, @mariusvw for the PR and improvements!!! Appreciated.

noelmcloughlin commented 3 years ago

The only issue with "squash and merge" is that PR gets merged immediately by me (no CI job).
However, if @mariusvw uses git rebase/squash/reword then a new commit is created and Travis CI jobs will rerun.

noelmcloughlin commented 3 years ago

anyway its merged ;-)

myii commented 3 years ago

The only issue with "squash and merge" is that PR gets merged immediately by me (no CI job). However, if @mariusvw uses git rebase/squash/reword then a new commit is created and Travis CI jobs will rerun.

Yep, I should have mentioned that. If I'm concerned about the PR before the squash and merge, I run it in my own fork first.

mariusvw commented 3 years ago

@noelmcloughlin / @myii, I'll use the semantic-release next time, no problem, I'd rather learn than someone else silently fixing it ;)

saltstack-formulas-travis commented 3 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: