autogits/prjgit-updater/README.md
Adam Majer b7ec9a9ffb Handle case when branch not exist
Handle default branch name in push and branch create handlers
Don't panic in this case in case the project has multiple configs
2024-09-12 16:25:22 +02:00

24 lines
637 B
Markdown

Project Git bot
===============
Areas of responsibility
-----------------------
1. Keep ProjectGit in sync with packages in the organization
* on pushes to package, updates the submodule commit id
to the default branch HEAD (as configured in Gitea)
* on package adds, creates a new submodule
* on package removal, removes the submodule
2. Assumes:
* config.GitProjectName == project name (default: `_ObsPrj`)
* Other repositories == packages (similar to OBS project)
* config.Branch == "" => default branch from Gitea
Target Usage
------------
Devel project, where direct pushes to package git are possible