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

Exclude files from purge is case sensitive on Windows #6686

Open
5 tasks done
millerjn21 opened this issue Dec 7, 2020 · 1 comment
Open
5 tasks done

Exclude files from purge is case sensitive on Windows #6686

millerjn21 opened this issue Dec 7, 2020 · 1 comment
Labels
area/steps kind/bug This issue represents a verified problem we are committed to solving

Comments

@millerjn21
Copy link

Prerequisites

  • 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

  1. Create a file on a Windows target
  2. Create a step that deploys a package, use custom install directory, exclude the file from purge but use the wrong case.
  3. 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.

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

@millerjn21 millerjn21 added the kind/bug This issue represents a verified problem we are committed to solving label Dec 7, 2020
@droyad 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
@mcasperson mcasperson added the product/noqrfcapacity Do not use this label anymore label Dec 21, 2020
@mcasperson
Copy link

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.

@kengel100 kengel100 added area/steps and removed product/noqrfcapacity Do not use this label anymore labels Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/steps kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

3 participants