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

Prevent upload of non-package files #43

Merged

Conversation

AndreasAlbertQC
Copy link
Collaborator

We have had a few cases where users inadvertently try to upload random files to the quetz server (e.g. because they accidentally loop over more files than intended). This PR adds a super basic check to at least ensure that the files have the right suffix (.conda or .tar.bz2).

@janjagusch janjagusch changed the title Add check to prevent upload of non-package files Prevent upload of non-package files Oct 6, 2023
@janjagusch janjagusch added the enhancement New feature or request label Oct 6, 2023
@janjagusch janjagusch merged commit 3d4560f into mamba-org:main Oct 6, 2023
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants