You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified the problem exists in the latest version
I have searched open and closed issues to make sure it isn't already reported
I have written a descriptive issue title
I have linked the original source of this report
I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)
The bug
When using Custom Install Directory and you Exclude files from purge, case sensitivity is respected even on Windows targets. If you tell it to exclude "file.txt" and the file is named "FILE.txt" on the system, it will be purged.
What I expected to happen
I would expect Windows targets to not respect case sensitivity. I would expect the file to be excluded regardless of the case in the file name.
Steps to reproduce
Create a file on a Windows target
Create a step that deploys a package, use custom install directory, exclude the file from purge but use the wrong case.
Check if the file was excluded from purge after deployment, and see that it was not excluded and got purged in error.
Screen capture
N/A
Log exerpt
N/A
Affected versions
Octopus Server: Latest (2020.5.0)
Workarounds
No workaround other than just ensuring you use case sensitivity when listing the files.
droyad
changed the title
When using Custom Install Directory and you Exclude files from purge, case sensitivity is respected even on Windows targets.
Exclude files from purge is case sensitive on Windows
Dec 7, 2020
We have flagged this as an issue with product, but at this point we do not have capacity to assign an engineer to resolve the issue. We'll keep the issue open, but unfortunately we can not provide any guidance as to when it will be resolved.
Prerequisites
The bug
When using Custom Install Directory and you Exclude files from purge, case sensitivity is respected even on Windows targets. If you tell it to exclude "file.txt" and the file is named "FILE.txt" on the system, it will be purged.
What I expected to happen
I would expect Windows targets to not respect case sensitivity. I would expect the file to be excluded regardless of the case in the file name.
Steps to reproduce
Screen capture
N/A
Log exerpt
Affected versions
Octopus Server: Latest (2020.5.0)
Workarounds
No workaround other than just ensuring you use case sensitivity when listing the files.
Links
Source ticket: https://help.octopus.com/t/file-exclusions-for-purge-are-case-sensitive/26044
Cloud repro (INTERNAL): https://octopus-operations.octopus.app/app#/Spaces-83/projects/deploy-a-package-exclude-case-sensitive/deployments/process/steps?actionId=5e9408c8-04b9-406b-a720-36db24259df1
The text was updated successfully, but these errors were encountered: