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

Provenance tools #5

Merged
merged 2 commits into from Jul 18, 2017

Conversation

Projects
None yet
3 participants
@doutriaux1
Member

doutriaux1 commented Jun 29, 2017

@durack1

This comment has been minimized.

Member

durack1 commented Jun 29, 2017

@doutriaux1 is there a single identifier for the "whole" thing? The component pieces are great, but for a single provenance string it's a bit overkill

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Jun 29, 2017

hum... Please a template/list of things of the string you'd like I'll come up with a function to generate something.

@zshaheen

This comment has been minimized.

Member

zshaheen commented Jun 29, 2017

@doutriaux1 Looks good to me.

When you install a package from source and run conda list, it only gives the version that's in setup.py, which often isn't that descriptive. In contrast, installing via Anaconda gives the exact version, so a person can get the exact package. I don't think there's a way to get the git hash from the installation (running a subprocess with git rev-parse HEAD needs to be in the source dir). Not really important I guess.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Jun 29, 2017

@zshaheen our nightlies do contain the git hash in the version number so we're good like that.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Jun 29, 2017

@zshaheen for installation from source, I'm planning to edit the setup.py of our packages to reflect the git hash as well.

@zshaheen

This comment has been minimized.

Member

zshaheen commented Jun 29, 2017

@doutriaux1 Cool, sounds good.

@durack1

This comment has been minimized.

Member

durack1 commented Jun 29, 2017

@doutriaux1 @zshaheen ideally, I'd like a single string that I can embed into the global attributes of generated files, so succinct is the key. A previous version of this string was: :host = "ocean.llnl.gov; UVCDAT version: 2.4.0rc1-8-gd23939e; Python version: 2.7.10 (default, Sep 30 2015, 10:29:36); [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]"

This worked with the earlier cdat_version() reporting, but as things have now changed (and conda is being used routinely) this needs to be reconfigured.

@doutriaux1 doutriaux1 merged commit dcd336d into master Jul 18, 2017

1 check passed

continuous-integration/travis-ci/push The Travis CI build passed
Details

@doutriaux1 doutriaux1 deleted the provenance_tools branch Jul 18, 2017

@doutriaux1 doutriaux1 added this to the 2.12 milestone Sep 6, 2017

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