Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: include uninstallation logic #70

Merged
merged 32 commits into from
May 17, 2023
Merged

Conversation

alestiago
Copy link
Contributor

@alestiago alestiago commented May 11, 2023

Status

READY

Description

Adds the uninstallation logic.

Changes:

  • New uninstall method in CompletionInstallation
  • New removeFrom method in ScriptConfigurationEntry
  • Defined CompletionUnistallationException

In a follow-up PR, I will add a new uninstall file to cache those uninstalled executables in order to avoid auto-installation installing them again.

In a follow-up PR, I will hook the new uninstall method in CompletionInstallation as a CLI command the user can use.

In a follow-up PR, I will add logger information where needed for a better user experience.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@alestiago alestiago marked this pull request as ready for review May 13, 2023 13:56
@alestiago alestiago self-assigned this May 13, 2023
@alestiago alestiago added the feature A new feature or request label May 13, 2023
renancaraujo
renancaraujo previously approved these changes May 16, 2023
lib/src/installer/completion_installation.dart Outdated Show resolved Hide resolved
lib/src/installer/completion_installation.dart Outdated Show resolved Hide resolved
lib/src/installer/exceptions.dart Show resolved Hide resolved
lib/src/installer/exceptions.dart Outdated Show resolved Hide resolved
@renancaraujo renancaraujo self-requested a review May 16, 2023 10:21
@alestiago alestiago requested a review from renancaraujo May 16, 2023 14:40
renancaraujo
renancaraujo previously approved these changes May 17, 2023
Co-authored-by: Renan <6718144+renancaraujo@users.noreply.github.com>
@alestiago alestiago merged commit 7b1726b into main May 17, 2023
@alestiago alestiago deleted the refactor/uninstallation-logic branch May 17, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants