Skip to content
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

[BUG] Windows compatibility with Makefile #308 #309

Merged
merged 3 commits into from
Apr 24, 2023

Conversation

Tokesh
Copy link
Contributor

@Tokesh Tokesh commented Apr 20, 2023

Description

I added guidelines for Windows developers in the Developer Guide (to use WSL2 and how to use WSL)

Issues Resolved

[#308 ]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com>
@@ -68,6 +68,21 @@ In order to differentiate unit tests from integration tests, Go has a built-in m
make cluster.stop cluster.clean
```

#### Compatibility with Windows OS
Copy link
Member

Choose a reason for hiding this comment

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

Any new section needs to be added to TOC.


If you have a problem with running 'Make' follow this steps:

1. Install WSL2 (compatibility layer for running Linux applications on Windows 10).
Copy link
Member

Choose a reason for hiding this comment

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

I think you should just add a "Windows" section to prerequisites, with links/instructions to install/download WSL and ensure make works.

Copy link
Contributor Author

@Tokesh Tokesh Apr 21, 2023

Choose a reason for hiding this comment

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

I think you should just add a "Windows" section to prerequisites, with links/instructions to install/download WSL and ensure make works.

I think i got it, fixed that in new commit. I tried to make it shorter like you said in Issue discussion

@Tokesh Tokesh requested a review from dblock April 21, 2023 17:10
@Tokesh Tokesh force-pushed the windows-compatibility branch from 7e65389 to 18b6116 Compare April 21, 2023 17:36
Signed-off-by: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

The first phrase needs some english fixing :) Thanks for hanging in here with me!

@@ -32,6 +33,15 @@ OpenSearch Go Client builds using [Go](https://golang.org/doc/install) 1.11 at a

[Docker](https://docs.docker.com/install/) is required for building some OpenSearch artifacts and executing integration tests.

#### Windows

[WSL2](https://learn.microsoft.com/en-us/windows/wsl/install) is compatibility layer for running Linux applications on Windows.
Copy link
Member

Choose a reason for hiding this comment

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

Missing "the", but let's say "To build the project on Windows, use WSL2, the compatibility ...".

Copy link
Contributor Author

@Tokesh Tokesh Apr 21, 2023

Choose a reason for hiding this comment

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

The first phrase needs some english fixing :) Thanks for hanging in here with me!

I appreciate that you are patient with me and I am glad to work together with you!


[WSL2](https://learn.microsoft.com/en-us/windows/wsl/install) is compatibility layer for running Linux applications on Windows.

Make ensure that you install 'Make' on WSL2.
Copy link
Member

Choose a reason for hiding this comment

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

Install make.

Signed-off-by: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com>
@Tokesh Tokesh requested a review from dblock April 21, 2023 20:38
@dblock dblock merged commit 174064a into opensearch-project:main Apr 24, 2023
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.

2 participants