Chore
* chore: Ensure develop is correctly updated after a release. (294)
* chore: Ensure develop is updated after release is completed.
Signed-off-by: Chris Butler <christhebutlers.me>
* Corrected typos in PR template.
Signed-off-by: Chris Butler <christhebutlers.me> ([`72539c9`](https://github.com/oscal-compass/compliance-trestle/commit/72539c956be59422056bdb82143772587a9f5f05))
* chore: Add mdformat-gfm to setup.cfg (292)
Signed-off-by: Taneli Hukkinen <hukkinj1users.noreply.github.com> ([`4750882`](https://github.com/oscal-compass/compliance-trestle/commit/4750882396ea44dbfdebe8860cc527a7768a7ac6))
* chore: Auto-update pre-commit hooks (277)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`2a2d394`](https://github.com/oscal-compass/compliance-trestle/commit/2a2d39432cd6c32c0373465eee0f84893a7f0718))
* chore: Autoformat GFM tables with mdformat-gfm (268)
Signed-off-by: Taneli Hukkinen <hukkinj1users.noreply.github.com> ([`fe4d907`](https://github.com/oscal-compass/compliance-trestle/commit/fe4d9077318fd46aab8088ad1405b6d22bb573b6))
Documentation
* docs: Initial setup of documentation website. (234)
* Documentation website builds. Needs significantly more content.
Signed-off-by: Chris Butler <christhebutlers.me>
* Fixes missing deploy script
Signed-off-by: Chris Butler <christhebutlers.me>
* More updates to the documentation website.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated contributing documentation
Signed-off-by: Chris Butler <christhebutlers.me>
* Pre-merge commit
Signed-off-by: Chris Butler <christhebutlers.me>
* Precommit update test.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated documentation for basemodel
Signed-off-by: Chris Butler <christhebutlers.me>
* Added missing docs files
Signed-off-by: Chris Butler <christhebutlers.me>
* Fixing mdformatting issues with include
Signed-off-by: Chris Butler <christhebutlers.me>
* Added more api docs pages
Signed-off-by: Chris Butler <christhebutlers.me>
* chore: Fix gitignore to cover html coverage website.
Signed-off-by: Chris Butler <christhebutlers.me>
* chore: Fix gitignore to cover html coverage website.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updates
Signed-off-by: Chris Butler <christhebutlers.me>
* Corrected poorly formatted links.
Signed-off-by: Chris Butler <christhebutlers.me>
* Improvements in documentation build process.
Signed-off-by: Chris Butler <christhebutlers.me>
* Basic documentation website setup complete.
Signed-off-by: Chris Butler <christhebutlers.me>
* docs/cli.md
Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`a51081b`](https://github.com/oscal-compass/compliance-trestle/commit/a51081bd93cb43b02135b72f00e16cf805eacba9))
Feature
* feat: Force update of version
Version failed due to migration to &39;main&39; branch. ([`fc0357b`](https://github.com/oscal-compass/compliance-trestle/commit/fc0357b297bb59d64ad28af23fe2404c31364010))
* feat: Update to OSCAL 1.0.0rc1 and simplified models. (286)
* Start using latest version of datamodel-generator
* Provide Camel and Snake conversion without datamodel-generator
* Flatten refs in schema and use latest datamodel-generator
This is not passing tests yet but may be due to other issues.
Also there may still be classes missing that should be defined.
* Better handling of corner cases. Need forward refs.
* Now can import and fixed_any works. Need cleanup.
* fixed fix_any to handle componentdefinition
* update dateauthorized in generators.py
* Partial resolution of issues with new version of OSCAL.
Signed-off-by: Chris Butler <christhebutlers.me>
* Initial fixes to fix_any.py
* Fixes issues with the generators for constrained ints. (279)
* Updated get_origin and other calls to ensure constrained lists are handled.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* more fixes
* Allow generators to handle cases of List[NonOscalObject] as a field. (280)
* Updated get_origin and other calls to ensure constrained lists are handled.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated generators to deal with new corner case where field is List[NonOscaObject]
Signed-off-by: Chris Butler <christhebutlers.me>
* Cleanup fix_any. now 17 fail and 148 pass
* Updates with 12 open UT&39;s (282)
* Updated get_origin and other calls to ensure constrained lists are handled.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated generators to deal with new corner case where field is List[NonOscaObject]
Signed-off-by: Chris Butler <christhebutlers.me>
* Update to ensure validator passes. Refactored some yaml examples to do so.
Signed-off-by: Chris Butler <christhebutlers.me>
* More test fixes
Signed-off-by: Chris Butler <christhebutlers.me>
* fixes for split_test
* More UT coverage (283)
* Updated get_origin and other calls to ensure constrained lists are handled.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Various updates including support for conint.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated generators to deal with new corner case where field is List[NonOscaObject]
Signed-off-by: Chris Butler <christhebutlers.me>
* Update to ensure validator passes. Refactored some yaml examples to do so.
Signed-off-by: Chris Butler <christhebutlers.me>
* More test fixes
Signed-off-by: Chris Butler <christhebutlers.me>
* Corrected more UT&39;s to new OSCAL models.
Signed-off-by: Chris Butler <christhebutlers.me>
* Corrected more UT&39;s to new OSCAL models.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated unit tests for oscal 1.0.0rc
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated unit tests for oscal 1.0.0rc with corrected behaviour.
Signed-off-by: Chris Butler <christhebutlers.me>
* Updated documentation.
Signed-off-by: Chris Butler <christhebutlers.me>
* Added pytest-random-order to dependencies.
Signed-off-by: Chris Butler <christhebutlers.me>
* Stripped out unused functions to boost test coverage.
Signed-off-by: Chris Butler <christhebutlers.me>
Co-authored-by: FrankSuits <frankstau1.ibm.com> ([`992b317`](https://github.com/oscal-compass/compliance-trestle/commit/992b31743f4d1c4ce11d5b8c1ee69995856d0056))
* feat: Distributed load and trestle merge.(272)
* fix: reference to inexistent function
* Allow certain aliases not to be stripped on get_stripped_contextual_model
* Update merge commands on examples
* Initial unit tests for merge
* add unit test for complex merge case
* latest change
* Non-recursive merge and recursive load of distributed model implemented.
* Load distributed implemented
* Testing distributed load. adding back test data, which were mistakenly deleted
* Load distributed working fully now. Need to clean up code and write unit tests.
* Merge implementation complete.
* Code lint and formating
* Fixed Unit Tests
* More merge UTs
* Format and lint
* Restoring phantom changes from develop
* Restoring phantom changes from develop
* Revert &34;Format and lint&34;
This reverts commit 73ef3c83d9f5a4d071f7a422556a420d781b1306.
* Revert &34;Restoring phantom changes from develop&34;
This reverts commit a2b695e8dcce2b4a802438a726aabc0e0e1b8d80.
* Revert &34;Restoring phantom changes from develop&34;
This reverts commit eec5c1bfe0c875af3e07bb77a85e8f4342f971c4.
* Fixed fs_test
* Merge clenup
* More merge UT
* UT for load_distributed
* More MergeCmd UT
* MyPy typing
* MyPy typing
* Format and lint
* Taking out test_merge_simple_list. Test failes becaues [role1, role2] == [role2, role1] is False
* Taking out test_merge_simple_list. Test failes becaues [role1, role2] == [role2, role1] is False
* Fixing UT
* Using sorted(Path.iterdir()) to ensure order of file iteration. Should fix UTs
* QA, code clean up, typing clean up and refractor
Co-authored-by: Bruno <brunomarau1.ibm.com>
Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`dceae85`](https://github.com/oscal-compass/compliance-trestle/commit/dceae854c9e96ef2e66931efa9a0263b0470003e))
* feat: Misc cleanups of code for typing, unsafe functions, and other issues. (274)
* Adding more coverage for type checking and removing conflicts.
Signed-off-by: Chris Butler <christhebutlers.me>
* feat: Updating to btest compatibility with python 3.9
Signed-off-by: Chris Butler <christhebutlers.me>
* Removed depricated &34;warn&34; function from use
Signed-off-by: Chris Butler <christhebutlers.me>
* Update to clean up unit tests.
Signed-off-by: Chris Butler <christhebutlers.me>
* More typing coverage.
Signed-off-by: Chris Butler <christhebutlers.me> ([`0652392`](https://github.com/oscal-compass/compliance-trestle/commit/06523929944351ce90ba83a85d57f0b04b323660))
Fix
* fix: correct semantic release behaviour ([`c25d5be`](https://github.com/oscal-compass/compliance-trestle/commit/c25d5be7448ee956cd848a1476b5c9c70d72ab33))
* fix: Changed split to not write empty files after split. Implemented circular split-merge test (295)
Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`1ebbeb2`](https://github.com/oscal-compass/compliance-trestle/commit/1ebbeb20db1e25852dd58f7fa7a4ed909e995ef0))
* fix: Correct semantic release behaviour.
Corrected semantic release behaviour. ([`caba993`](https://github.com/oscal-compass/compliance-trestle/commit/caba993013fed5b70ced84fc58d34345e042cb6c))
* fix: Refactor to use python and pytest internals for temporary paths and creating directories.
* Refactored to use tmp_path everywhere
Signed-off-by: Chris Butler <christhebutlers.me>
* Altered unit test to only use pytest inbuilt temporary directories.
Signed-off-by: Chris Butler <christhebutlers.me>
* Adding more typing and clearing up redundant functionality.
Signed-off-by: Chris Butler <christhebutlers.me> ([`1d99ca2`](https://github.com/oscal-compass/compliance-trestle/commit/1d99ca2ac96d76dfa777a0c514be582b382504de))
* fix: Small typo fix.
Trivial spelling fix. ([`2168bb2`](https://github.com/oscal-compass/compliance-trestle/commit/2168bb2b4d8fa79fbf93687a41265379cba608b8))
Unknown
* Merge branch &39;main&39; into develop ([`df99bf8`](https://github.com/oscal-compass/compliance-trestle/commit/df99bf83c4b3326969ab31b070f71b95d38ecee4))
* Merge pull request 289 from IBM/develop
feat: Force update of version for release ([`e716524`](https://github.com/oscal-compass/compliance-trestle/commit/e716524db01f65ad0f9167143126743ea5de4be9))
* Corrected semantic release behaviour.
Signed-off-by: Chris Butler <christhebutlers.me> ([`c147e94`](https://github.com/oscal-compass/compliance-trestle/commit/c147e9443993c37bb484a925e4a10c195c1eb1cd))
* Merge branch &39;main&39; into develop ([`2c97d6c`](https://github.com/oscal-compass/compliance-trestle/commit/2c97d6c2ad0bf029a417ecfef1866d258ace201b))
* Merge pull request 288 from IBM/develop
feat: Release to support OSCAL 1.0.0rc1 ([`cbb39c4`](https://github.com/oscal-compass/compliance-trestle/commit/cbb39c4455274e9e27f335e0699eac92be25de02))
* Merge branch &39;main&39; into develop ([`aad7018`](https://github.com/oscal-compass/compliance-trestle/commit/aad70181dfe4b8868345010fb5fd10000bcd329a))
* Merge pull request 261 from IBM/develop
Trestle release: task and import. ([`24de68c`](https://github.com/oscal-compass/compliance-trestle/commit/24de68ccd4a23ec306137cbdf931f1de03471eb5))
* Merge pull request 264 from IBM/docs/caching-spec
docs (caching): typos and format fixes, explicit prohibition on unencrypted HTTP ([`b3fda9a`](https://github.com/oscal-compass/compliance-trestle/commit/b3fda9a4598541aaac48b65b7ae2881df3b48ea8))
* Merge branch &39;develop&39; into docs/caching-spec ([`c927861`](https://github.com/oscal-compass/compliance-trestle/commit/c9278611acdb2aeb809b62763e4f1fe15b66f661))
* Specs now require HTTPS for fetching, while unencrypted HTTP is not allowed.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`98aabdb`](https://github.com/oscal-compass/compliance-trestle/commit/98aabdbe643d958dcaac00f9c2ff4804e2cb7c93))
* Fixed a few typos.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`474f693`](https://github.com/oscal-compass/compliance-trestle/commit/474f693e56878fb1d5716a42aad09b3bdf4f0fcc))
* Fixed table.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`4e78f45`](https://github.com/oscal-compass/compliance-trestle/commit/4e78f4506bb03fb0768aaaa9ea908b0a652ca630))
* feature (remote): merged remote-sftp branch and resolved... ([`c193dce`](https://github.com/oscal-compass/compliance-trestle/commit/c193dce90ecbfe2bdfbd608ff931a6728b691142))
* Merge pull request 308 from IBM/feature/remote-sftp
Feature/remote-sftp looks good to reviewer. ([`be497fc`](https://github.com/oscal-compass/compliance-trestle/commit/be497fcda82dc8a14c1dea39e6157eb215d4af3b))
* feat (remote): for sftp fetcher, linting and format fixed.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`37b3543`](https://github.com/oscal-compass/compliance-trestle/commit/37b3543c7f462229566825442128c3d4b21a8ae2))
* feat (remote): for sftp fetcher, added loading of ssh key file via env var SSH_KEY, and updated testing.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b1907c0`](https://github.com/oscal-compass/compliance-trestle/commit/b1907c078137e2106d87bde330f7b473a229b49b))
* feat (remote): added more unit testing for sftp fetcher
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`e0351e4`](https://github.com/oscal-compass/compliance-trestle/commit/e0351e4bb79aa929312e29644f08c7c70864513e))
* feat (remote): added unit tests for sftp fetcher
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`19ef19b`](https://github.com/oscal-compass/compliance-trestle/commit/19ef19bcb8338650344729a350744e5ad508370c))
* feat (remote): working sftp fetcher, live tested with active ssh-agent and password-less auth
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`cd0725d`](https://github.com/oscal-compass/compliance-trestle/commit/cd0725d0363e0ba9a8f3832cf03268c6d3c06c7c))
* feat (remote): added more validations for sftp fetcher, and one for https, with adjustments to unit testing
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d0e8304`](https://github.com/oscal-compass/compliance-trestle/commit/d0e830422446e49b6379cabf31d595cc5cc595fd))
* feat (remote): started sftp fetcher with simple validation and test, initializing cache location, but no actual fetching yet.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`0a75bcb`](https://github.com/oscal-compass/compliance-trestle/commit/0a75bcb8f39da55d137acc5fc616651a5718418c))
* feature (remote): misc tweaks resulting from merge... ([`98856b9`](https://github.com/oscal-compass/compliance-trestle/commit/98856b93e9b6f819dda23a8b7976fb06eecf491d))
* feature/remote: various updates to fetchers... ([`ff1596c`](https://github.com/oscal-compass/compliance-trestle/commit/ff1596cbdd3a2ed2c15a6c2c3723f2256331d7ac))
* Merged cache_test... ([`f94f0bd`](https://github.com/oscal-compass/compliance-trestle/commit/f94f0bda54065200f022994bda86b8da0d4c68d8))
* Merge pull request 281 from IBM/feature/remote-local
LocalFetcher can now refresh cache from file:/// or absolute path source. ([`c049fa5`](https://github.com/oscal-compass/compliance-trestle/commit/c049fa5e3b41a74b333ac652232a3562fd68faa9))
* feat (remote): generic handling of paths that should also work on Windows environments, linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`a1d8e8f`](https://github.com/oscal-compass/compliance-trestle/commit/a1d8e8f9e626677606a335c1c68974615f6cc74f))
* feat (remote): generic handling of paths that should also work on Windows environments.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`80f2b8d`](https://github.com/oscal-compass/compliance-trestle/commit/80f2b8d50f72e3ed6e1fee3d2b45719a5448c269))
* feat (remote): Adjustments for Windows environment.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`3cdc31f`](https://github.com/oscal-compass/compliance-trestle/commit/3cdc31f3054cc5b232d79976c47f460bb0a67923))
* feat (remote): LocalFetcher can now refresh cache from file:/// or absolute path source.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`dc3f809`](https://github.com/oscal-compass/compliance-trestle/commit/dc3f80909d15e5f61617233af5c3a1b7bc6d754a))
* Progress with GithubFetcher and HTTPSFetcher... ([`f03284e`](https://github.com/oscal-compass/compliance-trestle/commit/f03284e6b1e44a7634a249e9637f1b0ecb85c21b))
* feature (remote): Merged Jeff&39;s changes pushed to feature/remote... ([`a0bfd41`](https://github.com/oscal-compass/compliance-trestle/commit/a0bfd41ac5fe0cfa3a95d59c47e2fd29ce76fe6e))
* Merge pull request 266 from IBM/feature/remote-jeff
feat (remote): New caching code and unit tests, and bringing remote work up to sync with develop today. ([`dfdf9b4`](https://github.com/oscal-compass/compliance-trestle/commit/dfdf9b4fd661a2afb6d51054c587fd38671640f3))
* feat (remote): Synchronizing with correct develop versions of test_utils, conftest, fs and trash.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`360835a`](https://github.com/oscal-compass/compliance-trestle/commit/360835a7209712a67c3dd90e47e327a8478f2bcc))
* feat (remote): Adopting trestle.utils.fs
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`df792bc`](https://github.com/oscal-compass/compliance-trestle/commit/df792bcddf5f30af815319c43f120ba647f838a3))
* feat (remote): Extended feature/remote cache.py and its unit test.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`4712eff`](https://github.com/oscal-compass/compliance-trestle/commit/4712effe78e36eb04d9568eb0634744d6949eabb))
* Merge branch &39;develop&39; into feature/remote
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b2d3dc4`](https://github.com/oscal-compass/compliance-trestle/commit/b2d3dc4f9664c22d60d14a96975d2fc6d4fdd1c8))
* Merge branch &39;main&39; into develop ([`0b0b6c4`](https://github.com/oscal-compass/compliance-trestle/commit/0b0b6c4a3dad51bdce921099906347abc0a4d7df))