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

Avoid making long result file names by replacing env name by hash if long #675

Merged
merged 3 commits into from
Jul 24, 2018

Conversation

pv
Copy link
Collaborator

@pv pv commented Jul 13, 2018

The result file name lengths should be limited to some reasonable size,
as there can in principle be arbitrary many dependencies. Replace the
environment name by its hash if it's longer than 128 characters.

The rest of asv code does not assume result files are named in a particular
way, just that the mapping is deterministic and unique (which even MD5 hashes
satisfy for non-attack inputs).

Fixes gh-621

@pv pv force-pushed the result-long-filename branch 2 times, most recently from f22dd1b to 947782d Compare July 23, 2018 20:40
pv added 3 commits July 23, 2018 22:41
…long

The result file name lengths should be limited to some reasonable size,
as there can in principle be arbitrary many dependencies.  Replace the
environment name by its hash if it's longer than 128 characters.
@pv pv merged commit f0c9ccb into airspeed-velocity:master Jul 24, 2018
@pv pv deleted the result-long-filename branch August 19, 2018 20:07
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.

None yet

1 participant