chocolatey-community / chocolatey-packages

Chocolatey Community Maintainers Team Packages - packages that are managed and maintained by core community team for community package repository (https://community.chocolatey.org/packages)
https://community.chocolatey.org/profiles/chocolatey-community
Apache License 2.0
447 stars 377 forks source link

(cyg-get) Space in $cygRoot #2495

Open jccolson opened 3 months ago

jccolson commented 3 months ago

Correct a bug when $cygRoot contain space.

Description

Adding some " to allow space in variable $cygRoot.

Motivation and Context

If CygWin is installed in "C:\Program Files\CygWin64", "cyg-get firefox" install defaults packages and firefox in the directory "C:\Program".

https://github.com/chocolatey-community/chocolatey-packages/issues/2489

How Has this Been Tested?

choco install -y --params "/InstallDir:'C:\Program Files\CygWin64' /site:'ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/'" Cygwin choco install -y cyg-get cyg-get install firefox

Screenshot (if appropriate, usually isn't needed):

Types of changes

Checklist:

AppVeyorBot commented 3 months ago

:white_check_mark: Package verification completed without issues. PR is now pending human review

pauby commented 3 months ago

Please go back to the description and amend it to provide the correct information and ensure you read the required guidelines and make the necessary changes.

jccolson commented 3 months ago

@pauby I don't know how to complete "Open issues" in "Original Location". I have put the link to the issue in "Motivation and Context".

pauby commented 3 months ago

The last bit needs to be removed. As the comments on the template indicate, its only for migrations.

Not that I haven't looked at this package for this PR, but it may be necessary for a new package to be released manually.

jccolson commented 2 months ago

@pauby Can I help you to create the new version ?

pauby commented 2 months ago

@jccolson I'm not sure what you are asking. I am not creating a new version.

jccolson commented 2 months ago

@pauby You say : "it may be necessary for a new package to be released manually". It's not a new version of cyg-get package ?

pauby commented 2 months ago

"it may be necessary for a new package to be released manually". It's not a new version of cyg-get package ?

I understand now. Thanks for clarifying.

I am unlikely to be releasing the new package. Whoever picks up this PR to review will likely do that.