chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Sync Command - ID Input Acts Like Match #401

Open sync-by-unito[bot] opened 1 month ago

sync-by-unito[bot] commented 1 month ago

What You Are Seeing?

When running a `choco sync --id='Git' --package-id='git' with the Windows Programs Git and TortiseGit (64bit). The sync command creates a Git package but tries to sync it to both programs.

What is Expected?

Sync should only try to sync a single software to a package in one command issued.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Have Chocolatey For Business installed and licensed.
  2. Install Git outside of a Chocolatey package.
  3. Install TotriseGit outside of a Chocolatey package.
  4. Attempt to run choco sync --id='Git' --package-id='git' to attempt creating a git package looking at the Git program installed.
  5. You'll see in the output it creates the git package looking at the Git program. It then also attempts to sync the TortiseGit program with the same git package that was generated.

System Details

Output Log

chocolatey.log

Workarounds

Proposed Solution

N/A

Related Issues and Tickets

Zendesk Ticket Zendesk Ticket

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito