-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 382 tag value parser #502
Issue 382 tag value parser #502
Commits on Mar 9, 2023
-
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for fdf41d3 - Browse repository at this point
Copy the full SHA fdf41d3View commit details -
[issue-382] add tag-value parser
The code is taken from the current implementation, I added a decorator function to use instead of docstrings and adapted the code according to the new data model. Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 4e5ec68 - Browse repository at this point
Copy the full SHA 4e5ec68View commit details -
[refactor] use pytest fixture instead of class
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 8a6c45b - Browse repository at this point
Copy the full SHA 8a6c45bView commit details -
[issue-382] implement error handling
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 1efdade - Browse repository at this point
Copy the full SHA 1efdadeView commit details -
[issue-382] catch exception if not all required arguments are provide…
…d for construction Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 71689b9 - Browse repository at this point
Copy the full SHA 71689b9View commit details -
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 77de34b - Browse repository at this point
Copy the full SHA 77de34bView commit details -
[issue-382] add test and specify error message
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 7b96706 - Browse repository at this point
Copy the full SHA 7b96706View commit details -
[issue-382] refactor relationship_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 589466e - Browse repository at this point
Copy the full SHA 589466eView commit details -
[issue-382] use individual logger for current_element
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 7bf3cb8 - Browse repository at this point
Copy the full SHA 7bf3cb8View commit details -
[issue-382] add helper method to start a new current element
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 4d48b6e - Browse repository at this point
Copy the full SHA 4d48b6eView commit details -
[issue-382] add test to parse whole document
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 5cf98f8 - Browse repository at this point
Copy the full SHA 5cf98f8View commit details -
[issue-382] add function to parse_checksum
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for f26aac0 - Browse repository at this point
Copy the full SHA f26aac0View commit details -
[issue-382] add error handling and tests for creation_info_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for cbbeb2b - Browse repository at this point
Copy the full SHA cbbeb2bView commit details -
[issue-382] add contains relationships
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 815e779 - Browse repository at this point
Copy the full SHA 815e779View commit details -
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for c486af0 - Browse repository at this point
Copy the full SHA c486af0View commit details -
[refactor] build parser when initializing class
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 1975cbf - Browse repository at this point
Copy the full SHA 1975cbfView commit details -
[issue-382] add tag-value parser to cli tool
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 0fce282 - Browse repository at this point
Copy the full SHA 0fce282View commit details -
[fix] raise error if name is an empty string in actor_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for d56aedc - Browse repository at this point
Copy the full SHA d56aedcView commit details -
[issue-382] check that current element matches class of parsed value
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for dc4b2be - Browse repository at this point
Copy the full SHA dc4b2beView commit details -
[issue-382] add negative test for annotation_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for ae635c3 - Browse repository at this point
Copy the full SHA ae635c3View commit details -
[issue-382] add negative tests for extracted_licensing_info
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for d186f48 - Browse repository at this point
Copy the full SHA d186f48View commit details -
[issue-382] rename parsing methods
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for d89a2c8 - Browse repository at this point
Copy the full SHA d89a2c8View commit details -
[refactor] merge parsing functions that return the same values
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 0443b84 - Browse repository at this point
Copy the full SHA 0443b84View commit details -
[refactor] creation_info_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for e348289 - Browse repository at this point
Copy the full SHA e348289View commit details -
[refactor] use helper method to set unique values
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 3d77094 - Browse repository at this point
Copy the full SHA 3d77094View commit details -
[refactor] merge parsing methods for package dates
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 1b8d9a1 - Browse repository at this point
Copy the full SHA 1b8d9a1View commit details -
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 5b62711 - Browse repository at this point
Copy the full SHA 5b62711View commit details -
[issue-382] add negative tests for snippet_parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for c4d1ed5 - Browse repository at this point
Copy the full SHA c4d1ed5View commit details -
[issue-382] add negative tests for package parser
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for d545654 - Browse repository at this point
Copy the full SHA d545654View commit details -
[issue-382] merge parsing methods
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 69748da - Browse repository at this point
Copy the full SHA 69748daView commit details -
[issue-382] add tests for contains relationship
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 71a16d6 - Browse repository at this point
Copy the full SHA 71a16d6View commit details -
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 11d6d41 - Browse repository at this point
Copy the full SHA 11d6d41View commit details -
[issue-382] use tag-value parser to test tag-value writer
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 66399f8 - Browse repository at this point
Copy the full SHA 66399f8View commit details -
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 3fbe4d3 - Browse repository at this point
Copy the full SHA 3fbe4d3View commit details -
[issue-382] delete element_stack as it is not needed
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 1a6f744 - Browse repository at this point
Copy the full SHA 1a6f744View commit details -
[issue-382] add line number to error messages
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 6d06e60 - Browse repository at this point
Copy the full SHA 6d06e60View commit details -
squashed review commits concerning test improvement
[review] assert that only one relationship exists [review] improve tests for package parser [review] don't use assertCountEqual if list contains only one element [review] add newline to <text> field [review] delete default values in datetime [fix] soften comparison of error messages to also support older python versions Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 23c558f - Browse repository at this point
Copy the full SHA 23c558fView commit details -
[review] fix type hint, parse_checksum and add test for the latter
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 1a1ca11 - Browse repository at this point
Copy the full SHA 1a1ca11View commit details -
squashed review commits concerning the tag value parser
[review] add comments to parser to improve code readability [review] merge parsing methods for byte_range and line_range [review] delete superfluous except block [review] delete superfluous call to setdefault [review] delete superfluous case distinction [review] rename parameter [review] get rid of docstrings [review] rename Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 2c77716 - Browse repository at this point
Copy the full SHA 2c77716View commit details -
squashed review commits concerning structure of the tag value parser
[review] use strings instead of p.slice [review] merge generic parsing methods [review] parse value only if the current_element matches [review] merge parsing methods [review] merge error methods for current elements [review] delete tokens for enum values and let the parser take care of correct values Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 451200d - Browse repository at this point
Copy the full SHA 451200dView commit details -
squashed review commits concerning structure, double quotes and naming
[review] use double quotes [review] change file structure of tag value parser [review] rename Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for c972177 - Browse repository at this point
Copy the full SHA c972177View commit details -
squashed review commits with name fixes and comment improvement
Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 92379a6 - Browse repository at this point
Copy the full SHA 92379a6View commit details -
[review] fix parsing of external document ref [review] use only one dictionary [review] return if multiple values for snippet range found Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Configuration menu - View commit details
-
Copy full SHA for 97a8de4 - Browse repository at this point
Copy the full SHA 97a8de4View commit details