Thanks for your interest in contributing to fuelup
! This document outlines the process for installing and setting up fuelup
, as well as some conventions on contributing to fuelup
.
If you run into any difficulties getting started, you can always ask questions on our Forum .
git clone https://github.com/FuelLabs/fuelup
cd fuelup
The following steps will run the fuelup test suite and ensure that everything is set up correctly.
First, run and ensure all tests pass:
cargo test
There are both unit tests and integration tests. Unit tests involve testing isolated components of the codebase,
while integration tests involve directly invoking the fuelup
binary in a sandboxed environment with a
temporary filesystem.
Note that some integration tests involve installing a toolchain and adding components, which means they will fail without internet connection.
Congratulations! You've now got everything setup and are ready to start making contributions.
There are many ways in which you may contribute to fuelup
, some of which involve coding knowledge and some which do not. A few examples include:
fuelup
book Check out our Help Wanted , Fuelup Book or Good First Issue issues to find a suitable task.
If you are planning something big, for example, related to multiple components or changes current behaviors, make sure to open an issue to discuss with us before starting on the implementation.
This is a rough outline of what a contributor's workflow looks like:
Thanks for your contributions!
Pull requests should be linked to at least one issue in the same repo.
If the pull request resolves the relevant issues, and you want GitHub to close these issues automatically after it merged into the default branch, you can use the syntax (KEYWORD #ISSUE-NUMBER
) like this:
close #123
If the pull request links an issue but does not close it, you can use the keyword ref
like this:
ref #456
Multiple issues should use full syntax for each issue and separate by a comma, like:
close #123, ref #456
Was this page helpful?