Skip to content

Bumped child process packages and open up Windows support again - #64

Open
WyriHaximus wants to merge 2 commits into
reactphp:0.2.xfrom
WyriHaximus-secret-labs:support-latest-version-child-process
Open

Bumped child process packages and open up Windows support again#64
WyriHaximus wants to merge 2 commits into
reactphp:0.2.xfrom
WyriHaximus-secret-labs:support-latest-version-child-process

Conversation

@WyriHaximus

Copy link
Copy Markdown
Member

With the latest child process related packages adding support for windows again we can also open support for it again in this package

@WyriHaximusWyriHaximus added this to the v0.2.0 milestone Apr 4, 2019
@WyriHaximus
WyriHaximus requested review from clue and jsorApril 4, 2019 19:55

@clueclue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@WyriHaximus Thanks for looking into this! Can you provide some instructions on how to best reproduce this on Windows? Is this covered by just running the test suite on Windows? I couldn't find any references in the updated dependencies, that's why I'm wondering what changes where required upstream.

@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@clue Whoops this was supposed to be a draft PR. Wanted to do one last test run before opening it. In short all communication on the underlying dependencies goes over sockets rather then STD* and they all support react/child-processv0.6 by passing an list of overwritten file descriptors.

@WyriHaximusWyriHaximus changed the title Bumped child process packages and open up Windows support again[WIP] Bumped child process packages and open up Windows support againApr 5, 2019
@WyriHaximus
WyriHaximusforce-pushed the support-latest-version-child-process branch from 165e223 to 68b50a5CompareApril 12, 2019 16:39
@ghost

ghost commented Jul 9, 2019

Copy link
Copy Markdown

@WyriHaximus@clue 🏓 What's the current state on this PR?

@clue

clue commented Jul 10, 2019

Copy link
Copy Markdown
Member

I agree that supporting the latest ChildProcess component makes perfect sense, but I don't see how this currently supports Windows? Perhaps split this into a separate follow-up PR?

For the reference, in case anybody's interested, here's an example how one could use socket I/O to communicate with a child process on Windows: clue/reactphp-sqlite#13

@ghost

ghost commented Oct 5, 2019

Copy link
Copy Markdown

@WyriHaximus status?

@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@CharlotteDunois right!

@clue the messenger pool switched to fully using sockets in that release

@clue

clue commented Oct 5, 2019

Copy link
Copy Markdown
Member

@WyriHaximus That's great! Let's make this actionable, what makes this PR "WIP"?

@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@clue I can't remember 🤐 , will have a check on my windows box tomorrow

@WyriHaximusWyriHaximus changed the title [WIP] Bumped child process packages and open up Windows support againBumped child process packages and open up Windows support againOct 6, 2019
@clueclue mentioned this pull request Oct 7, 2019
@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@clue Checked earlier today and it works on windows now. What do you think about adding an allowed to fail windows build on travis?

@clue

clue commented Oct 7, 2019

Copy link
Copy Markdown
Member

@WyriHaximus That would be fantastic! See reactphp/child-process#71 for possible Travis CI config.

@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@clue added it to this PR 👍

Comment thread.travis.yml
- name: "Windows"
os: windows
language: shell # no built-in php support
before_install:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like you may want to also update or overwrite the install and/or script instructions for Windows 👍

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

yeah I missed that, will fix it later tonight 👍

@WyriHaximus
WyriHaximusforce-pushed the support-latest-version-child-process branch from 871cf7d to b06b908CompareOctober 7, 2019 18:32
@ghost

ghost commented Oct 7, 2019

Copy link
Copy Markdown

You'll probably want to add this utility method to the tests for cross compatibility paths. https://github.com/reactphp/filesystem/pull/69/files#diff-d4c8c6dc8769324fc27cfdac19f05cafR122-R131

@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@CharlotteDunois yup, I'll fix all the windows build issues in this PR 🤣

@ghost

Copy link
Copy Markdown

@WyriHaximus status?

@WyriHaximus
WyriHaximusforce-pushed the support-latest-version-child-process branch from b06b908 to 0a8e671CompareApril 29, 2020 18:59
@WyriHaximus

Copy link
Copy Markdown
MemberAuthor

@CharlotteDunois just rebased and pushed it, will have a better look tomorrow

Sign up for freeto 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.

2 participants

@WyriHaximus@clue