Skip to content

fix(core): Handle scoop aliases and broken(edited,copied) shim#5551

Merged
rashil2000 merged 5 commits intoScoopInstaller:developfrom
HUMORCE:shim-n-command
Oct 3, 2023
Merged

fix(core): Handle scoop aliases and broken(edited,copied) shim#5551
rashil2000 merged 5 commits intoScoopInstaller:developfrom
HUMORCE:shim-n-command

Conversation

@HUMORCE
Copy link
Copy Markdown
Member

@HUMORCE HUMORCE commented Jun 20, 2023

Description

Motivation and Context

scoop-which cannot get path when these case:

  • scoop which <manually creaetd/edited shim missing shimTarget>
  • scoop which <copied shim> e.g. moving Scoop root directory from other locations
  • scoop which scoop-<scoop_alias>

How Has This Been Tested?

Screenshot_230620033720

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@rashil2000
Copy link
Copy Markdown
Member

Looks good, update changelog?

@HUMORCE
Copy link
Copy Markdown
Member Author

HUMORCE commented Oct 3, 2023

Done.

Comment thread CHANGELOG.md Outdated
@rashil2000
Copy link
Copy Markdown
Member

Also there are conflicts.

HUMORCE and others added 2 commits October 3, 2023 13:20
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
@rashil2000 rashil2000 merged commit 6d79d62 into ScoopInstaller:develop Oct 3, 2023
CrendKing pushed a commit to CrendKing/Scoop that referenced this pull request Oct 3, 2023
…pInstaller#5551)

* fix(core): Avoid error messages when shim broked, Allow get path for scoop aliases

* update `scoop-which`

* Add CHANGELOG entry

* Update CHANGELOG.md

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>

---------

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
@HUMORCE HUMORCE deleted the shim-n-command branch August 10, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants