refinery icon indicating copy to clipboard operation
refinery copied to clipboard

Add CLI check for newer main repo version

Open JWittmeyer opened this issue 3 years ago • 0 comments

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

  1. 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.
  2. create an update command & 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))

JWittmeyer avatar Jul 22 '22 15:07 JWittmeyer