8000 [WIP][FrameworkBundle] Added server status command by fixe · Pull Request #5373 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WIP][FrameworkBundle] Added server status command #5373

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

Closed
wants to merge 1 commit into from
Closed

[WIP][FrameworkBundle] Added server status command #5373

wants to merge 1 commit into from

Conversation

fixe
Copy link
Contributor
@fixe fixe commented Aug 28, 2012

This pull request is an attempt to move the check.php from symfony-standard to the FrameworkBundle.

Is this something that can be merged in the future? Should we continue the work?

@travisbot
Copy link

This pull request fails (merged 3b6b707 into 9f4525a).

@Tobion
Copy link
Contributor
Tobion commented Aug 28, 2012

When I first read "server status command" I thought of something else. This name is not optimal because a "status" is something that can change over time, e.g. a disruption of service. But the requirements fulfillment usually cannot change randomly without manual changes. So something like "server config check" is more appropriate.

* @author Tiago Ribeiro <tiago.ribeiro@seegno.com>
* @author Rui Marinho <rui.marinho@seegno.com>
*/
class ServerStatusCommand extends ContainerAwareCommand
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to extend ContainerAwareCommand when you dont use the container.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just waiting for feedback on whether we cleanup this command or close the PR.

@Tobion
Copy link
Contributor
Tobion commented Aug 28, 2012

I like the idea but the problem is that we have the requirements now at 2 places redundant (here and in FrameworkExtraBundle where it is automatically copied to app/. And both need to be maintained. Or we find another solution to this in general. Also you cannot run this command without vendors installed. So this requirement is also useless.
Let's see what @fabpot says.

@fixe
Copy link
Contributor Author
fixe commented Aug 28, 2012

I was thinking about suggesting the removal of the files from those 2 places if this change is accepted.

@stof
Copy link
Member
stof commented Aug 29, 2012

I don't think this should be in FrameworkBundle. It is not required to have it to use the framework. SensioDistributionBundle is better for this.

And the way you implemented it requires to have s 8000 ymfony up and running before being able to check the requirements (you need to be able to boot the kernel). So I think half of these requirements checks may become useless because they will fail before you can check them.

@fabpot
Copy link
Member
fabpot commented Aug 29, 2012

Closing this PR as I like the way it is done now better.

@fabpot fabpot closed this Aug 29, 2012
OskarStark added a commit to symfony/symfony-docs that referenced this pull request Feb 23, 2024
This PR was squashed before being merged into the 7.1 branch.

Discussion
----------

[Notifier] [SMSense] add docs

Add SMSFactor docs symfony/symfony#5373

fixes #19588

Commits
-------

4fc32cd [Notifier] [SMSense] add docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0