Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
2a4a4c75eb69
Commit
2a4a4c75eb69
authored
3 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
fix the grep that was incorrect
parent
98d44b6a22de
No related branches found
No related tags found
1 merge request
!50
Topic/default/fix not null detect
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.rst
+2
-0
2 additions, 0 deletions
NEWS.rst
do_tests
+1
-1
1 addition, 1 deletion
do_tests
with
3 additions
and
1 deletion
NEWS.rst
+
2
−
0
View file @
2a4a4c75
...
...
@@ -13,6 +13,8 @@
Make start-py3o option work again.
Odoo 13 set not null errors when testing are ignored the same way it was in other versions.
8.0.1
-----
...
...
This diff is collapsed.
Click to expand it.
do_tests
+
1
−
1
View file @
2a4a4c75
...
...
@@ -117,7 +117,7 @@
fi
criticals
=
$(
grep
' CRITICAL'
-F
$logfile
-c
)
# exclude ALTER COLUMN xxx set not null that are not real errors
errors
=
$(
grep
' ERROR'
-F
$logfile
|
grep
-v
"(ALTER COLUMN
\"\w
*
\"
SET NOT NULL|unable to set NOT NULL on column)"
-c
)
errors
=
$(
grep
' ERROR'
-F
$logfile
|
grep
-E
-v
"(ALTER COLUMN
\"\w
*
\"
SET NOT NULL|unable to set NOT NULL on column)"
-c
)
warnings
=
$(
grep
' WARNING'
-F
$logfile
-c
)
if
[[
$criticals
-gt
0
]]
;
then
...
...
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