OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add separate guide for packager
Oliver Günther154398b54534
diff --git a/docs/development/README.md b/docs/development/README.mdindex ae25715bba6..88baabe0bde 100644--- a/docs/development/README.md+++ b/docs/development/README.md@@ -54,6 +54,10 @@ If you want to contribute to the localization of OpenProject and its plugins youMore on this topic can be found in our [blog post](https://www.openproject.org/blog/help-translate-openproject-into-your-language/).+## Packaging process++Please see this separate guide for the [process of building packages of OpenProject](packaging/).+## TestingPlease add tests to your code to verify functionality, especially if it is a new feature.diff --git a/docs/development/packaging/README.md b/docs/development/packaging/README.mdnew file mode 100644index 00000000000..64d5d0fa6e3--- /dev/null+++ b/docs/development/packaging/README.md@@ -0,0 +1,32 @@+---+sidebar_navigation:+ title: Packaging+ priority: 920+---++# Packaging of OpenProject with packager.io++OpenProject relies on [packager.io](https://packager.io) to provide the packaged installation method for the supported distributions.++This guide will provide some insights in how to develop and test integrations with the packager build process. It assumes that you are familiar with the [packager.io building documentation](https://github.com/crohr/pkgr/wiki).++## Continuous integration++The packager.io website observes changes in the repository through webhooks and will automatically triggers builds for these branches:++- `dev`: https://packager.io/gh/opf/openproject+- `release/*` (e.g.,) https://packager.io/gh/opf/openproject/refs/release/12.2+- `stable/*` (e.g.,) https://packager.io/gh/opf/openproject/refs/stable/12+- `packaging/*`++To see the status of a build, simply follow one of the links and choose a distribution whose logs you want to look at.++## Testing a packaging-related bug fix++If you need a package of your changes before they are being merged, simply create a branch with the prefix `packaging/` to allow it being build.++Then, trigger its builds using this URL: `https://packager.io/gh/opf/openproject/refs/BRANCH-NAME`. For example: https://packager.io/gh/opf/openproject/refs/packaging/custom-plugin-frozen++If you're pushing multiple commits and want faster turnover times, reduce the number of available distributions in the `.pkgr.yml` to only the ones you want to test here: https://github.com/opf/openproject/blob/dev/.pkgr.yml++**Important:** Remember to remove those changes before merging!