Line 4: |
Line 4: |
| | | |
| Developers should be following the guide at [[Howto interact with gitea and koji to do an rpm build for SME11]]. | | Developers should be following the guide at [[Howto interact with gitea and koji to do an rpm build for SME11]]. |
| + | |
| This wiki page is for interacting directly with koji.}} | | This wiki page is for interacting directly with koji.}} |
| | | |
Line 12: |
Line 13: |
| Here we will try to explain how to setup and and interact directly with Koji. | | Here we will try to explain how to setup and and interact directly with Koji. |
| | | |
− | Please read [[Howto interact with gitea and koji to do an rpm build for SME11|here]] for normal development. This is primarily focussed on understanding the koji backend and how to interact with it directly. | + | Please read [[Howto interact with gitea and koji to do an rpm build for SME11|here]] for the normal development process. |
| + | |
| + | This page is primarily focussed on understanding the koji backend and how to interact with it directly. |
| | | |
| == Web Interface == | | == Web Interface == |
Line 55: |
Line 58: |
| | | |
| === Build from git === | | === Build from git === |
− | For now, this is the only way we can do a build from git on koji, but in the future this will be incorporated into the 'make build'. (Aug 2024) This has now been done. <syntaxhighlight lang="bash">
| + | Building of rpms is usually done via a make build within your dev environment, but you can trigger a build via the koji client <syntaxhighlight lang="bash"> |
| koji build sme11-test git+https://src.koozali.org/smeserver/<pkg>.git?#<tag> | | koji build sme11-test git+https://src.koozali.org/smeserver/<pkg>.git?#<tag> |
| koji build sme11-contribs-test git+https://src.koozali.org/smecontribs/<pkg>.git?#<tag> | | koji build sme11-contribs-test git+https://src.koozali.org/smecontribs/<pkg>.git?#<tag> |
Line 61: |
Line 64: |
| | | |
| * <pkg> = your package (e.g. smeserver-php) | | * <pkg> = your package (e.g. smeserver-php) |
− | * <tag> = version tag to be built (3_0-1) | + | * <tag> = git version tag to be built (3_0-1.el8.sme) |
| | | |
| Example:<syntaxhighlight lang="bash"> | | Example:<syntaxhighlight lang="bash"> |
− | koji build sme11-test git+https://src.koozali.org/smeserver/smeserver-php.git?#3_0-1 | + | koji build smeserver11 git+https://src.koozali.org/smeserver/smeserver-php.git?#3_0-1.el8.sme |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |