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

Do not validate Azure or GCP storage paths #29

Merged
merged 3 commits into from
May 2, 2024

Conversation

adamrtalbot
Copy link
Collaborator

@adamrtalbot adamrtalbot commented Apr 30, 2024

Similar to AWS, Azure and GCP do not handle empty files and directories very well (because they aren't real!). This PR ignores them in the same manner as AWS S3 blob storage.

Should fix #16

Similar to AWS, Azure and GCP do not handle empty files and directories very well (because they aren't real!). This PR ignores them in the same manner as AWS S3 blob storage.
@adamrtalbot adamrtalbot force-pushed the ignore_blob_storage_validation branch from ec7dd94 to e43d01f Compare April 30, 2024 10:34
@adamrtalbot adamrtalbot linked an issue Apr 30, 2024 that may be closed by this pull request
Copy link
Collaborator

@nvnieuwk nvnieuwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! seems like a good temporary solution

@nvnieuwk
Copy link
Collaborator

Can you update the changelog in the meantime?

@adamrtalbot
Copy link
Collaborator Author

Can you update the changelog in the meantime?

Done now, want me to merge?

@nvnieuwk
Copy link
Collaborator

nvnieuwk commented May 1, 2024

Yeah you can go ahead! I'll release the fix tomorrow :)

@adamrtalbot
Copy link
Collaborator Author

Anywhere good to write tests before I merge?

@nvnieuwk
Copy link
Collaborator

nvnieuwk commented May 2, 2024

You can add tests here: https://github.com/nextflow-io/nf-schema/blob/master/plugins/nf-schema/src/test/nextflow/validation/ValidateParametersTest.groovy (just some simple test with those paths suffices for now, I will expand this later when implementing the full support)

@adamrtalbot
Copy link
Collaborator Author

See 4262965 for tests. Good to go now once tests have passed.

Copy link
Collaborator

@nvnieuwk nvnieuwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@adamrtalbot adamrtalbot merged commit 685b424 into master May 2, 2024
6 checks passed
@adamrtalbot adamrtalbot deleted the ignore_blob_storage_validation branch May 2, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validation of Azure directory-paths causes issues
2 participants