Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
f89d367a
Commit
f89d367a
authored
Jul 16, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: adding bsd exception
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
9c010e30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ci-scripts/checkCodingFormattingRules.sh
ci-scripts/checkCodingFormattingRules.sh
+4
-4
No files found.
ci-scripts/checkCodingFormattingRules.sh
View file @
f89d367a
...
...
@@ -76,8 +76,8 @@ then
do
IS_NFAPI
=
`
echo
$FILE
| egrep
-c
"nfapi/open-nFAPI|nfapi/oai_integration/vendor_ext"
||
true
`
IS_OAI_LICENCE_PRESENT
=
`
egrep
-c
"OAI Public License"
$FILE
||
true
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence"
$FILE
||
true
`
IS_EXCEPTION
=
`
echo
$FILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_|openair3/NAS/COMMON/milenage.h"
||
true
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence
|License-Identifier: BSD-2-Clause
"
$FILE
||
true
`
IS_EXCEPTION
=
`
echo
$FILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_|openair
2/UTIL/OPT/packet-rohc.h|openair
3/NAS/COMMON/milenage.h"
||
true
`
if
[
$IS_OAI_LICENCE_PRESENT
-eq
0
]
&&
[
$IS_BSD_LICENCE_PRESENT
-eq
0
]
then
if
[
$IS_NFAPI
-eq
0
]
&&
[
$IS_EXCEPTION
-eq
0
]
...
...
@@ -197,8 +197,8 @@ do
then
IS_NFAPI
=
`
echo
$FULLFILE
| egrep
-c
"nfapi/open-nFAPI|nfapi/oai_integration/vendor_ext"
||
true
`
IS_OAI_LICENCE_PRESENT
=
`
egrep
-c
"OAI Public License"
$FULLFILE
||
true
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence"
$FULLFILE
||
true
`
IS_EXCEPTION
=
`
echo
$FULLFILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_|openair3/NAS/COMMON/milenage.h"
||
true
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence
|License-Identifier: BSD-2-Clause
"
$FULLFILE
||
true
`
IS_EXCEPTION
=
`
echo
$FULLFILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_|openair
2/UTIL/OPT/packet-rohc.h|openair
3/NAS/COMMON/milenage.h"
||
true
`
if
[
$IS_OAI_LICENCE_PRESENT
-eq
0
]
&&
[
$IS_BSD_LICENCE_PRESENT
-eq
0
]
then
if
[
$IS_NFAPI
-eq
0
]
&&
[
$IS_EXCEPTION
-eq
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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