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

Add script to generate transfers #13

Merged
merged 2 commits into from
Dec 12, 2017

Conversation

jrwdunham
Copy link
Contributor

Adds createtransfers.py Python executable which can be used to create test
transfers. Calling ./createtransfers.py create-variously-encoded-files
will create transfers containing files whose names are non-UTF-8-encoded
byte strings. This is preferable to having such files already existing
in the repository itself because these strange encodings can break git
depending on the platform of the user.

Fixes #12

Adds createtransfers.py Python executable which can be used to create
test transfers. Calling `./createtransfers.py create-variously-encoded-files`
will create transfers containing files whose names are non-UTF-8-encoded
byte strings. This is preferable to having such files already existing
in the repository itself because these strange encodings can break git
depending on the platform of the user.

Fixes #12
@qubot qubot force-pushed the dev/issue-programmatically-create-encoding-transfers branch from 3999817 to cd6975a Compare December 12, 2017 00:23
@qubot qubot merged commit cd6975a into master Dec 12, 2017
@qubot qubot deleted the dev/issue-programmatically-create-encoding-transfers branch December 12, 2017 00:24
@ross-spencer
Copy link
Contributor

ross-spencer commented Dec 12, 2017

I wonder if there is scope to pull the script out of here and make it a submodule. Making the script live on it's own as a generate-files piece of code that could be expanded on to generate data of other types. It's something I've done in the past for, myself, Tessella and then Rosetta testing, and indeed, for generating our AV files, https://github.com/ross-spencer/badfood would love to talk more, as i think it could be a tool useful again in a broader part of the community.

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.

4 participants