v0.41.1
v0.41.1 (2024-06-20)
Chore
- chore: refactored to use common git file repository class (#568)
secureli-XXX
This PR refactors GitRepo and RepoFilesRepository classes into a common
GitRepo class which is an implementation of a new abstract class
VersionControlRepoAbstraction. VersionControlRepoAbstraction replaces
the RepoAbstraction class.
Changes
<!-- A detailed list of changes -->
*
Testing
<!--
Mention updated tests and any manual testing performed.
Are aspects not yet tested or not easily testable?
Feel free to include screenshots if appropriate.
-->
*
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->
Co-authored-by: Ian Bowden <ian.bowden@slalom> (7707615
)
Fix
- fix: Precommit config overwritten on init (#572)
secureli-570
An existing precommit config file will be overwritten when running
secureli init
.
I've added a flag to the init action to prevent overwriting the config--
`secureli init --preserve-precommit-config'
Changes
- Added
--preserve-precommit-config
parameter to init action
Testing
- Added copy of existing test with the flag added
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
--> (f818123
)