Skip to content

Commit

Permalink
Do not store build user name
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Feb 28, 2019
1 parent 32201ba commit 46fe477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ if not developer:
developer = os.environ.get(variable)
if developer:
break
if os.environ.get('SOURCE_DATE_EPOCH'):
developer = '_reproducible'

build_system = ARGUMENTS.get('BUILD_SYSTEM')
if not build_system:
Expand Down Expand Up @@ -181,7 +183,9 @@ command_line_variables = [

("DEVELOPER=", "The developer who created the packages. " +
"The default is the first set environment " +
"variable from the list $USERNAME, $LOGNAME, $USER."),
"variable from the list $USERNAME, $LOGNAME, $USER." +
"If the SOURCE_DATE_EPOCH env var is set, " +
"'_reproducible' is the default."),

("REVISION=", "The revision number of the source being built. " +
"The default is the git hash returned " +
Expand Down
2 changes: 1 addition & 1 deletion src/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
- Fix syntax on is/is not cluases: should not use with a literal

From Bernhard M. Wiedemann:
- Do not store build host name if reproducible builds are wanted
- Do not store build host+user name if reproducible builds are wanted


RELEASE 3.0.4 - Mon, 20 Jan 2019 22:49:27 +0000
Expand Down

0 comments on commit 46fe477

Please sign in to comment.