-
Notifications
You must be signed in to change notification settings - Fork 19
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
Launch with shell on windows #1049
base: master
Are you sure you want to change the base?
Launch with shell on windows #1049
Conversation
Signed-off-by: Piotr Nestorow <[email protected]>
…xecution fails. Signed-off-by: Jens Johansson <[email protected]>
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.
This approach seems inconsistent - in one place it uses shell mode on all platforms, and another only for Windows.
It also (intentionally?) misses other places gauge is launched compared to #990 seemingly leading to inconsistency in how Gauge is launched for various operations which doesn't seem ideal for medium term supportability.
Any reason to not build on that PR and user's earlier work/commits and perhaps address the testing gaps rather than re-implement a subset?
No? shell-mode for win32, otherwise not. In both cases. |
Ahh, ok, I see now you are overriding the default (false) to true and then setting it back to the default (false) when not on windows. I find that weird to read, but the current code is already weird to read so probably understandable.
Ok, sure. Just not sure what your 'pitch' for raising an alternative PR is since there's no description and by the time you raised it, you're already aware of the other PR. I'd have hoped it was a bit more than 'works for me'. |
Only for the principle of keep it simple. This change I've understood, it's minimal and I've tested to the best of my abilities. The other PR introduces some other changes I have no knowledge of. Feel free to reject this if you will. Maybe we can write some tests for the other PR another day... |
Fair enough. |
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
@chadlwilson
Can you trigger the test checks in the pipeline? |
…uknown Signed-off-by: Piotr Nestorow <[email protected]>
@chadlwilson The PR update is too simple to require this test anyway. |
There's no value in a skipped test. Volunteer OSS with people using their spare time relies on automation. You could make the relevant code flexible to allow overwriting the maven command from test code and make the test launch a dummy/stub/fake .bat - doesn't have to depend on the real Maven and become an integration test. Or refactor the code under test to have less duplication and be independently testable so the test's sole role is to validate spawning shell processes.
Why is it impossible? Given you have a fork you can also run the GHA tests on your own fork's GHA before raising PRs here - just like any GH user, you don't need maintainers to keep approving running tests. That gives you access to Mac/windows/Linux VMs. Or you can use local VMs for other platforms like you're implicitly asking maintainers to do when asking them to manually test things on Windows by arguing that automated test aren't necessary.
I disagree. Other maintainers might agree with you and merge it. Anyway if you don't think it's important, I'm better to spend my time elsewhere or just doing it myself. I'm not going to debate with you on this. Appreciate your contributions but please re-read https://github.com/getgauge/gauge?tab=readme-ov-file#important-note and try and be respectful of maintainer time/effort/opinion if you want things merged upstream. It sounds like you use Gauge for work you get paid for. I do not, neither likely do other maintainers, and I also don't have the depth of history in Gauge of other maintainers so am particularly averse to 'manual tests'. If you think you can do it better, you can always maintain a fork. |
…s uknown Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
@chadlwilson If this PR is not merged the support for java_maven is just broken. |
No, it's broken for you, specifically on Windows. Which no-one else has raised for over 9 months since VSCode 1.92 was released. Clearly hardly anyone relies on Windows usage with Maven, or they are happy with older VSCode versions or the CLI. And yet without automated tests you have not demonstrated that this PR does not break/regress things on Linux/MacOS or older VSCode versions. Please stop arguing. |
No description provided.