Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #897 +/- ##
=======================================
Coverage 72.21% 72.21%
=======================================
Files 87 87
Lines 1915 1915
Branches 249 249
=======================================
Hits 1383 1383
Misses 478 478
Partials 54 54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DEVELOPER_GUIDE.md
Outdated
DEVELOPER_GUIDE.md
Outdated
There was a problem hiding this comment.
I'd probably make this relative to .node-version so we don't have to upgrade every time (I'm not sure if we already use a .node-version file but we should)
There was a problem hiding this comment.
ahaa...yes...we do use .node-version and .nvm-rc.. I just added an extra explanation saying "refer to .node-version file in base directory"
DEVELOPER_GUIDE.md
Outdated
There was a problem hiding this comment.
| nvm install 10.24.1 | |
| nvm use --install |
That way we don't have to specify the version explicitly, since it is picked up from .nvmrc
There was a problem hiding this comment.
What's the deal with this comment?
There was a problem hiding this comment.
Just an idea for an improvement on the docs. E.g. if we move towards 2.0 the node version changed and that would mean we always have to update the docs when we change .nvmrc. If we simply use the nvm use --install command we then don't have to upgrade the docs all the time.
DEVELOPER_GUIDE.md
Outdated
There was a problem hiding this comment.
Are we updating this statement every time the branch is changed?
There was a problem hiding this comment.
L14 says this is used just during the guide as just an example. The paragraph above makes reference to the need for matching versions. But yeah, if we move to a major version (2, 3...) it might be a bit confusing so we can update. Perhaps we can omit L14 as L10 covers the general idea and then we move on to use 1.3.0 as a driving example (that part can stay as it is clear it's just for the sake of the example code)
There was a problem hiding this comment.
I think down the road when there are multiple versions and branches for developers to choose, adding a table to show each version with there corresponding branch will be helpful
There was a problem hiding this comment.
I have added the relevant branch and version info here... we can add info to this table as we develop in the future
DEVELOPER_GUIDE.md
Outdated
There was a problem hiding this comment.
@hsiang9431-amzn @davidlago ... can you please review this again?
9e14591 to
dae6866
Compare
|
ITs failed. Would you please take a look? |
|
Is there a template reference of the Dev Guide? |
I did sign all the commits idk why it says Unsigned...Shouldn't DCO check fail if commits are unsigned? |
|
ITs are failing because the integration test uses Because 1.x has been bumped to 1.4 in the core dashboards repo, there is a mismatch between plugin's expected version (1.4.0.0) and actual version (1.3.0.0) when integration tests are run. This results in failing ITs. Error log from one of the failing tests:This change will be updated to point to main in 2.0 version bump PR: #928 |
|
I would suggest waiting until |
|
@DarshitChanpura |
7017582 to
1643fea
Compare
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1643fea to
bc16209
Compare
|
@opensearch-project/security Can I get review on this? |
|
|
||
| | OpenSearch<br>branch | Security Plugin<br>branch | OpenSearch<br>version | | ||
| |-------- |--- |--- | | ||
| | [1.x](https://github.com/opensearch-project/OpenSearch/tree/1.x) | [main](https://github.com/opensearch-project/security/) | [v1.3.0](https://github.com/opensearch-project/OpenSearch/blob/6eda740be744846f7aa0b2674820b5ed9b6be17e/buildSrc/version.properties#L1) | |
There was a problem hiding this comment.
While I think it would be better to use more recent builds, IMO any update to this guide that make it more usable are for the better, and we can update it afterward.
Signed-off-by: Darshit Chanpura <dchanp@amazon.com> (cherry picked from commit b6fe0c0)
Signed-off-by: Darshit Chanpura <dchanp@amazon.com> Signed-off-by: Vasile Negru <vasile@eosfintek.com>
Description
Enhances the dev-guide to be more elaborative and intuitive.
Category
Documentation
Check List
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.