meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
contribute [2024/12/17 20:45] – tidy wrongecho | contribute [2025/01/09 16:50] (current) – mention $repo_branch in config.php wrongecho | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Contribute Code ====== | ====== Contribute Code ====== | ||
- | |||
If you are able to make a contribution that would make ITFlow better for everyone, please fork the repository and create a pull request. | If you are able to make a contribution that would make ITFlow better for everyone, please fork the repository and create a pull request. | ||
- | For large changes/new features, please discuss the issue with other contributors first. | + | We have moved to using two main branches: |
+ | - **master** - The main codebase for all installs, updated monthly | ||
+ | - **develop** - The active development branch, all PRs should be merged here | ||
- | - Fork the Project | + | //For large changes/new features, please ensure |
- | - Create your Feature Branch ('' | + | |
- | - Commit your Changes ('' | + | |
- | - Push to the Branch ('' | + | |
- | - Open a Pull Request | + | |
- | ITFlow, along with all contributions, | + | **Steps to raise a PR** |
+ | - Fork the Project on GitHub | ||
+ | - Clone the development branch: ('' | ||
+ | - Create | ||
+ | - Commit your Changes ('' | ||
+ | - Push to the Branch ('' | ||
+ | - Open a Pull Request, adusting the base from master to develop | ||
+ | - {{: | ||
+ | **General Guidance** | ||
+ | * Don't forget to set your $repo_branch in config.php to ' | ||
+ | * Review the [[code_standards|code standards]] and the [[https:// | ||
+ | * Discuss changes with the community first | ||
+ | * The core maintainers of ITFlow are Sysadmins just like you! If you've got an idea of something you'd like to change in ITFlow, give it a try! | ||
+ | * If you need some help with using Git/GitHub, [[https:// | ||
+ | * Don't test on production; run a separate ITFlow instance for development | ||
+ | * Have some patience, this is a volunteer project | ||
- | ===== I'm not a developer but want to try and contribute code ===== | + | ITFlow, |
- | + | ||
- | + | ||
- | The core maintainers of ITFlow are more Sysadmins than developers. If you've got an idea of something you'd like to change in ITFlow, | + | |
- | + | ||
- | First, review the [[code_standards|code standards]] page. This will give you an idea of how we name variables and what files do what. | + | |
- | + | ||
- | If you need some help with using Git/GitHub, [[https://www.dataschool.io/how-to-contribute-on-github/|this article]] is a great resource. | + | |
- | + | ||
- | Once you've got a working [[installation|installation]], | + | |
- | + | ||
- | Locate | + | |
- | + | ||
- | //If you're doing lots of work with forms (generally submitting to post.php), you might want to look into something like Burp Suite to speed things up.// | + | |
- | + | ||
- | Once you've got your changes working, add & commit your files ('' | + | |
- | + | ||
- | You'll be prompted to raise a pull request where we can discuss your changes and eventually merge them into ITFlow! | + | |
====== Other ways to contribute ====== | ====== Other ways to contribute ====== | ||
Line 43: | Line 37: | ||
* Report bugs and raise feature requests | * Report bugs and raise feature requests | ||
* Tell others in the industry of your success using ITFlow to manage your clients //(but please don't spam)// | * Tell others in the industry of your success using ITFlow to manage your clients //(but please don't spam)// | ||
+ | |||
+ | ======Maintainer Steps for monthly releases====== | ||
+ | |||
+ | Once a month, we will merge develop into master: | ||
+ | |||
+ | - Ensure testing has been completed as much as possible | ||
+ | - In develop, increment version.php in the YY.M.V format (e.g. 25.1 for the first release in Jan 2025, 25.1.1 for the second release of Jan 2025, and 25.6 for the first release in June 2025) | ||
+ | - Look over the recent changes and write a short release summary | ||
+ | - Raise a PR to merge develop into master | ||
+ | - Test a final time on PR Review & ensure no other issues (Sonar, Linting, etc) | ||
+ | - Approve the PR & Merge |