Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen a141897d2f bug 1491801: geckodriver: use short sha1 for git build info; r=whimboo
We use a short SHA1 for hg, and we should use the same for git.

Because git-cinnabar does not support --short, we have to truncate
the SHA ourselves.
2018-09-21 13:29:46 +01:00
Andreas Tolfsen 20af80cf4e bug 1491799: geckodriver: refactor build script; r=whimboo
Provides almost the same functionality, but without convoluted
functional style.  This will allow us to provide VCS specific
instructions in the future.
2018-09-19 20:59:37 +01:00
Andreas Tolfsen 904b5cf377 Bug 1491408 - bypass local vcs config when invoking build script. r=whimboo a=Aryx
This sets HGPLAIN and GIT_CONFIG_NOSYSTEM to bypass local user
version control system configuration when the build script is invoked.

If not set, the version control system's output could be influenced
by configuration settings.  It was for example discovered that if
you have "hg log" default to --follow, this slows down the Gecko
build significantly since it prints the node for every single commit.

According to hg(1) it is highly recommended for programs invoking
hg to set this.
2018-09-17 17:37:35 +03:00
Jeremy Lempereur d85fda177c Bug 1406006 - Get well formatted commit hash and commit date when building geckodriver. r=ato
MozReview-Commit-ID: 7h6RuMseOYA

--HG--
extra : rebase_source : 8d1b97ef2601b0cc4917990773fde83c2758bbc1
2018-06-17 09:38:23 +02:00
Andreas Tolfsen 4a968ad679 Bug 1375207 - Display hash from whence geckodriver came in --version; r=jgraham
Because we no longer can tag geckodriver releases in mozilla-central,
we need to include build information in the program itself.  In the
version information message displayed when passing the --version flag,
we now include the current tip's SHA1 and build date following the
version number.

This patch could be made simpler by dumping this information correctly
formatted into a text file in the output directory, but it was requested
in https://bugzilla.mozilla.org/show_bug.cgi?id=1374977 to also include
the version information in the log output, which means we need to access
it differently and in different places.

MozReview-Commit-ID: CbFQn7IV8ew

--HG--
extra : rebase_source : dcc38ba7b5f209e9878755d5d75b611e22b5253d
2017-06-22 16:28:18 +01:00