Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Foundation
EMO Team
eclipsefdn-ort
Commits
6c607f9d
Commit
6c607f9d
authored
May 02, 2022
by
Boris Baldassari
Browse files
Fix ort exec script for clearlydefined curations.
parent
b36ef414
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/run_ort.sh
View file @
6c607f9d
...
...
@@ -11,7 +11,7 @@
###########################################################################
# Get the path of the scripts/ directory.
ORT_ECLIPSE
=
$(
dirname
$(
readlink
-f
"
$0
"
))
ORT_ECLIPSE
_SCRIPTS
=
$(
dirname
$(
readlink
-f
"
$0
"
))
# Check parameters
die
()
{
...
...
@@ -77,6 +77,7 @@ time ort scan -f JSON \
-i
$DIR_OUT
/analyzer-result.json
-o
$DIR_OUT
|
tee
-a
$LOG
echo
"* Finish scanner at
$(
date
+
'%Y-%m-%d %H:%M'
)
"
|
tee
-a
$LOG
echo
"* Start evaluator at
$(
date
+
'%Y-%m-%d %H:%M'
)
"
|
tee
-a
$LOG
time
ort evaluate
-f
JSON
\
--rules-file
${
ORT_CONFIG_DIR
}
/evaluator.rules.kts
\
...
...
@@ -86,7 +87,7 @@ time ort evaluate -f JSON \
echo
"* Finish evaluator at
$(
date
+
'%Y-%m-%d %H:%M'
)
"
|
tee
-a
$LOG
# Parse JSON evaluation report, get clearlydefined data and create curations file.
$ORT_ECLIPSE
/curat
ions
_clearly
_
defined.y
ml
-i
$DIR_OUT
/evaluation-result.json
-o
${
ORT_CONFIG_DIR
}
/curations/clearlydefined_curations.yml
$ORT_ECLIPSE
_SCRIPTS
/curat
e
_clearlydefined.
p
y
-i
$DIR_OUT
/evaluation-result.json
-o
${
ORT_CONFIG_DIR
}
/curations/clearlydefined_curations.yml
echo
"* Start reporter at
$(
date
+
'%Y-%m-%d %H:%M'
)
"
|
tee
-a
$LOG
time
ort report
\
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment