Adam Majer
b7ec9a9ffb
Handle default branch name in push and branch create handlers Don't panic in this case in case the project has multiple configs
637 B
637 B
Project Git bot
Areas of responsibility
-
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
-
Assumes:
- config.GitProjectName == project name (default:
_ObsPrj
) - Other repositories == packages (similar to OBS project)
- config.Branch == "" => default branch from Gitea
- config.GitProjectName == project name (default:
Target Usage
Devel project, where direct pushes to package git are possible