| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
Roll forward of 149403129 with fixes.
--
PiperOrigin-RevId: 149435060
MOS_MIGRATED_REVID=149435060
|
|
|
|
|
|
|
|
|
|
| |
Manually tested with ./compile.sh and JAVA_VERSION=1.7
Fixes #2644.
--
PiperOrigin-RevId: 149422627
MOS_MIGRATED_REVID=149422627
|
|
|
|
|
|
|
|
|
|
|
| |
For test (a.k.a '[') the closing bracket has to be a separate argument.
Fix this by adding the missing space.
--
Change-Id: Ie1d64bc1fa37f85ee0c7b5520b2ba12a30c9f635
Reviewed-on: https://cr.bazel.build/9290
PiperOrigin-RevId: 149418360
MOS_MIGRATED_REVID=149418360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
broke //src/test/shell/bazel:bazel_bootstrap_distfile_test
*** Original change description ***
Env.vars: server won't ignore the client env
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
--
PiperOrigin-RevId: 149416602
MOS_MIGRATED_REVID=149416602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
--
PiperOrigin-RevId: 149403129
MOS_MIGRATED_REVID=149403129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Powershell v2 (win7 vintage) doesn't have json cmdlets.
Got a report via chocolatey.org message that this doesn't work on win7. Cried. Replaced with simpler text file based approach for separating data from code.
Also fix package version fix notation bit of the automation to produce version numbers valid with chocolatey/nuspec.
I've already published a fixed 0.4.5-rc2 and 0.4.4 with this
* https://chocolatey.org/packages/bazel/0.4.4.20170306
* https://chocolatey.org/packages/bazel/0.4.5-rc2-20170306-124051
Closes #2633.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2633
PiperOrigin-RevId: 149314972
MOS_MIGRATED_REVID=149314972
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149282686
MOS_MIGRATED_REVID=149282686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our distribution archive is supposed to contain all the original
sources, as well as derived architecture-independent files needed
for bootstrapping. So there should only be one distribution archive,
not a separate one for jdk7, especially, as the project is moving
away from java 7 soon. Change our artifact building accordingly.
Closes #2250.
--
Change-Id: If34afb544702bc309f722bdc2891b9dc60fe9899
Reviewed-on: https://cr.bazel.build/9190
PiperOrigin-RevId: 149104302
MOS_MIGRATED_REVID=149104302
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149015634
MOS_MIGRATED_REVID=149015634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke JDK7 tests
*** Original change description ***
Code clean-up
--
PiperOrigin-RevId: 149005807
MOS_MIGRATED_REVID=149005807
|
|
|
|
|
|
| |
Fixes #2591
Change-Id: I7038b71811c54d5ece1c0993052abdffc9d0de96
|
|
|
|
|
|
|
|
|
|
|
|
| |
...instead of assuming bazel-genfiles in `pwd`. In this
way, the script will also work with --symlink-prefix=/
set in the rc file.
--
Change-Id: I848a2e9791b4b8a8c1d6d0cea1f10117717935bd
Reviewed-on: https://cr.bazel.build/9118
PiperOrigin-RevId: 148894206
MOS_MIGRATED_REVID=148894206
|
|
|
|
|
|
|
|
|
|
|
|
| |
To be cherry-picked for #2472.
Fixes #2605.
--
Change-Id: Idfd1bf264ceb696ca766268c8a16891476ee33b1
Reviewed-on: https://cr.bazel.build/9111
PiperOrigin-RevId: 148749784
MOS_MIGRATED_REVID=148749784
|
|
|
|
|
|
| |
https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip
Change-Id: I78b073c8db4a525d19b73650ed8d3a12b10ff86a
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148015085
MOS_MIGRATED_REVID=148015085
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148010735
MOS_MIGRATED_REVID=148010735
|
|
|
|
|
|
|
|
| |
magic artifact.
--
PiperOrigin-RevId: 147830857
MOS_MIGRATED_REVID=147830857
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147825291
MOS_MIGRATED_REVID=147825291
|
|
|
|
|
|
|
|
| |
This will only affect site after adding new job calling this function on CI.
--
PiperOrigin-RevId: 147730290
MOS_MIGRATED_REVID=147730290
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147713590
MOS_MIGRATED_REVID=147713590
|
|
|
|
|
|
|
| |
This reverts commit efe4a6d889d6a6f563a1d492530f13351ce4eef7.
This commit broke several downstream project with a bug in the Java
compiler, see http://ci.bazel.io/job/intellij-clion/78/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console
|
|
|
|
|
|
| |
https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip
Change-Id: I173e50f92f93009270c84ba90916e2696501f4de
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147612226
MOS_MIGRATED_REVID=147612226
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Fix CI build
*** Original change description ***
Automated [] rollback of commit 01aa7d6f177f3284b5fecc0397bf29a605b37df0.
*** Reason for rollback ***
Breaks the CI: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1270/console
*** Original change description ***
Adds support for pushing sites that don't need build, and build benchmark site.
This should not affect CI for now.
--
PiperOrigin-RevId: 147572787
MOS_MIGRATED_REVID=147572787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Follow-up for CI breakage.
*** Original change description ***
Fix bazel build on CI.
--
PiperOrigin-RevId: 147475894
MOS_MIGRATED_REVID=147475894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks the CI: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1270/console
*** Original change description ***
Adds support for pushing sites that don't need build, and build benchmark site.
This should not affect CI for now.
--
PiperOrigin-RevId: 147474775
MOS_MIGRATED_REVID=147474775
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147470288
MOS_MIGRATED_REVID=147470288
|
|
|
|
|
|
|
|
| |
This should not affect CI for now.
--
PiperOrigin-RevId: 147346229
MOS_MIGRATED_REVID=147346229
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix 3 bugs to get bootstrapping working on Windows
after it was broken in bazel-0.4.4:
* Move the definition of PATHSEP to before the
code that overrides it for Windows
* Fix the Java code processing the --javahome flag
to recognize absolute Windows paths as absolute.
See: https://github.com/bazelbuild/bazel/issues/2520
* Do not propagate the JAVA_HOME value in
variables, because it contains spaces on Windows,
and when we pass the variable to Bazel, and it's
expanded to e.g. ... --foo=C:/Program Files,
these are interpreted as two args instead of one.
Also fix a bug that is just annoying, not causing
any trouble (on Windows):
* Silently swallow errors from the "rm -rf" in the
atexit functions
Also do some refactoring:
* Rename a variable (BAZEL_ARGS) and a method to
indicate they're private. They are not used from
anywhere else as far as I know -- no occurrences
in either the bazel or the continuous-integration
repos.
Fixes: https://github.com/bazelbuild/bazel/issues/2473
--
Change-Id: I309752cd7bbff0b5dd683ddb5573f3061350043c
Reviewed-on: https://cr.bazel.build/8797
PiperOrigin-RevId: 147345194
MOS_MIGRATED_REVID=147345194
|
|
|
|
|
|
|
|
|
|
|
| |
These changes addresses issues where Windows users have a space in their username. Allows the default output_base path to be used.
Closes #2491.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2491
PiperOrigin-RevId: 146773331
MOS_MIGRATED_REVID=146773331
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Adds pkg_rpm rule for generating RPM packages.
--
Change-Id: I2e83161e29218700bbe7e62186b0b1667e555a7c
Reviewed-on: https://cr.bazel.build/8590
PiperOrigin-RevId: 146477490
MOS_MIGRATED_REVID=146477490
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the code to generate the bash completions file by moving the
logic to a separate script and keeping the genrule as a dumb invocation
of this script. This allows us to more easily customize the rules
for Blaze.
--
PiperOrigin-RevId: 146362379
MOS_MIGRATED_REVID=146362379
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 146347158
MOS_MIGRATED_REVID=146347158
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the code to generate the bash completions file by moving the
logic to a separate script and keeping the genrule as a dumb invocation
of this script. This allows us to more easily customize the rules
for Blaze.
--
PiperOrigin-RevId: 146265210
MOS_MIGRATED_REVID=146265210
|
|
|
|
|
|
|
|
| |
--
Change-Id: I8c6d5cdbe9e2fc19ca6a626bea26944efa36e4db
Reviewed-on: https://cr.bazel.build/8550
PiperOrigin-RevId: 146120078
MOS_MIGRATED_REVID=146120078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this change:
(1) add a sanity check to verify that GNU bintools
are on the PATH
(2) correct the PATH on Windows if (1) failed
(3) use "<user>/My Documents/Temp" as the default
temp directory instead of "%windir%/Temp", because
the latter is non-writable
Motivated by:
https://github.com/bazelbuild/bazel/issues/2431
https://github.com/bazelbuild/bazel/issues/2449
--
PiperOrigin-RevId: 146006796
MOS_MIGRATED_REVID=146006796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As more package options are added, it's confusing that the
debian package is generated in scripts/package/BUILD, but
scripts/package/debian/ contains the related files (and isn't
itself a Bazel package). This change makes the file locations
more predictable, and also makes it easier to see what
is happening in scripts/packages.
--
Change-Id: Id8c445fc164a1a4aa09c52559a5143578cfdea88
Reviewed-on: https://cr.bazel.build/8510
PiperOrigin-RevId: 146003934
MOS_MIGRATED_REVID=146003934
|
|
|
|
|
|
|
|
|
|
| |
not exported
This also make sure we list cherry-picks with long hash.
--
PiperOrigin-RevId: 145724726
MOS_MIGRATED_REVID=145724726
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we were using short hash for rendering to the user but
our repository as grown and on some configuration of git the short
hash size has increased. To be future-proof, just remove all usage
of short hash and use full hash instead.
Fixes #2429.
--
PiperOrigin-RevId: 145667804
MOS_MIGRATED_REVID=145667804
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Roll-forward with fix
*** Original change description ***
Automated [] rollback of commit ffc0d2df0213123a4451bed5850827319afcdeee.
*** Reason for rollback ***
Grr I knew I shouldn't have done 2 changes in one tests are failing now
Fixes #2429.
*** Original change description ***
Release scripts: factor out the push to notes and fix a typo
--
PiperOrigin-RevId: 145662713
MOS_MIGRATED_REVID=145662713
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Grr I knew I shouldn't have done 2 changes in one tests are failing now
Fixes #2429.
*** Original change description ***
Release scripts: factor out the push to notes and fix a typo
--
PiperOrigin-RevId: 145657489
MOS_MIGRATED_REVID=145657489
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145559628
MOS_MIGRATED_REVID=145559628
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary since it's now passed in --javabase= even if no bootstrap build is requested.
Fixes #2384.
--
Change-Id: Icc15d9ec174ce9ed82b703c13449d88ec1d936a1
Reviewed-on: https://cr.bazel.build/8408
PiperOrigin-RevId: 145268264
MOS_MIGRATED_REVID=145268264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out, we couldn't run jarjar because the Java launcher script looks for the .jars in the runfiles and build-runfiles is stubbed out during bootstrapping.
The only reason why this worked at all is that sandboxing *also* doesn't work during bootstrapping but it causes the creation of symlinks that happened to be just in the right place for the Java launcher to find the .jars .
The fix is:
- Explicitly disable sandboxing during bootstrapping so that coincidences like this don't happen again
- Pass a --javabase and --host_javabase option during the bootstrap build so that we don't need any symlinks to access to JVM
- Invoke jarjar using its deploy jar instead of the launcher script.
That was fun.
--
PiperOrigin-RevId: 145083357
MOS_MIGRATED_REVID=145083357
|
|
|
|
|
|
|
|
| |
Bootstrap is broken at HEAD but that was hidden by another change.
--
PiperOrigin-RevId: 145075041
MOS_MIGRATED_REVID=145075041
|
|
|
|
|
|
|
|
|
|
|
|
| |
The targets //site:jekyll-tree and //scripts/packages currently fail
due to the python rules. They will be reenabled, once those are fixed
in a released version.
--
Change-Id: I54a8bcad87b153e2eb4e86f8e4d76d1d92f00bf9
Reviewed-on: https://cr.bazel.build/8397
PiperOrigin-RevId: 145066780
MOS_MIGRATED_REVID=145066780
|
|
|
|
|
|
|
|
| |
Hard-coding the version is causing difficulties to update error prone, so let's not do it.
--
PiperOrigin-RevId: 145061484
MOS_MIGRATED_REVID=145061484
|
|
|
|
|
|
|
|
| |
--
Change-Id: Ief0dd31d7b514caaf5ea0108b7c497d42e86da70
Reviewed-on: https://cr.bazel.build/8395
PiperOrigin-RevId: 144966247
MOS_MIGRATED_REVID=144966247
|
|
|
|
|
|
|
|
| |
--
Change-Id: Ia527ef1616546044e61a103749ff22191b24cb11
Reviewed-on: https://cr.bazel.build/8394
PiperOrigin-RevId: 144963679
MOS_MIGRATED_REVID=144963679
|
|
|
|
|
|
|
|
|
|
| |
...as they will also be run on platforms with different paths.
--
Change-Id: Iaa14e35c4cec3ed927a18b580d4207b0244a6620
Reviewed-on: https://cr.bazel.build/8392
PiperOrigin-RevId: 144960305
MOS_MIGRATED_REVID=144960305
|