Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
islpy
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
Model registry
Operate
Environments
Monitor
Incidents
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
Kaushik Kulkarni
islpy
Commits
adcac997
Commit
adcac997
authored
9 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Update aksetup
parent
4bc203f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aksetup_helper.py
+6
-2
6 additions, 2 deletions
aksetup_helper.py
configure.py
+2
-0
2 additions, 0 deletions
configure.py
with
8 additions
and
2 deletions
aksetup_helper.py
+
6
−
2
View file @
adcac997
...
@@ -703,6 +703,7 @@ def substitute(substitutions, fname):
...
@@ -703,6 +703,7 @@ def substitute(substitutions, fname):
def
_run_git_command
(
cmd
):
def
_run_git_command
(
cmd
):
git_error
=
None
git_error
=
None
from
subprocess
import
Popen
,
PIPE
from
subprocess
import
Popen
,
PIPE
stdout
=
None
try
:
try
:
popen
=
Popen
([
"
git
"
]
+
cmd
,
stdout
=
PIPE
)
popen
=
Popen
([
"
git
"
]
+
cmd
,
stdout
=
PIPE
)
stdout
,
stderr
=
popen
.
communicate
()
stdout
,
stderr
=
popen
.
communicate
()
...
@@ -722,8 +723,11 @@ def _run_git_command(cmd):
...
@@ -722,8 +723,11 @@ def _run_git_command(cmd):
print
(
git_error
)
print
(
git_error
)
print
(
"
Hit Ctrl-C now if you
'
d like to think about the situation.
"
)
print
(
"
Hit Ctrl-C now if you
'
d like to think about the situation.
"
)
print
(
DASH_SEPARATOR
)
print
(
DASH_SEPARATOR
)
count_down_delay
(
delay
=
5
)
count_down_delay
(
delay
=
0
)
return
stdout
.
decode
(
"
utf-8
"
),
git_error
if
stdout
:
return
stdout
.
decode
(
"
utf-8
"
),
git_error
else
:
return
''
,
"
(subprocess call to git did not succeed)
"
def
check_git_submodules
():
def
check_git_submodules
():
...
...
This diff is collapsed.
Click to expand it.
configure.py
+
2
−
0
View file @
adcac997
#! /usr/bin/env python
#! /usr/bin/env python
from
__future__
import
absolute_import
from
aksetup_helper
import
configure_frontend
from
aksetup_helper
import
configure_frontend
configure_frontend
()
configure_frontend
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment