choco icon indicating copy to clipboard operation
choco copied to clipboard

Chocolatey folder migration logic should be removed from `chocolateysetup.psm1` file

Open gep13 opened this issue 1 year ago • 1 comments

Checklist

  • [X] I have verified this is the correct repository for opening this issue.
  • [X] I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

No. There is no specific problem associated with this task, it is more around tidying up of code that is no longer required.

Describe The Solution. Why is it needed?

Within the chocolateysetup.psm1 file, there are a number of functions that were specifically created to aid with the migration from the old Chocolatey CLI installation folder C:\Chocolatey to the new one C:\ProgramData\Chocolatey.

This code is no longer required, and can be removed.

Additional Context

The migration code was added to the chocolateysetup.psm1 file in version 0.9.9, which was shipped in March 2015. Chocolatey CLI is now on its second major version, and the upgrade steps to get to 2.x first involve getting to 1.4.0. As a result, this migration code is no longer required.

Related Issues

N/A

gep13 avatar Aug 15 '24 12:08 gep13

@vexx32 I have assigned you to this issue, but check with @pauby about priorities before picking this up.

gep13 avatar Aug 15 '24 12:08 gep13

:tada: This issue has been resolved in version 2.4.0 :tada:

The release is available on:

vexx32 avatar Nov 12 '24 22:11 vexx32