~sircmpwn/dispatch.sr.ht

8b9e4e86c0f33a44f0e238b3f6a540875006bd8c — Drew DeVault 5 months ago 2467d7d 0.12.3
Default gitlab integration to false
M dispatchsrht/tasks/gitlab/common.py => dispatchsrht/tasks/gitlab/common.py +1 -1
@@ 16,7 16,7 @@ from urllib.parse import urlencode

_root = cfg("dispatch.sr.ht", "origin")
_builds_sr_ht = cfg("builds.sr.ht", "origin", default=None)
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled")
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled", default=False)

if _builds_sr_ht:
    from buildsrht.manifest import Manifest, Trigger

M dispatchsrht/tasks/gitlab/gitlab_commit_to_build.py => dispatchsrht/tasks/gitlab/gitlab_commit_to_build.py +1 -1
@@ 16,7 16,7 @@ from uuid import UUID, uuid4

_root = cfg("dispatch.sr.ht", "origin")
_builds_sr_ht = cfg("builds.sr.ht", "origin", default=None)
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled")
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled", default=False)

if _gitlab_enabled:
    from gitlab import Gitlab

M dispatchsrht/tasks/gitlab/gitlab_mr_to_build.py => dispatchsrht/tasks/gitlab/gitlab_mr_to_build.py +1 -1
@@ 16,7 16,7 @@ from uuid import UUID, uuid4

_root = cfg("dispatch.sr.ht", "origin")
_builds_sr_ht = cfg("builds.sr.ht", "origin", default=None)
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled")
_gitlab_enabled = cfgb("dispatch.sr.ht::gitlab", "enabled", default=False)

if _gitlab_enabled:
    from gitlab import Gitlab