leoafarias / sidekick

A simple app to make Flutter development more delightful
BSD 3-Clause "New" or "Revised" License
1.57k stars 101 forks source link

Support for Pinning to Specific Commits #314

Open lukemmtt opened 6 months ago

lukemmtt commented 6 months ago

Description

I propose adding a feature in Sidekick that allows users to pin their Flutter environment to a specific commit, akin to the fvm use <commit-hash> command.

Current Functionality

Sidekick supports pinning to things like stable, master, and beta releases. However, it lacks the option to pin to a specific commit, requiring users to use terminal commands.

Proposed Feature

  1. Pin to Specific Commit: Allow users to specify and pin their Flutter environment to a specific commit hash within SideKick.
  2. Pin Current Master Commit: Option to pin the current head of the master branch, fixing the environment to a specific state of the master channel.

Use Case

Pinning to a specific commit ensures stability and consistency in team environments, preventing issues that arise from changes in the master channel. This is especially useful for utilizing fixes not yet in official releases.

Existing Behavior

Sidekick displays the pinned channel/hash but does not facilitate setting a specific commit in the interface. This requires terminal use, reducing convenience.

Benefits

Extending Sidekick’s functionality to support specific commits would enhance its usability and flexibility, benefiting users like me who need precise version control.

Thank you for considering this request.