9b5e5d3c57
We list gitea repos to determine if we need to create a repo. If the repo isn't listed by gitea we create it. New gitea paginates these listings so we were only getting 30 repos listed when we had far more. This resulted in us trying to create repos which already exist which is a gitea http 409 error. Fix this by paging through the listings until we've seen all the repos. This should give us a complete listing. To test this we run our manage-projects playbook twice in the system-config-run-gitea job. The first pass creates all the new projects. Then the second pass should noop cleanly. Change-Id: I73b77b9ddaa0106d4dc0a49c4d4b7751a39a16f9 Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org> |
||
---|---|---|
.. | ||
__init__.py | ||
gitea_create_repos.py |