Merge Request #99
← To merge requests
From
fixed_gitlab_import
into
master
Commits (2)
-
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
-
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Showing
1 changed file
Show diff stats
colab/plugins/gitlab/data_importer.py
... | ... | @@ -150,6 +150,15 @@ class GitlabProjectImporter(GitlabDataImporter): |
150 | 150 | datum.save() |
151 | 151 | |
152 | 152 | |
153 | +class GitlabGroupImporter(GitlabDataImporter): | |
154 | + | |
155 | + def fetch_data(self): | |
156 | + LOGGER.info("Importing Group") | |
157 | + groups_list = self.fetch_groups() | |
158 | + for datum in groups_list: | |
159 | + datum.save() | |
160 | + | |
161 | + | |
153 | 162 | class GitlabMergeRequestImporter(GitlabDataImporter): |
154 | 163 | |
155 | 164 | def fetch_data(self): | ... | ... |
-
mentioned in commit 05e5d861469ad55943a154a829be2e9d4cfcd8f0