From 516efe5339cf081c8733d42a120f4f967c6fcf8a Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Fri, 17 Nov 2023 18:38:25 +0000 Subject: [PATCH 1/5] Update version numbers to v1.4.0 --- docs/doxygen/config.doxyfile | 2 +- manifest.yml | 2 +- source/include/jobs.h | 2 +- source/jobs.c | 2 +- source/otaJobParser/include/job_parser.h | 1 + source/otaJobParser/include/ota_job_processor.h | 1 + source/otaJobParser/job_parser.c | 1 + source/otaJobParser/ota_job_handler.c | 1 + test/CMakeLists.txt | 2 +- test/unit-test/CMakeLists.txt | 2 +- test/unit-test/catch_assert.h | 2 +- test/unit-test/job_parser_utest.c | 1 + test/unit-test/jobs_utest.c | 2 +- test/unit-test/ota_job_handler_utest.c | 1 + 14 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/doxygen/config.doxyfile b/docs/doxygen/config.doxyfile index 57aa1025..8c1b1f68 100644 --- a/docs/doxygen/config.doxyfile +++ b/docs/doxygen/config.doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = "AWS IoT Jobs" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v1.3.0 +PROJECT_NUMBER = v1.4.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/manifest.yml b/manifest.yml index e9138ba1..5850cc69 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,5 +1,5 @@ name : "Jobs-for-AWS-IoT-embedded-sdk" -version: "v1.3.0" +version: "v1.4.0" description: | "Library for using the AWS IoT Jobs service on embedded devices.\n" license: "MIT" diff --git a/source/include/jobs.h b/source/include/jobs.h index a7d935ea..0e561757 100644 --- a/source/include/jobs.h +++ b/source/include/jobs.h @@ -1,5 +1,5 @@ /* - * AWS IoT Jobs v1.3.0 + * AWS IoT Jobs v1.4.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT diff --git a/source/jobs.c b/source/jobs.c index 9a5fcbe0..a9d8ad38 100644 --- a/source/jobs.c +++ b/source/jobs.c @@ -1,5 +1,5 @@ /* - * AWS IoT Jobs v1.3.0 + * AWS IoT Jobs v1.4.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT diff --git a/source/otaJobParser/include/job_parser.h b/source/otaJobParser/include/job_parser.h index 23ced31d..dac3b976 100644 --- a/source/otaJobParser/include/job_parser.h +++ b/source/otaJobParser/include/job_parser.h @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * diff --git a/source/otaJobParser/include/ota_job_processor.h b/source/otaJobParser/include/ota_job_processor.h index 00473c44..66eeead9 100644 --- a/source/otaJobParser/include/ota_job_processor.h +++ b/source/otaJobParser/include/ota_job_processor.h @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * diff --git a/source/otaJobParser/job_parser.c b/source/otaJobParser/job_parser.c index c64cef14..67bb11e9 100644 --- a/source/otaJobParser/job_parser.c +++ b/source/otaJobParser/job_parser.c @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * diff --git a/source/otaJobParser/ota_job_handler.c b/source/otaJobParser/ota_job_handler.c index e0f7999c..d8c71d3c 100644 --- a/source/otaJobParser/ota_job_handler.c +++ b/source/otaJobParser/ota_job_handler.c @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c57c98d1..b809d66d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16.0) project( "AWS IoT Jobs Tests" - VERSION 1.3.0 + VERSION 1.4.0 LANGUAGES C) # Allow the project to be organized into folders. diff --git a/test/unit-test/CMakeLists.txt b/test/unit-test/CMakeLists.txt index dec5bcaa..7825eebb 100644 --- a/test/unit-test/CMakeLists.txt +++ b/test/unit-test/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16.0) project( "AWS IoT Jobs Tests" - VERSION 1.3.0 + VERSION 1.4.0 LANGUAGES C) # Include filepaths for source and include. diff --git a/test/unit-test/catch_assert.h b/test/unit-test/catch_assert.h index 04e84515..3c0597a2 100644 --- a/test/unit-test/catch_assert.h +++ b/test/unit-test/catch_assert.h @@ -1,5 +1,5 @@ /* - * AWS IoT Jobs v1.3.0 + * AWS IoT Jobs v1.4.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT diff --git a/test/unit-test/job_parser_utest.c b/test/unit-test/job_parser_utest.c index c32e0a9a..4a91a0dd 100644 --- a/test/unit-test/job_parser_utest.c +++ b/test/unit-test/job_parser_utest.c @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * diff --git a/test/unit-test/jobs_utest.c b/test/unit-test/jobs_utest.c index c8f81991..5648e83e 100644 --- a/test/unit-test/jobs_utest.c +++ b/test/unit-test/jobs_utest.c @@ -1,5 +1,5 @@ /* - * AWS IoT Jobs v1.3.0 + * AWS IoT Jobs v1.4.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT diff --git a/test/unit-test/ota_job_handler_utest.c b/test/unit-test/ota_job_handler_utest.c index c060823e..4c54ef7c 100644 --- a/test/unit-test/ota_job_handler_utest.c +++ b/test/unit-test/ota_job_handler_utest.c @@ -1,4 +1,5 @@ /* + * AWS IoT Jobs v1.4.0 * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * From 717002325a092ee17e44f4ee4102f03a85e51465 Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Fri, 17 Nov 2023 18:47:00 +0000 Subject: [PATCH 2/5] Update readme Update max GNU complexity score to be 10 from 8. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a1ece95..3a824a9c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ and is distributed under the [MIT Open Source License](LICENSE). This library has gone through code quality checks including verification that no function has a [GNU Complexity ](https://www.gnu.org/software/complexity/manual/complexity.html) -score over 8, and checks against deviations from mandatory rules in the +score over 10, and checks against deviations from mandatory rules in the [MISRA coding standard ](https://www.misra.org.uk). Deviations from the MISRA C:2012 guidelines are documented under [MISRA Deviations](MISRA.md). This library has also undergone both static code analysis from From 9523ecac5a407b599a19a73675c67ebb629603a5 Mon Sep 17 00:00:00 2001 From: bradleysmith23 <74752142+bradleysmith23@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:58:28 -0800 Subject: [PATCH 3/5] Update README.md Co-authored-by: Soren Ptak --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a824a9c..cd3e5c63 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This library has gone through code quality checks including verification that no function has a [GNU Complexity ](https://www.gnu.org/software/complexity/manual/complexity.html) score over 10, and checks against deviations from mandatory rules in the -[MISRA coding standard ](https://www.misra.org.uk). Deviations from the MISRA +[MISRA coding standard](https://www.misra.org.uk). Deviations from the MISRA C:2012 guidelines are documented under [MISRA Deviations](MISRA.md). This library has also undergone both static code analysis from [Coverity](https://scan.coverity.com/), and validation of memory safety with the From aa2e4b2465b41cb183fcc5e30cea45146ce1e769 Mon Sep 17 00:00:00 2001 From: bradleysmith23 <74752142+bradleysmith23@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:58:34 -0800 Subject: [PATCH 4/5] Update README.md Co-authored-by: Soren Ptak --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd3e5c63..4b6ba35d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ and is distributed under the [MIT Open Source License](LICENSE). This library has gone through code quality checks including verification that no function has a -[GNU Complexity ](https://www.gnu.org/software/complexity/manual/complexity.html) +[GNU Complexity](https://www.gnu.org/software/complexity/manual/complexity.html) score over 10, and checks against deviations from mandatory rules in the [MISRA coding standard](https://www.misra.org.uk). Deviations from the MISRA C:2012 guidelines are documented under [MISRA Deviations](MISRA.md). This From 5e647e19606b98807c6c3e5796b4c1b8f9afa88b Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Fri, 17 Nov 2023 19:36:02 +0000 Subject: [PATCH 5/5] Add copyright symbol, year to files --- source/otaJobParser/include/job_parser.h | 2 +- source/otaJobParser/include/ota_job_processor.h | 2 +- source/otaJobParser/job_parser.c | 2 +- source/otaJobParser/ota_job_handler.c | 2 +- test/unit-test/job_parser_utest.c | 2 +- test/unit-test/ota_job_handler_utest.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/otaJobParser/include/job_parser.h b/source/otaJobParser/include/job_parser.h index dac3b976..244fa3ef 100644 --- a/source/otaJobParser/include/job_parser.h +++ b/source/otaJobParser/include/job_parser.h @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file diff --git a/source/otaJobParser/include/ota_job_processor.h b/source/otaJobParser/include/ota_job_processor.h index 66eeead9..a47a0e42 100644 --- a/source/otaJobParser/include/ota_job_processor.h +++ b/source/otaJobParser/include/ota_job_processor.h @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file diff --git a/source/otaJobParser/job_parser.c b/source/otaJobParser/job_parser.c index 67bb11e9..1c8d6d23 100644 --- a/source/otaJobParser/job_parser.c +++ b/source/otaJobParser/job_parser.c @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file diff --git a/source/otaJobParser/ota_job_handler.c b/source/otaJobParser/ota_job_handler.c index d8c71d3c..e06545ed 100644 --- a/source/otaJobParser/ota_job_handler.c +++ b/source/otaJobParser/ota_job_handler.c @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file diff --git a/test/unit-test/job_parser_utest.c b/test/unit-test/job_parser_utest.c index 4a91a0dd..0bd1fd14 100644 --- a/test/unit-test/job_parser_utest.c +++ b/test/unit-test/job_parser_utest.c @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file diff --git a/test/unit-test/ota_job_handler_utest.c b/test/unit-test/ota_job_handler_utest.c index 4c54ef7c..d9e78f63 100644 --- a/test/unit-test/ota_job_handler_utest.c +++ b/test/unit-test/ota_job_handler_utest.c @@ -1,6 +1,6 @@ /* * AWS IoT Jobs v1.4.0 - * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. + * Copyright (C) 2023 Amazon.com, Inc. and its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT * * Licensed under the MIT License. See the LICENSE accompanying this file