habitat icon indicating copy to clipboard operation
habitat copied to clipboard

UX of `hab pkg install --force` does not forcefully install a package

Open reset opened this issue 6 years ago • 3 comments

The --force flag associated with hab pkg install will "Overwrite existing binlinks". I think we got the name of this flag a bit wrong. I would imagine the intended use for hab pkg install <ident> --force is to:

  • Regardless of package cache: Re-download the package
  • Regardless of package installation cache: Remove and re-extract the contents of the downloaded package

We may want to rename the current use of --force to something different or replace it entirely.

reset avatar Jun 12 '18 20:06 reset

Maybe it could be --force-binlink so that users could choose between --binlink or --force-binlink?

rsertelon avatar Nov 02 '18 22:11 rsertelon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Apr 03 '20 04:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] avatar Aug 12 '22 00:08 stale[bot]