Compare commits
2 commits
6aa4708c0d
...
d0e1d842ea
Author | SHA1 | Date | |
---|---|---|---|
d0e1d842ea | |||
395dd28cf0 |
1 changed files with 19 additions and 41 deletions
|
@ -3,58 +3,36 @@ title: Contributing to SVR.JS
|
|||
date: 2024-01-01 18:29:17
|
||||
excerpt: Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to fork the repository, create feature branches, and make your code contributions. Submit your patches for review and integration, and collaborate with the SVR.JS community of developers. Your contributions matter — start making an impact today!
|
||||
---
|
||||
**We welcome your contributions to SVR.JS!** By following these steps, you can submit your changes for review and potential integration into the SVR.JS codebase.
|
||||
We welcome contributions from the community! Here's how you can help:
|
||||
|
||||
## 1\. Fork the Repository
|
||||
## Git server details
|
||||
|
||||
Start by forking the SVR.JS repository. Clone it to your local machine using:
|
||||
The Git server runs Forgejo Git hosting package and it's located at https://git.svrjs.org/.
|
||||
|
||||
git clone https://git.svrjs.org/svrjs.git
|
||||
## Reporting Bugs
|
||||
|
||||
If you want to contribute to other project, e.g. RedBrick SVR.JS mod, replace `svrjs.git` with respective repository name.
|
||||
If you find a bug, please open an issue on our issue tracker with a detailed description of the problem and steps to reproduce it.
|
||||
|
||||
## 2\. Create a Feature Branch
|
||||
## Submitting Patches
|
||||
|
||||
Create a new branch for your changes with a descriptive name. For example:
|
||||
We accept patches via pull requests. Here's our process:
|
||||
|
||||
git checkout -b feature/your-feature-name
|
||||
1. **Fork** the project.
|
||||
2. **Create a branch** for your patch.
|
||||
3. **Commit** your changes with descriptive commit messages.
|
||||
4. **Push** your branch to your fork.
|
||||
5. **Open a pull request** against the main repository.
|
||||
|
||||
## 3\. Make Your Changes
|
||||
## Running Tests
|
||||
|
||||
Now comes the exciting part! Make the necessary changes, add new features, or fix bugs in your feature branch.
|
||||
Before submitting a pull request, please run the tests to ensure your changes haven't introduced any new issues.
|
||||
|
||||
## 4\. Commit
|
||||
## Documentation
|
||||
|
||||
Commit your changes to your forked repository:
|
||||
If your contribution changes existing functionality or adds new features, please update the documentation accordingly.
|
||||
|
||||
git add .
|
||||
git commit -m "Your commit message"
|
||||
## License
|
||||
|
||||
## 5\. Generate Patches
|
||||
By contributing to our project, you agree that your contributions will be licensed under our project's license.
|
||||
|
||||
Before submitting your changes, generate patches using `git format-patch`:
|
||||
|
||||
git format-patch -n HEAD^
|
||||
|
||||
This creates patch files (usually ending with .patch) for each commit in your branch.
|
||||
|
||||
## 6\. Submit Your Patches
|
||||
|
||||
Email your patches to _commit[at]svrjs[dot]org_ along with the following details:
|
||||
|
||||
* A clear description of your changes and their purpose.
|
||||
* The commit ID from which you cloned the SVR.JS (or other) repository (e.g., the latest commit in your fork).
|
||||
* The repository you want to contribute to (if not added, then it's assumed it's SVR.JS repository).
|
||||
|
||||
Please note the following:
|
||||
|
||||
* Maximum attachment size: 25MB
|
||||
* Compress large patches in .zip, .7z, .tar.gz, or .tar.xz format.
|
||||
|
||||
## 7\. Code Review and Integration
|
||||
|
||||
The SVR.JS authors will review your code and provide feedback as needed. They may suggest improvements or ask for clarifications during the review process.
|
||||
|
||||
If your changes align with the project's goals and coding standards, they may be integrated into the SVR.JS codebase. Your contributions will be acknowledged and celebrated!
|
||||
|
||||
**Thank you for contributing to SVR.JS! Your efforts play a vital role in making the project better for everyone.**
|
||||
Thank you for considering contributing to our project!
|
||||
|
|
Reference in a new issue