slalombuild / secureli

seCureLI is a tool that enables you to experience the delight of building products by helping you get ideas from your head into working software as frictionlessly as possible, in a reliable, secure, scalable, and observable way.
Apache License 2.0
29 stars 3 forks source link

chore: updatehooks skips updated repos that aren't out of date by default #575

Closed ian-bowden-slalom closed 1 week ago

ian-bowden-slalom commented 2 weeks ago

This PR adds a new argument to the updatehooks function named force_update which is set to False by default. if force_update is false, then we won't download/install the repo unless it is out of date. If force_update is True, then we'd download and install the latest repo version irrespective of the currently installed version.

There is currently no code (outside of unit tests) that's passing True for the force_update argument.

Changes

*

Testing

*

Clean Code Checklist