Skip to content

Add zipfile tag to tag store#152

Merged
hackvertor merged 2 commits intohackvertor:masterfrom
floyd-fuh:master
Nov 27, 2025
Merged

Add zipfile tag to tag store#152
hackvertor merged 2 commits intohackvertor:masterfrom
floyd-fuh:master

Conversation

@floyd-fuh
Copy link
Contributor

Added the zipfile tag.

Unfortunately I had to name the file in the zipfile folder zipfile_.py because zipfile is already occupied by the Python built-in standard library zipfile that we are using here.

Very useful, as it allows creating a zip file when testing file uploads that accept zip files.

It even transparently works with Upload Scanner, you can tell Upload Scanner that the tag's argument is the originally uploaded file name and that the file content is the input of the hackvertor tag. This will then do all of Upload Scanner's tests, but pack the files into a zip file before uploading.

@floyd-fuh
Copy link
Contributor Author

As said a check for "same filename" was failing. I worked around it by changing the system search path for libraries. I have to go for a shower because I feel dirty now, but it works.

@hackvertor hackvertor merged commit cd2dcb5 into hackvertor:master Nov 27, 2025
1 check passed
@hackvertor
Copy link
Owner

Wow looks great! It should be on the Tag Store right now

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.

2 participants