Skip to content

Don't ask confirmation when pinning a new package#6309

Merged
rjbou merged 1 commit intoocaml:masterfrom
kit-ty-kate:pin-no-ask
Feb 5, 2025
Merged

Don't ask confirmation when pinning a new package#6309
rjbou merged 1 commit intoocaml:masterfrom
kit-ty-kate:pin-no-ask

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

Fixes #3199

While reading #3199 i asked myself why this question was asked and i couldn't find any reason. It was added in #1335 with no reasoning behind it either.

In my opinion the question is redundant as the user is already asking to pin the package(s).

@rjbou
Copy link
Copy Markdown
Collaborator

rjbou commented Nov 25, 2024

Discussion on dev meeting: We agree that the question is too much, but the information remains relevant as it may indicate that a repository is missing or that the package name is mistyped.
It worth adding a note about the unknown packages than remove completely the question.

@kit-ty-kate kit-ty-kate force-pushed the pin-no-ask branch 2 times, most recently from 582e6b2 to 9e214de Compare February 4, 2025 13:42
Co-authored-by: R. Boujbel <rjbou@ocamlpro.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opam pin fails adding new or multiple packages when --no-action is present

2 participants