-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use rackup
in Procfile
#909
Conversation
@monfresh in regards to #906 (comment): Might you be willing to accept this? It changes very little doc-wise, but would seem to make dev a little closer to prod, and would allow folks using heroku to re-use Procfile you use for dev :) |
Thanks for the PR. It seems fine to me, but want to let my teammates take a look when they get back from vacation next week. |
@amoose you care to comment? I'm fine with this but don't really know the nuances of |
hey @patcon -- looks like a recent PR created a conflict for this change. If you'd be willing to rebase and resolve, I can merge. |
Oh darn, looks like there is still a merge conflict here. Care to resolve, @patcon ? |
027a8bc
to
f68e297
Compare
Oops, missed that msg before. Done and done! |
f68e297
to
f1f7dd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌈
I think this still needs the following lines added to use Rails::Rack::Debugger
use Rack::ContentLength |
@patcon I'm not sure why the codeclimate/coverage hook is stuck on this. Could you try squashing your 2 commits and re-pushing to GH? Thanks. |
The CC coverage won't work for forks because it requires a secret token on Travis. We'll have to disable then reenable the check when merging external PRs. |
Please hold off on merging this. I'm running into a Sidekiq issue starting the app. Trying to figure out if it's related to this PR or not. |
Yep, it is. The addition of those 2 lines to |
The culprit is |
I've never used the |
I have never used |
Problem solved. It looks like the documentation is super old unfortunately. The @patcon Sorry for the confusion. Could you please remove the |
Done, and no prob at all! In fact, I should have tested so it wasn't you who hit it ;) |
looks great @patcon thanks! If you squash these 3 commits into 1 and re-push, I will merge. |
Thanks! Please squash your commits and we should be good to go. |
@patcon I went ahead and squashed as part of the GH merge. Thanks for your contribution! |
haha i promise my next 2-line contribution will be quicker and cleaner :) Is it a policy that you like squashed commits? I know sometimes that throws off code review on larger PRs. But if so, I can add something to the CONTRIBUTING.md. Lemme know |
@patcon yes, sorry, just released that the code style docs are all internal (private) right now, but do not need to be. Here's the relevant bit that might help you craft some language in a PR against CONTRIBUTING.md You are our first external contributor to this particular repo (congrats!), and we hadn't yet written anything formal for that case. How do I merge a PR?Once a PR has passed all automated checks and has received at least All PR commits should be squashed into a single commit before merging unless The author or reviewer may merge a PR as long as it is approved. If the author has created several "fix" commits in response to reviewer Note: If you are squashing commits, only force push if you are the branch owner The person merging the PR should:
The author of the PR should be explicit if non-normal flow is to be used (e.g. |
Thanks! Am i missing why y'all couldn't just disable all options except "Allow squash merging" on the Settings page for the repo? |
We allow both squashing and rebasing depending on the scenario. The most common scenario is as follows:
Another scenario is when we use bummr to update gems, as in #973, for example. In that case, we want a single commit for each gem update, but it's all part of the same PR. In that case, we don't want to squash, so we use the "Rebase and merge" option. |
* Use rack in Profile. Explicitly use port 3000. * Added missing rack middleware for development. * Remove debugger rack config. See: #909 (comment)
* Use rack in Profile. Explicitly use port 3000. * Added missing rack middleware for development. * Remove debugger rack config. See: #909 (comment)
Addresses #906
This also explicitly uses port 3000, which otherwise can vary between servers.
(foreman defaults PORT envvar to 5000; rack defaults to 9292 on its own, etc)