Skip to content

Commit

Permalink
Adding missing steps to DEVELOPER_GUIDE.md (#194)
Browse files Browse the repository at this point in the history
* initial proposal of change

Signed-off-by: Abhinav Garg <[email protected]>

* appended changelog

Signed-off-by: Abhinav Garg <[email protected]>

* fixed changelog and specified distro

Signed-off-by: Abhinav Garg <[email protected]>

---------

Signed-off-by: Abhinav Garg <[email protected]>
  • Loading branch information
AbhinavGarg90 authored Dec 5, 2023
1 parent 7548c9f commit 1cd13c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixes `cargo make test` failing out of the box ([#117](https://github.com/opensearch-project/opensearch-rs/pull/117))
- Fixes f64 comparison in `yaml_test_runner` to use numeric-based comparison instead of string-based ([#150](https://github.com/opensearch-project/opensearch-rs/pull/150))
- Fixes YAML spec tests by adding u64 (unsigned long) support ([#167](https://github.com/opensearch-project/opensearch-rs/pull/167))

- Fixes `DEVELOPER_GUIDE.md` to include complete information about setting up ([#194](https://github.com/opensearch-project/opensearch-rs/pull/194))
[Unreleased]: https://github.com/opensearch-project/opensearch-rs/compare/v2.2.0...HEAD
[2.2.0]: https://github.com/opensearch-project/opensearch-rs/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/opensearch-project/opensearch-rs/compare/v2.0.0...v2.1.0
18 changes: 16 additions & 2 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@ The following information will help in getting up and running.
cargo install --force cargo-make
```

- [**Packages**]()

Use your preferred package manager to install the following packages:

Linux
- `build-essential`
- `pkg-config`
- `libssl-dev`

Example using apt:
```sh
sudo apt install build-essential pkg-config libssl-dev
```

- [**Docker**](https://www.docker.com/)

Docker is used to start instances of OpenSearch required for integration tests using [OpenSearch docker images](https://hub.docker.com/r/opensearchproject/opensearch).
Expand All @@ -58,13 +72,13 @@ The following information will help in getting up and running.
Run unit tests.

```sh
cargo test
cargo make test
```

To include optional features, such as AWS auth use the following.

```sh
cargo test --features "aws-auth"
cargo make test --features "aws-auth"
```

### Cargo Make
Expand Down

0 comments on commit 1cd13c3

Please sign in to comment.