bpo-27593: Revise git SCM build info. (#744) (#746)#1392
Merged
vstinner merged 1 commit intopython:2.7from May 2, 2017
vstinner:pcbuild_27
Merged
bpo-27593: Revise git SCM build info. (#744) (#746)#1392vstinner merged 1 commit intopython:2.7from vstinner:pcbuild_27
vstinner merged 1 commit intopython:2.7from
vstinner:pcbuild_27
Conversation
Use --short form of git hash. Use output from "git describe" for tag. Expected outputs: 1. previous hg 2. previous git 3. updated git Release (tagged) build: 1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ... 2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ... Development build: 1. Python 3.7.0a0 (default:41df79263a11, ... 2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ... "dirty" means the working tree has uncommitted changes. See "git help describe" for more info. (cherry picked from commit 554626a) (cherry picked from commit ed512cb)
zooba
approved these changes
May 2, 2017
Member
zooba
left a comment
There was a problem hiding this comment.
I would be okay with simplifying the "-dirty" suffix to a single obvious character, but not a huge deal.
Member
|
@zooba something like |
Member
Author
|
@zooba: "I would be okay with simplifying the "-dirty" suffix to a single obvious character, but not a huge deal." If we change something, I would also suggest to replace "heads/master" with "master". I also like replacing "master-dirty" with "master*". But this change is just a backport to make 2.7 consistent with other branches. I would suggest to first modify the master branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
Release (tagged) build:
Development build:
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626a)
(cherry picked from commit ed512cb)