Contributing#
Contributions are welcome and greatly appreciated!
The best way to get in touch with the core developers and mantainers is to open new Issues directly from the github repo.
Types of Contributions#
Report Bugs#
Report bugs at DIG-KAUST/pymarchenko.
If you are playing with the PyMarchenko library and find a bug, please report it including:
Your operating system name and version.
Any details about your Python environment.
Detailed steps to reproduce the bug.
Propose New Algorithm#
Open an issue at DIG-KAUST/pymarchenko#issues with tag enhancement.
Advices when opening an issue of this kind:
Explain in detail how it should work.
Keep the scope as narrow as possible, to make it easier to implement.
Add Examples or improve Documentation#
Writing new algorithms is not the only way to get involved and contribute. Create examples with existing algorithms as well as improving the documentation of existing algorithms is as important as making new algorithms and very much encouraged.
Getting Started to contribute#
Ready to contribute?
Fork the PyMarchenko repo.
Clone your fork locally:
>> git clone https://github.com/your_name_here/pymarchenko.git
Follow the installation instructions for developers that you find in Installation page. Ensure that you are able to pass all the tests before moving forward.
Add the main repository to the list of your remotes (this will be important to ensure you pull the latest changes before tyring to merge your local changes):
>> git remote add upstream https://github.com/DIG-KAUST/pymarchenko
Create a branch for local development:
>> git checkout -b name-of-your-branch
Now you can make your changes locally.
6. When you’re done making changes, check that your code follows the guidelines for Implementing new operators and that the both old and new tests pass successfully:
>> make tests
Commit your changes and push your branch to GitLab:
>> git add .
>> git commit -m "Your detailed description of your changes."
>> git push origin name-of-your-branch
Remember to add -u
when pushing the branch for the first time.
Submit a pull request through the GitHub website.
Pull Request Guidelines#
Before you submit a pull request, check that it meets these guidelines:
The pull request should include new tests for all the core routines that have been developed.
If the pull request adds functionality, the docs should be updated accordingly.
Ensure that the updated code passes all tests.