Skip to content

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented Nov 2, 2016

Nightly snapshots will now be named:

openmpi-${BRANCHNAME}-${YYYYMMDDHHMM}-${SHORTHASH}.tar.${COMPRESSION}.

Fixes #2337

Signed-off-by: Jeff Squyres jsquyres@cisco.com

(cherry picked from commit 78d1e4e)

@jsquyres jsquyres added this to the v2.1.0 milestone Nov 2, 2016
@jsquyres jsquyres changed the title create_tarball.sh: update snapshot filename v2.x: create_tarball.sh: update snapshot filename Nov 2, 2016
@jsquyres
Copy link
Member Author

jsquyres commented Nov 2, 2016

@rhc54 and/or @hppritcha: can you review all 3 "rename nightly snapshot" PRs so that we can merge them for tonight's builds? #2345 #2346 #2347

# Nightly tarballs are named in this format:
# openmpi-${BRANCHNAME}-${YYYYMMDDHHMM}-${SHORTHASH}.tar.${COMPRESSION}
timestamp=`date '+%Y%m%d%H%M'`
githash=`git show '--pretty=format:%h'`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got curious and wanted to see what git command would show. For me it ends up being a long string starting with the shortened hash.

Copy link
Member

@hppritcha hppritcha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new name format. I'm puzzled about how githash is set though.

@jsquyres
Copy link
Member Author

jsquyres commented Nov 2, 2016

Looks like this would be better:

git log '--pretty=format:%h' -n 1

I'll update.

Nightly snapshots will now be named:

openmpi-${BRANCHNAME}-${YYYYMMDDHHMM}-${SHORTHASH}.tar.${COMPRESSION}.

Fixes open-mpi#2337

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>

(cherry picked from commit 78d1e4e)
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit a47ad86)
@jsquyres jsquyres force-pushed the pr/v2.x/rename-nightly-snapshot-tarballs branch from 6b25075 to 52a3ce9 Compare November 2, 2016 15:58
@jsquyres jsquyres merged commit 77599be into open-mpi:v2.x Nov 2, 2016
@jsquyres jsquyres deleted the pr/v2.x/rename-nightly-snapshot-tarballs branch November 2, 2016 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants