|
||
---|---|---|
.. | ||
.gitignore | ||
example.json | ||
go.mod | ||
go.sum | ||
main_test.go | ||
main.go | ||
README.md |
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