Thank you for considering contributing to simplnx. Your involvement helps make simplnx a valuable tool for the global scientific community.
This repository needs many different kinds of contribution not all of which require coding knowledge. Here are some of the different options:
- For Non-Code Contributors:
- Provide datasets to be used for testing filters
- Documentation and comments can always be improved or expanded on to make it more accessible to users
- Language translation for documenation is always appreciated since this software is used around the world
- Suggest User Interface updates and/or add accesibility options
- Create new logos or images
- Report bugs and test GUI client which can be downloaded from dream3d.io
- Answer questions from fellow users in DREAM3DNX-Issues discussions
- For Python Developers:
- Create new examples of use cases and as a Jupyter Notebook or sdd to documentation
- Create filters for simplnx from new papers and dissertations
- Fix bugs in filters or the python bindings
- Update exisitng filters to expand functionality or optimize
- For Operating System Power Users and CyberSecurity Experts:
- Report security vulnerabilities in DREAM3DNX-Issues
- Add CMake presets for compiling on unique operating systems not already supported
- Create packages of DREAM3DNX and/or simplnx (with the nxrunner cli) and submit them to your favorite package manager (AUR, Flatpak, etc.)
- Create ways to run simplnx (with the nxrunner cli) in containers (such as Docker container)
- For C++ Developers:
- Create new filters for simplnx from new papers and dissertations
- Port old SIMPL filters to the updated simplnx framework porting filters guidelines
- Handle bugs and feature requests: issue tracker
- Create new test cases to improve the reliability and robustness of the filters
- Update nxrunner cli to offer the same functionality as our GUI interface
- Optimize existing filter algorithms
- Port python filters to c++ to increase efficiency
Our repository recognizes all forms of contribution as defined in the all-contributors specification. The categories of which can be seen here emoji key;
For instructions on building from source see our Guide to Building From Source.
- Fork the repository to your GitHub account.
- Clone the repository to your local machine:
git clone https://github.com/YOUR_USERNAME/simplnx.git
- Create a new branch:
git checkout -b NAME_YOUR_BRANCH
- Make your changes and commit them:
git commit -m 'Add some feature or fix some issue'
- Push your changes to your fork:
git push origin NAME_YOUR_BRANCH
- Create a pull request from your branch to the simplnx
main
ormaster
branch.
By participating in this project, you are expected to uphold our Code of Conduct.
If you experience or witness unacceptable behavior—or have any other concerns—please report it by contacting the project maintainers at [email protected]. All reports will be handled with discretion.
- Check the issue tracker to ensure the bug hasn't already been reported.
- If the bug hasn't been reported, create a new issue. Provide a clear description of the problem, including steps to reproduce.
- Check the issue tracker to ensure the enhancement hasn't already been suggested.
- If not, create a new issue. Provide a clear description of the enhancement.
- Check the issue tracker and sort by Help Wanted to see issues that aren't actively being handled internally.
- Once you select an issue, check for existing comments containing an "In Progress" title.
- If there is not an exitisting In Progress comment proceed to step 4, else do the following:
- Check the Description of Planned Changes in the comment to see if the part of they are already handling the change you want to make. If not continue to step 4
- Look at Extra Information to see if they are willing to accept help. If not select another change associated with the issue (if it has multiple tasks) or go select a new issue to work on.
- Add a comment to the issue where you ping the collaborator with @ and their username and ask if you can help. Be sure to be polite and abide by our Code of Conduct.
- If theres not an existing comment, go a head and create a branch and add a comment to the issue formatted as follows:
## In Progress
### Description of Planned Changes
Example Description:
- Fix example bug
- Adding example feature
- Porting exampleModule documentation to example language
- Handling example task from checklist above
### Working Branch
[MyExampleFork/branch_type/branch_name](https://github.com/profileName/MyExampleFork/tree/branch_type/branch_name)
### Extra Information
Willing to Collaborate with Other Contributors on These Changes: Y/N
[Any other comments you may have]
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Ensure your code adheres to our existing coding standards.
- Include test cases wherever possible.
- Describe your changes in the pull request description.
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally
For information about our specifc naming conventions and styling see our coding style guide.
For the basic code styling simplnx uses clang-format
, the formatting file is included at the root level in the repository.
clang-format
is a tool to automatically format C++ code. You should run 'clang-format' on your code before opening a Pull Request to make sure it passes the clang-format pr check. You can install clang-format
and git-clang-format
with npm install -g clang-format
. To automatically format a file according to a project's C++ code style, run clang-format -i path/to/simplnx/file
, which is supported on macOS/Linux/Windows. If you want to run clang-format
on all the changed code on your latest git commit (HEAD), you can run git-clang-format HEAD~1
. Run git-clang-format -h
for extra help.
- Use Markdown
- Reference methods and classes in backticks (
MethodName
,ClassName
) - Leave a blank newline at the end of file
- Be sure to include the following at the bottom of all documentation files
## DREAM3D-NX Help ##
If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.
For those looking to engage with the DREAM3DNX community, see the discussions board of DREAM3DNX-Issues discussions. All of our filter documentation now links back to this repository.
We put together a specifc discussion category, called Contributor Questions, where you can quickly get help with issues related to development directly from maintainers.
It is highly recommended for new code contributors to look at the porting filters guidelines to get a better idea of API and see how to bring older filters over from SIMPL.
Since our repository recognizes all contributions code or otherwise, feel free to add yourself to the Contributors section of the readme by following this tutorial. If you don't wan't to do it personally, one of the maintainers will do it when your Pull Request is approved unless you specifically state that you don't want to be added. Upon the GitHub PR being opened active maintainers will review your contributions then merge the PR by all-contributors-bot
at which point you will appear in the main page under Contributors. The only requirement is having a GitHub account.
Thank you for contributing!