cfs-tools / cfs-basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.
Other
25 stars 3 forks source link

Updating an App from GitHub Silently Fails #1

Closed dmccomas closed 1 year ago

dmccomas commented 1 year ago

If a user attempts to add an app from the github repo that's already been added (i.e. cloned) the code attempts to clone into an existing directory/repo. The git clone fails and nothing is reported to the user.

'Add App' should check to see whether the app directory exists, prompt the user if they'd like to replace the existing app, and remove the existing directory before attempting a git clone.

dmccomas commented 1 year ago

Added an existing usr directory check with a prompt to the user whether they want to replace the existing directory.