Open faudebert opened 4 years ago
Best reviewed: commit by commit
Powered by Pull Assistant. Last update 4edd99f ... f455b72. Read the comment docs.
LGTM. Separate PRs would be easier to eyeball, but if Travis CI is passing should be good to go
Thanks for your feedback.
Tried to follow the guideline regarding having two distinct refactor
& feat
pull-requests. I've created #267 which only contains refactor
changes but current feat
PR relies on it. Maybe having this pull-request base
pointing at #267 branch would be clearer?
I was just passing by (I don't maintain this repo) but yes, maybe I should have reviewed #267 first. Anyway LGTM.
Rebased on opendatasoft:upstream/generic-namespaces
from https://github.com/saltstack-formulas/nginx-formula/pull/267.
@sticky-note Would you mind looking at this and #267? Please let us know if time is short and we'll look at some way of getting these reviewed.
@faudebert From a reviewing perspective, smaller PRs are much easier to review, so usually get done much quicker. Even single-line changes can have significant impacts, the further we extend, the more cautious we get. We'll probably have to do that here where we leave these two PRs in place and then work through the proposals in smaller blocks in further PRs.
For example, we've already got a new standard emerging for map.jinja
that has been implemented by @baby-gnu in these formulas:
We've had quite a few discussions about this in the Formulas' working group meetings, such as here:
We're also implementing a new verification standard to use before refactoring any map.jinja
, which involves using InSpec testing to make sure the map is produced the same before and after:
It would be important to bring those in here first before refactoring map.jinja
.
These are just some points to help you see where we are currently. Please feel free to continue the discussion. We value your contribution and feedback, it just requires a structured approach to review.
I'll look at this one once #267 is merged
PR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?No.
Related issues and/or pull requests
This PR relies on #267 which should be thus considered before. In this PR only introduce the last 2 commits.
Describe the changes you're proposing
This pull-request attempts to reintroduce (basic) OpenResty support within the NGINX formula.
Pillar / config required to test the proposed changes
Set
nginx:install_from_openresty: True
and use the formula as usual.Debug log showing how the proposed changes work
Having set
nginx:install_from_openresty: True
, check apply.log to seesalt-call
output on a clean Debian Stretch host.Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context
I don't know why previous OpenResty support was dropped. I hope this might be of any interest.