Commit 84540e2
authored
Feature/add config params (#71)
* changed each test to also check for warnings and specified which warning must be displayed
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* implemented change requests
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* linter issues
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added location of check
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added check class
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added test for xml conformity
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added check for validating xml with scheme, output not yet processed though
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* created whole check out of validation function. introduced success and failure messages
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* corrected double code
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* moved check to extra file
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* fixed imports and whitespaces
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed if structure of _check method
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed tests to all fullfill scheme version
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed test data with source-file attribute to version 4
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added case for package.xml version 4
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* removed todo
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* adapted wrong test
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* moved version checking and xml tree conversion to package.py
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* refactor of schema check
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* fixed bug
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added new args for config
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added functionality for config options
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added scheme 2 test
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added tests for all scheme versions
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added negative, violating tests for every scheme
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* adapted tests to scan for schemacheck as well
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added online schema aquiration
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed used xml validation files with online files, still need a fallback to offline
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed readme due to updates on code
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed readme
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* changed content of arguments help
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added lazy schema request
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* saving validation schema to reduce requests
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* deleted local shema files, rewrote schema_check cases and adapted schema checks to not be downwards compatible
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* implemented suggestions again
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* implemented suggestions
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* added fail case for no connection & adapted readme
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* linter issues
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* fixing documentation bug
Signed-off-by: Anton Utz <uta5fe@bosch.com>
* documentation fix
Signed-off-by: Anton Utz <uta5fe@bosch.com>
---------
Signed-off-by: Anton Utz <uta5fe@bosch.com>1 parent 38e165a commit 84540e2
File tree
23 files changed
+501
-402
lines changed- schemas
- src/ros_license_toolkit
- license_checks
- test
- _test_data
- test_pkg_both_tags_not_spdx_one_file_own
- test_pkg_has_code_of_different_license_and_wrong_tag
- test_pkg_one_correct_one_license_file_missing
- test_pkg_scheme1_conform
- test_pkg_scheme1_violation
- test_pkg_scheme2_conform
- test_pkg_scheme2_violation
- test_pkg_scheme3_conform
- test_pkg_scheme3_violation
- systemtest
23 files changed
+501
-402
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
143 | | - | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | | - | |
146 | 153 | | |
147 | 154 | | |
148 | 155 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments