| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
time ago where glob(['**'], exclude_directories = 0) doesn't match the package's directory. Also add tests for this behavior.
Also update Skyframe globbing to have these semantics. Any discrepancy has always been problematic, but now that we have Skyframe-hybrid globbing it's a lot more dangerous and consequential.
Alternatives considered: do this the other way around (keep the stale documentation as-is and instead update legacy globbing). This would potentially require changing existing usages from stuff like 'data = glob(["**"], exclude_directories = 0)' to 'data = [x for x in glob(["**"], exclude_directories = 0) where x != '']'. I think this is too messy, so long as there is a valid use-case for globs matching directories in the first place.
--
MOS_MIGRATED_REVID=115511504
|
|
|
|
|
|
|
| |
no[test_]keep_going.
--
MOS_MIGRATED_REVID=115506435
|
|
|
|
|
|
|
|
|
| |
Also implement handling of exports in Skylark aspects and enable
remaining tests (except PackageManifest and deprecated non-hermetic
stuff).
--
MOS_MIGRATED_REVID=115496333
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The --help option is currently broken when allow residue is false as the --help option cannot be parsed and results in exit(2) after emitting the unhelpful message:
Error parsing command line: Unrecognized option: --help
Try --help.
In this case, --help is never reached, and so cannot be used.
Solution:
In the proposed code, if any argument is --help, the --help message will be preferred over emitting parsing errors. The process will now exit(0) prior to parsing any other arguments if --help is passed.
--
MOS_MIGRATED_REVID=115495600
|
|
|
|
|
|
|
|
| |
Also expose functionality to calculate resource source directory from
Android resource artifact.
--
MOS_MIGRATED_REVID=115492705
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115492703
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL implements a new `${link rule.attribute}` syntax which can be used to
reference the documentation of rules and attributes of other rule families. For
example, `${link cc_library.deps}` will generate a link to the documentation for
the `deps` attribute of the `cc_library` rule. Similarly, this syntax can also
be used to reference sections of static documentation, for example
`${link common-definitions.label-expansion}`.
--
MOS_MIGRATED_REVID=115492361
|
|
|
|
|
|
|
|
|
|
|
| |
Support all 301 and 302 redirect handling in bazel. Only support
absolute Location redirects (this is the spec, we can revisit if we
find a lot of servers are doing it wrong).
Fixes #959.
--
MOS_MIGRATED_REVID=115490327
|
|
|
|
|
|
|
|
| |
Once this is released we can phase out --javac_bootclasspath and
--javac_extdir.
--
MOS_MIGRATED_REVID=115478455
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces the AndroidDataSet, a holder for DataResources, that will be the building blocks of the revised merging system.
Also introduces a DataResource implementations:
* FileDataResource, which represent non-value resources. These do not need to derive the resource symbols they provide.
This will replace the current ResourceSet, ResourceMerger, and ResourceMergerWriter with more efficient (e.g. fewer copied files) operations.
--
MOS_MIGRATED_REVID=115455426
|
|
|
|
|
|
|
|
|
| |
explicitly create it.
Turns out, mktemp doesn't like being passed a non-existent directory.
--
MOS_MIGRATED_REVID=115454169
|
|
|
|
|
|
|
| |
--
Change-Id: I68f9f8c897c65b6d51bd21262e25ad6a93ee794f
Reviewed-on: https://bazel-review.googlesource.com/#/c/3011
MOS_MIGRATED_REVID=115454025
|
|
|
|
|
|
|
|
|
|
|
|
| |
resources.
In Java code, it is a shared logic in
LocalResourceContainer.definesAndroidResources (that method has a fair
number of usages). This CL exposes that information on
AndroidIdeInfoProvider and futher on AndroidSkylarkInforProvider.
--
MOS_MIGRATED_REVID=115453472
|
|
|
|
|
|
|
|
|
|
|
| |
To allow debugging and faster development of the new experimental
UI, add an additional option telling the experimental UI to log
each event available to the handler.
--
Change-Id: Ib14c42d2afa5f52f6c444592274c8eaeeda15a81
Reviewed-on: https://bazel-review.googlesource.com/#/c/3010/2
MOS_MIGRATED_REVID=115453031
|
|
|
|
|
|
|
|
|
| |
Chocolatey installs msys2.
This is only a temporary hack to get our continuous build up and running, because we can't assume that everyone will install their C++ compiler there. But then again, msys2 is not a very useful target for Windows, so maybe we should fix that first.
--
MOS_MIGRATED_REVID=115449817
|
|
|
|
|
|
|
|
|
| |
Windows.
Also make windows.md a bit nicer in general.
--
MOS_MIGRATED_REVID=115449272
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Any -target and -source options specified in javacopts are currently ignored
as they are overwritten with the hard-coded default -target 7 -source 7.
This seems more reasonable to me - there are valid use cases for doing so,
and if someone wants to shoot themselves in the foot, there are already plenty
of other ways of doing so.
A small step towards #844.
--
MOS_MIGRATED_REVID=115449058
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115448892
|
|
|
|
|
|
|
| |
Make more tests pass for Skylark IDE info aspect implementation.
--
MOS_MIGRATED_REVID=115448483
|
|
|
|
|
|
|
| |
This remotes one stumbling block from bootstrapping on Windows.
--
MOS_MIGRATED_REVID=115447112
|
|
|
|
|
|
|
| |
After JavaCommon is initialized once, all further calls throw an exception.
--
MOS_MIGRATED_REVID=115442886
|
|
|
|
|
|
|
|
|
| |
value of an option with null.
Currently it returns the original default value if the new value is null.
--
MOS_MIGRATED_REVID=115442253
|
|
|
|
|
|
|
|
|
|
|
| |
By enabling this option (default is off), a new, still experimental
UI will be used. As it is developped from scratch, this commit simply
implements a UI that does not produce any output at all.
--
Change-Id: I895c0e0744c008212efc7bdfca1457f7907c9b64
Reviewed-on: https://bazel-review.googlesource.com/#/c/3009/
MOS_MIGRATED_REVID=115441032
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115440358
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115440169
|
|
|
|
|
|
|
|
|
|
|
| |
repository_ctx.template enable writing a file in the remote repository tree
using a template and a list of substitution in a similar way as the
ctx.template_action for regular skylark rule.
Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY.
--
MOS_MIGRATED_REVID=115439344
|
|
|
|
|
|
|
| |
--
Change-Id: Id14500fa6febb9c7a58a8f093146d4d9771b44aa
Reviewed-on: https://bazel-review.googlesource.com/#/c/3007
MOS_MIGRATED_REVID=115438488
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctx.path now works with labels. When given a label, ctx.path()
will returns the path to the corresponding file if the label
point to a file, or error out if it does not point to file.
Also fix a small case with repository_ctx.symlink that wasn't
creating its directories.
This is needed to enable reading template files to create a
template function (see http://goo.gl/fD4ZsY) for issue #893
(step 4 of http://goo.gl/OZV3o0).
--
MOS_MIGRATED_REVID=115438400
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115438295
|
|
|
|
|
|
|
|
|
| |
They have now moved to https://github.com/bazelbuild/scala_rules
RELNOTES[INC]: Scala rules were deleted from the @bazel_tools repository, see https://github.com/bazelbuild/rules_scala#scala-rules-for-bazel
--
MOS_MIGRATED_REVID=115432354
|
|
|
|
|
|
|
|
| |
This allows us to make the field final, and guarantees that it can't be
mutated after construction.
--
MOS_MIGRATED_REVID=115430793
|
|
|
|
|
|
|
|
|
|
| |
Potentially fixes #968.
The http url redirects to https which our redirect logic currently doesn't
handle. Confirmed the https location is correct manually.
--
MOS_MIGRATED_REVID=115412099
|
|
|
|
|
|
|
| |
includes improvements such as proto3 syntax support for Objective C.
--
MOS_MIGRATED_REVID=115395892
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115393203
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115380951
|
|
|
|
|
|
|
| |
file generation.
--
MOS_MIGRATED_REVID=115376419
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115374342
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115373672
|
|
|
|
|
|
|
| |
argument to generate_workspace.
--
MOS_MIGRATED_REVID=115367724
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115364137
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having an empty path component in the PATH is equivalent to having a path
component pointing to the current directory. This is generally considered
harmful because it can lead to the execution of binaries planted in
specific locations without the user's knowledge (though I do not think there
is a problem per se in Bazel).
Fixes #958.
--
MOS_MIGRATED_REVID=115363638
|
|
|
|
|
|
|
|
| |
The type of attribute "providers" now is a list of lists of string. But a list
of string is still supported.
--
MOS_MIGRATED_REVID=115357326
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115352357
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115346303
|
|
|
|
|
|
|
| |
is printed twice when using --verbose_failures.
--
MOS_MIGRATED_REVID=115342536
|
|
|
|
|
|
|
|
|
|
|
| |
It seems like the change introduced in pull request #785 does not
function universally. On some releases of Debian and Ubuntu, it looks
like packages are declared as providing java{7,8}-sdk.
Fixes #961.
--
MOS_MIGRATED_REVID=115338913
|
|
|
|
|
|
|
|
|
| |
repository_ctx.file enable writing random file in the remote repository tree.
Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY.
--
MOS_MIGRATED_REVID=115338910
|
|
|
|
|
|
|
| |
confusingly it only worked on "blaze query".
--
MOS_MIGRATED_REVID=115338436
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: iOS ipa_post_processor attribute allows for user-defined IPA edits.
--
MOS_MIGRATED_REVID=115338312
|
|
|
|
|
|
|
| |
invocation could be lost. Note that the client sends an empty request to the Blaze server to check its existence. Previously, we were treating this as a full command invocation in the server and resetting the interrupt bit. Now we detect this and do not alter the interrupt bit.
--
MOS_MIGRATED_REVID=115337972
|