| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fixes #341
--
MOS_MIGRATED_REVID=99458831
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99383290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Those scripts are made to handle the soon to be Bazel
release process. It is still missing the CI part that
deploys built artifacts and sends announcement mails.
It uses the RELNOTES: tag (RELNOTES for a simple change,
RELNOTES[NEW] for a new feature, RELNOTES[INC] for an
incompatible change) to create the CHANGELOG.md file.
The main entry point is scripts/release/release.sh
and should be the only script called directly.
--
Change-Id: I6e066fda4d862ce793cc03dc8bdf0b8cb34f7c2c
Reviewed-on: https://bazel-review.googlesource.com/#/c/1580/
MOS_MIGRATED_REVID=99282250
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This packager can be called by the release scripts to generate
a self-extractable bash installer for Bazel. This script was
tested by hand as extra arguments can be specified to change
the default install of Bazel (default is system-wide and
with the argument you can make a user install).
This will be the only packager for now since GitHub is offering
the possibility to download the source tree as a ZIP. Hopefully,
before the end of the year we could build some more package kind.
--
Change-Id: I1a2d0cd39b9e4adcaf6c984ec4c855a04213b61a
Reviewed-on: https://bazel-review.googlesource.com/1581
MOS_MIGRATED_REVID=99258828
|
|
|
|
|
|
|
|
|
| |
Also removed tools/jdk/jdk check (as it's not created anymore) added dash to the excluded dirs.
Fixes #295.
--
MOS_MIGRATED_REVID=99175421
|
|
|
|
|
|
|
|
|
|
|
| |
For some strange reason fmt do not try to fill the line by default
under GNU/Linux. This is using a wrapper around fmt to fix
//scripts/release:relnotes_test on Linux.
Fixes #331.
--
MOS_MIGRATED_REVID=99165254
|
|
|
|
|
|
|
|
|
|
| |
Progress messages here mostly consist of package loading messages that aren't
very interesting in this context.
--
Change-Id: Ifee2ce5979ea47eb06cff199670fc5ed2218c139
Reviewed-on: https://bazel-review.googlesource.com/#/c/1730/
MOS_MIGRATED_REVID=99163320
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script uses the RELNOTES: tag (RELNOTES for a
simple change, RELNOTES[NEW] for a new feature,
RELNOTES[INC] for an incompatible change) to create
the CHANGELOG.md file.
--
Change-Id: If457a0a85f4a9ceddf822393d0aeb8b60c54136b
Reviewed-on: https://bazel-review.googlesource.com/#/c/1583/
MOS_MIGRATED_REVID=99020942
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99015580
|
|
|
|
|
|
|
|
|
| |
Ordering of message were confusing if the zip step was failing.
Fixes #319
--
MOS_MIGRATED_REVID=98932569
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=98815600
|
|
|
|
|
|
|
| |
src/tools/android/java/com/google/devtools/build/android:android_builder_lib to depend on src/main/java:options.
--
MOS_MIGRATED_REVID=98772591
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is just based on what I had to do to get IntelliJ working with
Bazel at head, but I think it makes things simpler as well.
Main changes:
* External jars are supported (I think);
* Protobufs are imported en masse via a "directory" module library;
* We now include all Android files unless it looks like we won't be
able to compile them.
--
Change-Id: Ib2ce59f6636f0d262b05f89d57837d7018a0fbfc
Reviewed-on: https://bazel-review.googlesource.com/1611
MOS_MIGRATED_REVID=98118522
|
|
|
|
|
|
|
| |
Adds a jar output to Java and Android rules which contains the class files for source files generated from Java annotation processors. For a java_binary foo, the jar will be foo-gen.jar, and for a java_library foo the jar will be libfoo-gen.jar, and similarly for Android. Also adds a binary serialized proto manifest file output to Java and Android rules which describes the contents of the output class jar of those rules, which is used to create the -gen.jar. See src/main/protobuf/java_compilation.proto.
--
MOS_MIGRATED_REVID=97793715
|
|
|
|
|
|
|
| |
As a drive-by fix, add correct deps to //src/test/java:skylarkshell . Why don't we build that in our tests?
--
MOS_MIGRATED_REVID=97404777
|
|
|
|
|
|
|
| |
Fixes #272
--
MOS_MIGRATED_REVID=97402007
|
|
|
|
|
|
|
| |
This fixes #267 to some degree. An update to the tools/ directory will still be required.
--
MOS_MIGRATED_REVID=97228079
|
|
|
|
|
|
|
|
|
|
| |
Also give advice for some changes to make to the script depending on the
environment and events triggering the script.
--
Change-Id: Ic230d96c29785c8df392b72fc4809eb7703fafff
Reviewed-on: https://bazel-review.googlesource.com/#/c/1570/
MOS_MIGRATED_REVID=97118314
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script looks at the files changed in git against origin/master and
queries for all build and test targets associated with those files.
Running this script on a CI server should allow you to only test the
things that have changed since the last time your merged.
--
Change-Id: I30d33e21eff370b795e1055c7150906f2a6782cd
Reviewed-on: https://bazel-review.googlesource.com/#/c/1470
MOS_MIGRATED_REVID=96849243
|
|
|
|
|
|
|
| |
Also made it print the output for the problem command to make debugging easier.
--
MOS_MIGRATED_REVID=96783685
|
|
|
|
|
|
|
| |
And get rid of usage of "blazerc" flags in our scripts.
--
MOS_MIGRATED_REVID=96776423
|
|
|
|
|
|
|
| |
Also fix the OS X travis build file.
--
MOS_MIGRATED_REVID=96683399
|
|
|
|
|
|
|
|
|
| |
Now that we are using the error-prone javac, there is no need
to impose Java 8. However, because some of our tests are targetting
Java 8, developer should still use a JDK 8 to tests.
--
MOS_MIGRATED_REVID=96400914
|
|
|
|
|
|
|
|
|
| |
When doing the deterministic test on Bazel, some output files
of previous compilation where still there and the result of
the compilation wouldn't be perfect.
--
MOS_MIGRATED_REVID=96396183
|
|
|
|
|
|
|
|
|
|
| |
This will allow system-wide configuration for system-wide
installation of Bazel.
--
Change-Id: I71b7232e648f2690766c3b9184f863dc888524c0
Reviewed-on: https://bazel-review.googlesource.com/#/c/1540/
MOS_MIGRATED_REVID=95994630
|
|
|
|
|
|
|
|
|
|
|
| |
resource, then passing it to the parser as a string instead of putting it into embedded_binaries then passing a Path to it to the parser.
This makes the upcoming default WORKSPACE rules for Android much more palatable. In particular, Android rules won't need to be special cased when building the Bazel binary because the contents are self-contained in BazelRuleClassProvider (and the jdk.WORKSPACE file, which is a simple Java resource)
Even better would be not to use a string, but some kind of structured data, but that's probably more effort than it's worth.
--
MOS_MIGRATED_REVID=95983199
|
|
|
|
|
|
|
|
|
| |
running system.
Tested on OS X 10.10, Debian 8.1 (x86_64) and Debian 8.1 (i686).
--
MOS_MIGRATED_REVID=95819163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now [new_]http_archive can be used for executables as well as "default
permission" (644) files.
This also gets rid of the Apache Commons Compress dependency entirely, which is
nice. Fixing this also exposed some bugs in how archives were being decompressed
(the same archive was being decompressed multiple times), which I also fixed by
making the decompressors SkyFunctions.
Fixes #238.
--
MOS_MIGRATED_REVID=95747810
|
|
|
|
|
|
|
|
|
|
| |
Skylark rules now depends completely on the external repository
to access the JDK tooling.
--
Change-Id: I48d461524d63d556bcd4af49f6ba2aecf1ed7068
Reviewed-on: https://bazel-review.googlesource.com/#/c/1500/
MOS_MIGRATED_REVID=95720688
|
|
|
|
|
|
|
|
|
|
|
| |
This avoid having garbage warning when compiling Java code because
we use the internal API of Javac.
Also add a run_silent around the protobuf compilation.
Fixes #239
--
MOS_MIGRATED_REVID=95707763
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95649084
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95639138
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the blessed Bazel binary is self-hosted and correctly labeled.
All tools are also built using Bazel and labeled with the release.
At the end of the compilation, the output folder only host the
Bazel binary now. We use temporary folders to store the intermediate
artifacts.
Also integrated ./bootstrap_test.sh in compile.sh so there is only
one script for everything regarding bootstraping Bazel.
--
Change-Id: Idadbd075e7b8ecb6e306b919b7a73c647c5cfbae
Reviewed-on: https://bazel-review.googlesource.com/#/c/1460/
MOS_MIGRATED_REVID=95625880
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94466453
|
|
|
|
|
|
|
|
| |
This is not really a problem anymore because of latest change but
it is error prone to leave it that way.
--
MOS_MIGRATED_REVID=91782569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this change, other people might just copy the setup-eclipse.sh
and get_project_path.sh scripts and adapt it to their workspace
(change the variables at the top of the setup-eclipse.sh script) to
generate an eclipse project.
I tested it by replacing guava dependency in Bazel by a maven_jar and
importing the project in Eclipse on OS X.
It is incomplete because it actually filters out bind dependencies for
generated java source but there might be some java generation in them
if importing an other actual workspace. Let say that you have your
project and you want to import targets from the Bazel workspace, the
java library from generated sources won't be imported in the Eclipse
classpath and the sources will be imported as source in the Eclipse
classpath.
--
MOS_MIGRATED_REVID=91696217
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the paths are 100% determined using Bazel query. To adapt to
another project, change the variables at the top of the
setup-eclipse.sh file. It also handles correctly java_plugins now.
Because we must do queries on the full workspace, it is not easy to
embed in a bazel build. I made a prototype for it but it is really
impractical.
--
MOS_MIGRATED_REVID=91580472
|
|
|
|
|
|
|
| |
It was omitted in commit ee85e55ca03e945f7babb9a1c619a6a7bbfc1d51.
--
MOS_MIGRATED_REVID=91529961
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91492842
|
|
|
|
|
|
|
|
|
| |
This was failing under Linux because the PATH is unset.
Fixes #113
--
MOS_MIGRATED_REVID=91021549
|
|
|
|
|
|
|
|
|
| |
This script enable shell completion for Bazel inside the Bourne-again shell.
Fixes #38
--
MOS_MIGRATED_REVID=90745457
|
|
|
|
|
|
|
|
| |
Ignoring objc_tools and adding exception to allow usage of any part of the JDK.
The objc_tools will be unignored on OSX when the BUILD files are created for them.
--
MOS_MIGRATED_REVID=89391467
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=89291020
|
|
Now a developer can work on the Java sources by generating an Eclipse
project with scripts/eclipse/setup.sh. The xcode tooling are also
imported compared to the previously checked-in project resulting in
a bunch of errors.
--
MOS_MIGRATED_REVID=88548129
|