Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dye
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aptivate
dye
Merge requests
!85
Recursively update git submodules, needed for iSchool
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Recursively update git submodules, needed for iSchool
submodule_update_recursive
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
decentral1se
requested to merge
submodule_update_recursive
into
develop
10 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Created by: qris
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
d2e2ae69
1 commit,
7 years ago
1 file
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dye/tasklib/tasklib.py
+
4
−
4
Options
@@ -81,11 +81,11 @@ def update_git_submodules():
"""
If this is a git project then check for submodules and update
"""
git_modules_file
=
path
.
join
(
env
[
'
vcs_root_dir
'
],
'
.gitmodules
'
)
if
path
.
exists
(
git_modules_file
):
if
not
env
[
'
quiet
'
]:
print
"
### updating git submodules
"
git_submodule_cmd
=
'
git submodule update --ini
t
'
git_submodule_cmd
=
'
git submodule update --init --recursive
'
if
env
[
'
quiet
'
]:
git_submodule_cmd
+
=
'
--quie
t
'
else
:
git_submodule_cmd
=
'
git submodule --quiet update --init
'
print
"
### updating git submodules
"
_check_call_wrapper
(
git_submodule_cmd
,
cwd
=
env
[
'
vcs_root_dir
'
],
shell
=
True
)
Loading