Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement daemon mode#351

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
andig wants to merge5 commits intophp-pm:master
base:master
Choose a base branch
Loading
fromandig:daemon
Open

Implement daemon mode#351

andig wants to merge5 commits intophp-pm:masterfromandig:daemon

Conversation

@andig
Copy link
Contributor

Some code is borrowed fromhttps://github.com/phlib/console-process (LGPL)- need to double-check if that is ok

@szepeviktor
Copy link
Contributor

Any word about it in the README?

@marcj
Copy link
Member

We can't use code from a different license if it's just simply copied. If it's inspired or is a construct that is used also everywhere else (like in the documentation, tutorials etc) then we don't need the reference to phlib/console-process as those stuff is not licensable. I personally don't see anything that is defendable although I haven't checked the origin and don't know how hard you copied, if you even did.

@andig
Copy link
ContributorAuthor

We can't use code from a different license if it's just simply copied.

Imho they could chose to relicense for us. I've opened an issue at that project. If you have objections please feel free to close but I'm lacking capacity to start over :/

@chrisminett
Copy link

Hi,

I'm a maintainer at phlib/console-process

It's fine with us! See comment atphlib/console-process#4

Cheers,
ChrisM

andig, PabloKowalczyk, andreybolonin, friedrichroell, and jkrzefski reacted with hooray emoji

@andigandigforce-pushed thedaemon branch 3 times, most recently from665c8fd to4f36839CompareAugust 24, 2018 17:22
@andig
Copy link
ContributorAuthor

andig commentedAug 24, 2018
edited
Loading

I've updated and simplified the PR.
I would appreciate a second look as the PHP 7 build fails with an unclear error message. Not sure if this is intermittent or real?

@andigandigforce-pushed thedaemon branch 5 times, most recently from83b15b1 to30d126aCompareAugust 27, 2018 16:06
@andigandig added this to the2.0 milestoneAug 27, 2018
@marcj
Copy link
Member

What is the main processes dies? Will it automatically restart?

@andig
Copy link
ContributorAuthor

No, thats nothing I‘ve considered. Should be done via systemctrl daemon setting?

@mowangjuanzi
Copy link

When will it be merged to master? I need it

jkrzefski reacted with thumbs up emoji

@acasademont
Copy link
Contributor

Hi@andig should we move forward with this one?

if ($output->isVerbose()) {
$output->writeln('Daemonized');
}
returnnull;
Copy link
Contributor

Choose a reason for hiding this comment

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

Asthis project supports Symfony 5, the return value of a commandsexecute method must be an integer. While it isnot part of the methods signature in the abstractCommand class, it is stillvalidated and an exception will be thrown for any non-integer return value. So I suggest, you change this toreturn 0; along with the other return statement below.

@andig
Copy link
ContributorAuthor

Hi@andig should we move forward with this one?

Up to you. We‘ve had this around for so long I wouldn‘t mind closing although there seems to be some positive comments.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@jkrzefskijkrzefskijkrzefski left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.0

Development

Successfully merging this pull request may close these issues.

7 participants

@andig@szepeviktor@marcj@chrisminett@mowangjuanzi@acasademont@jkrzefski

[8]ページ先頭

©2009-2025 Movatter.jp