Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
mediaserver
envsetup
Commits
74d5e972
Commit
74d5e972
authored
6 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Changed utilities list and fix email test (refs
#25522
).
parent
540ae6b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
1.Base/1.Utilities/0_setup.py
+1
-1
1 addition, 1 deletion
1.Base/1.Utilities/0_setup.py
tests/test_email.py
+3
-1
3 additions, 1 deletion
tests/test_email.py
with
4 additions
and
2 deletions
1.Base/1.Utilities/0_setup.py
+
1
−
1
View file @
74d5e972
...
...
@@ -8,7 +8,7 @@ def setup(interactive=True):
cmds
=
[
'
apt-get clean
'
,
'
apt-get update
'
,
'
apt-get install --yes make
ipython
ipython3 vim netcat git htop iotop bmon host lm-sensors pciutils nfs-client smartmontools pwgen
dialog
curl python3-requests
'
,
'
apt-get install --yes make ipython3 vim netcat git htop iotop bmon
net-tools
host lm-sensors pciutils nfs-client smartmontools pwgen curl python3-requests
'
,
# Locale
'
locale-gen en_GB.UTF-8
'
,
'
update-locale LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
'
,
...
...
This diff is collapsed.
Click to expand it.
tests/test_email.py
+
3
−
1
View file @
74d5e972
...
...
@@ -14,8 +14,10 @@ import imp
try
:
import
spf
except
ImportError
:
subprocess
.
call
([
'
apt-get
'
,
'
-qq
'
,
'
-y
'
,
'
install
'
,
'
python3-spf
'
])
subprocess
.
check_
call
([
'
apt-get
'
,
'
-qq
'
,
'
-y
'
,
'
install
'
,
'
python3-spf
'
])
import
spf
if
subprocess
.
call
([
'
which
'
,
'
net-tools
'
])
!=
0
:
subprocess
.
check_call
([
'
apt-get
'
,
'
-qq
'
,
'
-y
'
,
'
install
'
,
'
net-tools
'
])
YELLOW
=
'
\033
[93m
'
GREEN
=
'
\033
[92m
'
...
...
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