2024-08-02 16:27:38 +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:
|
2024-09-12 16:25:22 +02:00
|
|
|
* config.GitProjectName == project name (default: `_ObsPrj`)
|
2024-08-02 16:27:38 +02:00
|
|
|
* Other repositories == packages (similar to OBS project)
|
2024-09-12 16:25:22 +02:00
|
|
|
* config.Branch == "" => default branch from Gitea
|
2024-08-02 16:27:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
Target Usage
|
|
|
|
------------
|
|
|
|
|
|
|
|
Devel project, where direct pushes to package git are possible
|
|
|
|
|