system-config/playbooks/roles/gitea-git-repos
Clark Boylan 004cf7645a Update gitea project creation to only use the REST API
Setting gitea project settings like wiki and issue tracker settings was
previously done via hijacking web ui requests. We now have a REST API
that is capable of setting things items. Using this API should be more
reliable as the API is versioned.

Update the gitea project creation code to use this API for more
stability. As a nice side effect the code is simplified quite a bit as
we can combine a few actions that were previously separate like updating
descriptions and default branches.

As a side note this fixes a bug where we hardcoded setting master as the
default branch despite making that configurable.

Change-Id: I101dd8f81a2cb91655f6de878bc94350aeb1fc0c
2021-08-05 13:21:04 -07:00
..
defaults Add utility playbook for fixing gitea project settings 2019-03-04 16:06:49 +00:00
library Update gitea project creation to only use the REST API 2021-08-05 13:21:04 -07:00
tasks Use project-config from zuul instead of direct clones 2020-04-15 12:29:33 -05:00
README.rst Don't always update gitea project descriptions 2021-03-16 13:06:16 -07:00

README.rst

Create git repos on a gitea server

Role Variables