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

Provenance tools #5

Merged
merged 2 commits into from
Jul 18, 2017
Merged

Provenance tools #5

merged 2 commits into from
Jul 18, 2017

Conversation

doutriaux1
Copy link
Contributor

@durack1
Copy link
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
Copy link
Contributor Author

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

@zshaheen
Copy link

@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
Copy link
Contributor Author

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

@doutriaux1
Copy link
Contributor Author

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

@zshaheen
Copy link

@doutriaux1 Cool, sounds good.

@durack1
Copy link
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
@doutriaux1 doutriaux1 deleted the provenance_tools branch July 18, 2017 20:53
@doutriaux1 doutriaux1 added this to the 2.12 milestone Sep 6, 2017
dnadeau4 pushed a commit that referenced this pull request Feb 13, 2019
@jasonb5 jasonb5 modified the milestones: 2.12, 8.2.1 Jul 27, 2020
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