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

use hash of config yaml as job suffix rather than random digits #29

Open
Swarchal opened this issue Jun 1, 2018 · 1 comment
Open

Comments

@Swarchal
Copy link
Member

Swarchal commented Jun 1, 2018

therefore if the config hasn't changed, the job name should stay the same if cptools2 is run on the file again.

@Swarchal
Copy link
Member Author

Swarchal commented Jun 1, 2018

e.g:

import hashlib
hashlib.sha256("config as a string here".encode("utf-8")).hexdigest()[:10]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant