exercism / exercism/windows-installer

Search for on old/defect copy of exercism in PATH before installing

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Pascal
Stars
196
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Today in the gitter there was a student who already used exercism CLI 2.x and came back after more than a year of pausing.

The student tried to use the built-in upgrade command of the CLI (it is so far unknown if the student did a manual installation, used choco or even an older version of the installer) which failed due to exercism/cli#645.

The installer should be able to recognize if there is already a file called `exercism.exe` available in PATH and offer to repair the installation in the old location.

As an addition it would even recognize a `choco` bin-stub and tell the student to uninstall using `choco` first before proceeding with the installer.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.