Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ow2
gitlab-mirror-orchestrator
Commits
76360d53
Commit
76360d53
authored
May 16, 2022
by
Antoine Mottier
Browse files
Restore suggestion to delete orphan from GitLab
parent
456ca896
Pipeline
#21081
passed with stages
in 1 minute and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlamirator/GitHubLab.py
View file @
76360d53
...
...
@@ -388,7 +388,7 @@ def prepare_repos(doGetSize=False, **itemSettings):
if
_reposNotInGH
:
logger
.
info
(
"Some of the GitLab repos doesn't exist or have special"
"status in GitHub org (archive, fork). See orphan log."
)
"status in GitHub org (archive, fork). See orphan log.
\n
You might want to delete them from GitLab
"
)
_pApiUrls
=
{
p
[
'path_with_namespace'
]:
'{}/projects/{}'
.
format
(
config
.
globalCfg
[
'gitlabApiUrl'
],
p
[
'id'
])
for
p
in
cacheGroup
[
'projects'
]
for
orphan
in
_reposNotInGH
if
orphan
==
p
[
'name'
]}
record_orphan
(
_pApiUrls
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment