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
Merge JSON saving into main #104
Commits on Jul 8, 2021
-
JSONsaver : lay down initia setup of jsonsaver
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
jsonSaver : saved other licenses to json
- parsed other licenses from spdx.Doxument2_2 to json - tests pending Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 9, 2021
-
Jsonsaver : Saved document annotations from struct to json
- Saved annoations on the root document from struct to json - unit tests pending Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
JsonSaver : saved document describes from spdx struct to json
- Saved document describes from spdxStruct to json - unit tests pending from this section Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 10, 2021
-
Jsonsaver : saved packages and relationships from spdx to json
- saved packages from spdx struct to json - saved relationships froms spdx struct to json Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : save files from spdx strict to json
- parsed files information from struct to json - unckaged files spdx map altered (find a fix around it ) Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
jsonsaver : Save snippets from spdx struct to json
- save snippets information from spdx struct to json - unit tests for render function pending Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
jsonsaver : Parse Reviews from spdx struct to json
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 14, 2021
-
JsonSaver : Write bytes to io.Writer while saving json
- Write bytes from bytes.buffer to io.Writer while parsing json Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 15, 2021
-
Jsonsaver : Fix tag names fro reverse compatibility
- Parse a jsonsaved file using jsonloader and fixx the bugs discovered Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonparser : fix bug while parsiing creators
- Don't remove () suffix while parsing creator person and organization Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : Fix return types of relationship parser
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 16, 2021
-
Jsonsaver : Simplify json saving without maintaining the order
- Unnecessary functioanlity of maintinging the order of properyies removed - usage of map[string]interafce{} introduced Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Examples : Write desxription of jsonsaver in the Readme
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Examples : Write description of jsonsaver example in readme
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Merge pull request #92 from specter25/jsonparser1
[GSoC'21] Pr:5 . Complete the JSON saver
-
Jsonsaver : minor fixes regarding code semantics
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 20, 2021
-
Jsonsaver : creation info unit tests written
- Unit Tests fro creation info function Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 21, 2021
-
Jsonsaver : Write unit tests for all render functions
- Write units tests for render functions for snippets ,packages , files , reviews , relationships ,annotations Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : Fix checksum unit tests in case of files and packages
- Checksums algorithm had to be parsed to string from spdx.ChecksumAlgorithm Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
jsonsaver : increase test coverage
- added test to renderfile function - added tests to renderrelationships function Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : increase test coverage
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : add complete saver test
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 24, 2021
-
Jsonsaver : add complete functionslity tests
- Check whether an entire spdx document is saved correctly or not Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Jsonsaver : Package level tests added
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Jul 27, 2021
-
JsonParser : increase test coverage of files, creationinfo and annota…
…tions Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Aug 6, 2021
-
Examples : add example of jsonloader and remove existing conversion e…
…xamples - bug fixes in json saver done as well - test covereage of jsonparser increased Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Merge pull request #94 from specter25/jsonparser1
[GSoC'21] Pr:6 . JSON saver tests
Commits on Aug 10, 2021
-
Jsonsaver : maintain order while converting maps to json arrays
- bug fix : sort maos keys and then range over keys instead of maps - to maintain order while savings properties as maps Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Aug 13, 2021
-
JsonParser : JsonParser test coverage increased
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Merge pull request #97 from specter25/jsonparser1
[GSoC'21] Pr:7 . JSON saver bug fix
-
Jsonsaver : order maintained while parsing snippets
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Aug 15, 2021
-
Jsonsaver : Create a temporary storage for files instead of modifying…
… original document Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Commits on Aug 16, 2021
-
Docs : Add docs for jsonparser and jsonsaver
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
-
Merge pull request #98 from specter25/jsonparser1
[GSoC'21] Pr:8 . JSON saver bug fixes and Documentation enhancements