Thank you for your interest in contributing!
All PDS Interop projects are open source and community-friendly.
Questions can be asked (or feedback given) by opening an issues on Github.
We accept contributions via merge-request1 on Github.
Any contribution is welcome and your will be given full credit for your efforts.
Please note that this project adheres to a Contributor Code of Conduct. When participating in this project and its community, you are expected to abide by its terms.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
To ensure your privacy and security, please do not include passwords or personally identifiable information in your bug report and sample code.
Some general guidelines:
Before opening an new issue, please use the GitHub search feature to see if the issue has already been reported
If your issue is not specific to one repository but more about things in general, open an issue with project administration
If your issue is about the website or generic documentation, open an issue at the website repository
When reporting issues, please try to be as descriptive as possible, and include as much relevant information as you can to help us reproduce the issue.
A good bug report includes:
- Expected outcome
- Actual outcome
- Steps to reproduce (including any relevant sample code)
- Any other information that will help us debug and reproduce the issue (error messages, stack traces, system/environment information, screenshots, etc.)
A step by step guide on how to reproduce the issue will greatly increase the chances of your issue being resolved in a timely manner.
If your issue involves installing, updating or resolving dependencies, the chance of us being able to reproduce your issue will be much higher if you share the file defining your dependency with us.
Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us if you feel that we forgot to respond!
There is a common development workflow that goes (more or less) like this:
- Fork the project.
- Make code changes (add a feature, fix a bug, update the documentation).
- Add tests for the code changes.
- Commit your work
- Send a merge request. Bonus points for topic branches.
- Visit the project on GitHub
- Click on the “Fork” button
- Clone you forked project to your development environment
Things that are common to all PDS Interop projects are listed below.
Beyond that, each project has its own project specific development instructions,
either in the project’s
README.md file or its
docs/ folder. Please visit the
project you are contributing to for futher development details.
- PHP code should follow the PSR-12 coding standard.
Please write tests for any new features you add.
Any contribution must provide tests for additional introduced conditions
Any un-confirmed issue needs a failing test case before being accepted
This is important so we don’t unintentionally break your code changes in a future version.
Please ensure that all tests pass before making commits. There is a pipeline that automatically runs tests for pull requests and commits. Running the tests locally will help save time.
Before making commits, please make sure that you have set up your user name and email address for use with Git. Strings such as
silly nick name <root@localhost> look really stupid in the commit history of a project.
Pull requests must be sent from a new fix/feature branch, not from
Make sure you are working on a new branch.
Next, think about your commit message for a while. What should it convey? What do you want to tell us and future developers about the work you did?
Your commit message can be as long as you want, just make sure to give it a summary as a title if you need more than one sentence to discribe your work.
Your pull request description should clearly detail the changes you have made. We will use this description to add to our CHANGELOG. If there is no description or it does not adequately describe your feature, we will ask you to update the description.
Other things to keep in mind are:
Consider our release cycle We try to follow Semantic Versioning. Randomly breaking public APIs is not an option.
Document any change in behaviour Make sure the
README.mdor other relevant documentation are kept up-to-date.
Ensure all checks pass We have a GitHub Actions pipeline that runs automatically for pull requests. All checks need to pass before changes will be considered.
One pull request per change/feature/fix If you want to do more than one thing, send multiple pull requests.
Send a coherent history Make sure each individual commit in your pull request is meaningful. Please do not squash your commits or send all your changes in a single commit.
Use topic/feature branches. Please do not ask us to pull from your fork’s main branch.
- merge requests (or MRs) are the same as pull pequests (or PRs). They are sometimes also referred to as “patches”.