Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
gep13 opened this issue Aug 15, 2024 · 1 comment · May be fixed by #3528
Open
2 tasks done

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

gep13 opened this issue Aug 15, 2024 · 1 comment · May be fixed by #3528
Assignees
Milestone

Comments

@gep13
Copy link
Member

gep13 commented Aug 15, 2024

Checklist

  • I have verified this is the correct repository for opening this issue.
  • 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
Copy link
Member Author

gep13 commented Aug 15, 2024

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

vexx32 added a commit to vexx32/choco that referenced this issue Oct 7, 2024
This migration path hasnt been supported or used since pre-1.0 versions
of Chocolatey and is dead code.

Removing this now to simplify the install process somewhat and get the
old code out of the way as it's not used at all.
@vexx32 vexx32 linked a pull request Oct 7, 2024 that will close this issue
10 tasks
vexx32 added a commit to vexx32/choco that referenced this issue Oct 8, 2024
This migration path hasnt been supported or used since pre-1.0 versions
of Chocolatey and is dead code.

Removing this now to simplify the install process somewhat and get the
old code out of the way as it's not used at all.
vexx32 added a commit to vexx32/choco that referenced this issue Oct 16, 2024
This migration path hasnt been supported or used since pre-1.0 versions
of Chocolatey and is dead code.

Removing this now to simplify the install process somewhat and get the
old code out of the way as it's not used at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants