Thank you for your interest in contributing to the Apache Cassandra Node.js Driver! This repository is now part of the Apache Software Foundation (ASF) and follows Apache contribution practices.
There are many ways to contribute, including:
All code changes require:
A corresponding JIRA ticket
Include the JIRA key in the PR title, e.g.:NODEJS-696: Migrate Travis CI to Github Action
A pull request on GitHub
Repository: https://github.com/apache/cassandra-nodejs-driver
Tests
Every fix or feature should include or update tests. PRs without tests are rarely accepted.
Documentation updates
Update manual, javadocs, examples, or reference docs when applicable.
Passing CI
PRs must pass all CI jobs unless reviewers explicitly allow exceptions.
Code Review
All PRs require at least two approvals from Apache committers before merging.
Squash after review
After committers' approvals and before merging, please squash commits into one, with a commit message in the following format:
NODEJS-696: Migrate Travis CI to Github Action patch by Jane He; reviewed by Abe Ratnofsky and Bret McGuire for NODEJS-696
for i in {2..255}; do sudo ifconfig lo0 alias 127.0.0.$i up; done
Note: This may slow down networking. To remove the aliases after testing:
for i in {2..255}; do sudo ifconfig lo0 -alias 127.0.0.$i up; done
npm installnpx mocha test/unit test/integration/short --recursive --exit. You can specify the Cassandra version by the CCM_VERSION environment variable, e.g.: CCM_VERSION=5.0.2 npx mocha test/unit test/integration/short --recursive --exit.All contributions are made under the Apache License, Version 2.0. The ASF requires a signed Contributor License Agreement (CLA) for non-trivial contributions.