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

add origin/upstream remotes, minor edits #6932

Merged
merged 1 commit into from Mar 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ To contribute to the Aptos Core implementation, first start with the proper deve

To get the development installation with all the necessary dependencies for linting, testing, and building the documentation, run the following:
```bash
git clone https://github.com/aptos-labs/aptos-core.git
# fork https://github.com/aptos-labs/aptos-core.git via the github UI
# repace <your-github> below to clone your (origin) remote fork
git clone https://github.com/<your-github>/aptos-core.git
cd aptos-core
git remote add upstream https://github.com/aptos-labs/aptos-core.git
./scripts/dev_setup.sh
cargo build
cargo test
Expand All @@ -36,12 +39,10 @@ If you know Markdown, you can already contribute!

Changes to the project are proposed through pull requests. The general pull request workflow is as follows:

1. Fork the repo and create a topic branch off of `main`.
2. Locally run `./scripts/dev_setup.sh` to ensure you have all development dependencies required for our workflows.
3. If you have added code that should be tested, add unit tests.
4. If you have changed APIs, update the documentation. Make sure the documentation builds.
5. Ensure all tests and lints pass on each and every commit that is part of your pull request using `./scripts/rust_lint.sh`
6. Submit your pull request.
* If you have added code that should be tested, add unit tests.
* If you have changed APIs, update the documentation. Make sure the documentation builds.
* Ensure all tests and lints pass on each and every commit that is part of your pull request using `./scripts/rust_lint.sh`.
* Submit your pull request.

## Authoring Clean Commits

Expand Down Expand Up @@ -110,6 +111,6 @@ You *should not* update your branch by merging the latest main into your branch.

It is important that the project history is bisect-able so that when regressions are identified we can easily use `git bisect` to be able to pin-point the exact commit which introduced the regression. This requires that every commit is able to be built and passes all lints and tests. So if your pull request includes multiple commits be sure that each and every commit is able to be built and passes all checks performed by CI.

# Issues
## Issues

Aptos Core uses [GitHub issues](https://github.com/aptos-labs/aptos-core/issues) to track bugs. Please include necessary information and instructions to reproduce your issue.