refinery
refinery copied to clipboard
Add CLI check for newer main repo version
Is your feature request related to a problem? Please describe. Currently, the cli tool pulls the repository only if the folder doesn't exist. This can result in outdated versions of the start script.
Describe the solution you'd like Check if a newer version of the repository is available. (e.g. by saving a commit hash). When running a cli command check if a newer version is available and prompt an update request (yes/no).
Describe alternatives you've considered
- Always pull the newest version on start. This might result in a situation where someone doesn't want to update so maybe not be optimal.
- create an
updatecommand & only check on execution of said command -> this might result in someone missing a curtail update
Additional context Feature wish arose from the question of updating "existing" users (in relation to an upcomming update related to minio & qdrant storage (https://github.com/code-kern-ai/refinery/issues/27))