Loading src/features/gitlab.py +6 Changes for src/features/gitlab.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -269,6 +269,7 @@ class GitLabFeature: if project.issues_enabled \ and not project.issues.list(get_all=False) \ and GitLabFeature.Features.ISSUES not in keep_features: project.issues_access_level = GitLabFeature.AccessLevels.DISABLED project.issues_enabled = False result += [GitLabFeature.Features.ISSUES] Loading Loading @@ -320,6 +321,7 @@ class GitLabFeature: except (AssertionError, GitlabGetError, GitlabListError): if project.jobs_enabled \ and GitLabFeature.Features.CI_CD not in keep_features: project.builds_access_level = GitLabFeature.AccessLevels.DISABLED project.jobs_enabled = False result += [GitLabFeature.Features.CI_CD] Loading @@ -334,6 +336,7 @@ class GitLabFeature: project.merge_requests_enabled = False project.forking_access_level = 'disabled' project.lfs_enabled = False project.builds_access_level = GitLabFeature.AccessLevels.DISABLED project.jobs_enabled = False result += [GitLabFeature.Features.REPOSITORY] Loading @@ -341,6 +344,7 @@ class GitLabFeature: if project.container_registry_enabled \ and not project.repositories.list(get_all=False) \ and GitLabFeature.Features.CONTAINER_REGISTRY not in keep_features: project.container_registry_access_level = GitLabFeature.AccessLevels.DISABLED project.container_registry_enabled = False result += [GitLabFeature.Features.CONTAINER_REGISTRY] Loading @@ -360,6 +364,7 @@ class GitLabFeature: if project.wiki_enabled \ and not project.wikis.list(get_all=False) \ and GitLabFeature.Features.WIKI not in keep_features: project.wiki_access_level = GitLabFeature.AccessLevels.DISABLED project.wiki_enabled = False result += [GitLabFeature.Features.WIKI] Loading @@ -367,6 +372,7 @@ class GitLabFeature: if project.snippets_enabled \ and not project.snippets.list(get_all=False) \ and GitLabFeature.Features.SNIPPETS not in keep_features: project.snippets_access_level = GitLabFeature.AccessLevels.DISABLED project.snippets_enabled = False result += [GitLabFeature.Features.SNIPPETS] Loading Loading
src/features/gitlab.py +6 Changes for src/features/gitlab.py: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -269,6 +269,7 @@ class GitLabFeature: if project.issues_enabled \ and not project.issues.list(get_all=False) \ and GitLabFeature.Features.ISSUES not in keep_features: project.issues_access_level = GitLabFeature.AccessLevels.DISABLED project.issues_enabled = False result += [GitLabFeature.Features.ISSUES] Loading Loading @@ -320,6 +321,7 @@ class GitLabFeature: except (AssertionError, GitlabGetError, GitlabListError): if project.jobs_enabled \ and GitLabFeature.Features.CI_CD not in keep_features: project.builds_access_level = GitLabFeature.AccessLevels.DISABLED project.jobs_enabled = False result += [GitLabFeature.Features.CI_CD] Loading @@ -334,6 +336,7 @@ class GitLabFeature: project.merge_requests_enabled = False project.forking_access_level = 'disabled' project.lfs_enabled = False project.builds_access_level = GitLabFeature.AccessLevels.DISABLED project.jobs_enabled = False result += [GitLabFeature.Features.REPOSITORY] Loading @@ -341,6 +344,7 @@ class GitLabFeature: if project.container_registry_enabled \ and not project.repositories.list(get_all=False) \ and GitLabFeature.Features.CONTAINER_REGISTRY not in keep_features: project.container_registry_access_level = GitLabFeature.AccessLevels.DISABLED project.container_registry_enabled = False result += [GitLabFeature.Features.CONTAINER_REGISTRY] Loading @@ -360,6 +364,7 @@ class GitLabFeature: if project.wiki_enabled \ and not project.wikis.list(get_all=False) \ and GitLabFeature.Features.WIKI not in keep_features: project.wiki_access_level = GitLabFeature.AccessLevels.DISABLED project.wiki_enabled = False result += [GitLabFeature.Features.WIKI] Loading @@ -367,6 +372,7 @@ class GitLabFeature: if project.snippets_enabled \ and not project.snippets.list(get_all=False) \ and GitLabFeature.Features.SNIPPETS not in keep_features: project.snippets_access_level = GitLabFeature.AccessLevels.DISABLED project.snippets_enabled = False result += [GitLabFeature.Features.SNIPPETS] Loading