autogits/prjgit-updater
2024-09-04 14:04:13 +02:00
..
.gitignore . 2024-07-07 21:12:40 +02:00
example.json . 2024-09-04 14:04:13 +02:00
go.mod wip 2024-08-27 17:55:03 +02:00
go.sum wip 2024-08-27 17:55:03 +02:00
main_test.go . 2024-07-09 10:22:17 +02:00
main.go . 2024-09-04 14:04:13 +02:00
README.md . 2024-08-28 17:21:03 +02:00

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)

Target Usage

Devel project, where direct pushes to package git are possible