diff --git a/abgabesystem.py b/abgabesystem.py index 912c582..223ba15 100644 --- a/abgabesystem.py +++ b/abgabesystem.py @@ -8,8 +8,6 @@ import logging as log import csv import secrets -from time import sleep - class Deadline(yaml.YAMLObject): """A deadline""" @@ -197,6 +195,8 @@ def sync_project(gl, course, student): student_member = project.members.create({'user_id': student.user.id, 'access_level': gitlab.DEVELOPER_ACCESS}) project.keys.create({'title': 'abgabesystem', 'key': open('abgabesystem.key.pub').read()}) + project.container_registry_enabled = False + project.lfs_enabled = False project.save() diff --git a/gitlab.rb b/gitlab.rb index 3dbfe90..ac74b31 100644 --- a/gitlab.rb +++ b/gitlab.rb @@ -68,7 +68,7 @@ gitlab_rails['gitlab_email_reply_to'] = 'noreply@ips1.ibr.cs.tu-bs.de' # gitlab_rails['gitlab_default_projects_features_wiki'] = true # gitlab_rails['gitlab_default_projects_features_snippets'] = true # gitlab_rails['gitlab_default_projects_features_builds'] = true -# gitlab_rails['gitlab_default_projects_features_container_registry'] = true +gitlab_rails['gitlab_default_projects_features_container_registry'] = false ### Automatic issue closing ###! See https://docs.gitlab.com/ce/customization/issue_closing.html for more