| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
| |
Native rule classes can provide default values for rules after they're
deserialized, so there isn't a need to serialize those default values.
This doesn't apply yet to rules with Skylark-defined rule classes, due
to the non-serializablity of Skylark rule classes.
--
MOS_MIGRATED_REVID=112066930
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112042343
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
repository where the package group is.
There is currently no way to refer to packages in other repositories and that doesn't seem to be useful, because visibility currently checks the repository name in the label and that can be changed in the main WORKSPACE file. If needed, it'd be pretty easy to implement, though.
As a drive-by fix, made the parsing of the package name call into the same logic implemented in the cmdline package because code duplication is bad, mmmkay?
Fixes #767.
--
MOS_MIGRATED_REVID=112032508
|
|
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: A new java test runner that support XML output and test filtering is supported.
It can be used by specifying --nolegacy_bazel_java_test or by speicifying the test_class
attribute on a java_test.
--
MOS_MIGRATED_REVID=112028955
|
|
|
|
|
|
|
|
|
| |
repository-local.
Fixes #765.
--
MOS_MIGRATED_REVID=112027627
|
|
|
|
|
|
|
| |
version.
--
MOS_MIGRATED_REVID=111978539
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This used to cause spurious rebuilds because the timestamp (which was
changed every server restart) is used for deciding whether the file
changed or not.
Closes #573
--
Change-Id: I0e95910353426b22b61a3573ca7465e1edcedaac
Reviewed-on: https://bazel-review.googlesource.com/#/c/2390/
MOS_MIGRATED_REVID=111953023
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In general the external integration tests shouldn't need to reset state
between tests, but test_fetch is explicitly assuming a clean environment
to start off with. Fixes #769 (I think, I can't actually test it due to #770).
Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda
--
Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda
Reviewed-on: https://github.com/bazelbuild/bazel/pull/771
MOS_MIGRATED_REVID=111893662
|
|
|
|
|
|
|
| |
Fixes #770 to an acceptable extent.
--
MOS_MIGRATED_REVID=111889925
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111866202
|
|
|
|
|
|
|
| |
...instead of throwing an uncaught exception and printing a stack trace. Fixes #409.
--
MOS_MIGRATED_REVID=111850179
|
|
|
|
|
|
|
|
|
|
| |
In particular, don't immediately call into the ForTesting functions; I need to
refactor some code that is called from here, and the semantics when called
from ide info should not change. Changes to semantics when called from tests
are much less problematic - we can simply run all the tests.
--
MOS_MIGRATED_REVID=111846384
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111841582
|
|
|
|
|
|
|
|
|
|
|
| |
Should fix #587.
RELNOTES: Support for downloading remote resources through proxies by setting HTTP_PROXY (or HTTPS_PROXY).
--
Change-Id: I4ae18c4f1a9e911e538efd446323e279e9776eec
Reviewed-on: https://github.com/bazelbuild/bazel/pull/759
MOS_MIGRATED_REVID=111708438
|
|
|
|
|
|
|
| |
For bazel on non-darwin architectures, this will simply be a stub, and should never be invoked. On darwin arcitectures, the tool will map xcode version to xcode path on the host system.
--
MOS_MIGRATED_REVID=111651147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke build of Bazel tests on ci.bazel.io
See http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=ubuntu_15.10-x86_64/280/console
Found using git bisect and /tmp/bazel-bin build --nobuild //src/tools/generate_workspace/src/main/java/com/google/devtools/build/workspace:workspace
*** Original change description ***
Factor implementation of bazel-specific cpp logic out of devtools/build/lib/BUILD into subpackage, to allow the objc implementation to extend that logic without a circular dependency. In particular, create a subpackage at lib/bazel/rules, and move relevant targets that were in lib/bazel down to the subpackage.
--
MOS_MIGRATED_REVID=111632586
|
|
|
|
|
|
|
|
|
|
| |
Fixes #733.
RELNOTES: Relative paths can now be used for 'path' with new_local_repository
and local_repository.
--
MOS_MIGRATED_REVID=111620894
|
|
|
|
|
|
|
| |
directory traversal and package loading, and the other which requests deps on all the transitive targets. We need values from the first half, but the second half can fail to evaluate because of a target cycle. By splitting them, we ensure that there will be values in the graph, so we can get the targets below a directory even if there are cycles present.
--
MOS_MIGRATED_REVID=111609889
|
|
|
|
|
|
|
| |
environment variables to pass to actions
--
MOS_MIGRATED_REVID=111608329
|
|
|
|
|
|
|
| |
devtools/build/lib/BUILD into subpackage, to allow the objc implementation to extend that logic without a circular dependency. In particular, create a subpackage at lib/bazel/rules, and move relevant targets that were in lib/bazel down to the subpackage.
--
MOS_MIGRATED_REVID=111602013
|
|
|
|
|
|
|
| |
Fixes #575.
--
MOS_MIGRATED_REVID=111600612
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e.g. a['key'] = value
is handled through a proper lvalue, instead of using syntactic sugar.
Benefits include:
- better error messages (reference to the '+' operator was cryptic)
- more robust, e.g. it is compatible with the += operator
- can be used in a tuple, e.g. a[1], a[2] = 3, 4
- it is a step towards mutable dict
--
MOS_MIGRATED_REVID=111597545
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111537858
|
|
|
|
|
|
|
|
|
|
| |
Parsing was continuing and tried to load skylark extensions even
though an error was present in the WORKSPACE file.
Fixes #724
--
MOS_MIGRATED_REVID=111534382
|
|
|
|
|
|
|
| |
Fixed by other changes, just adding a test.
--
MOS_MIGRATED_REVID=111533429
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111453115
|
|
|
|
|
|
|
|
|
|
| |
Instead of just showing the URL that the file failed to be fetched from, it now
displays the response code and content (if possible).
Fixes #732.
--
MOS_MIGRATED_REVID=111450650
|
|
|
|
|
|
|
| |
CppSemantics instead.
--
MOS_MIGRATED_REVID=111406721
|
|
|
|
|
|
|
|
| |
A failing test could use a previous run's timestamp, resulting in awkward
negative times, especially in the case of sub-second runs.
--
MOS_MIGRATED_REVID=111345693
|
|
|
|
|
|
|
|
|
| |
cause of a catastrophic failure (this is distinct from a crash).
Also clean up catastrophe logic in ParallelEvaluator -- the catastrophic nature of an exception is important only if the build is keep_going, and only if the exception is catastrophic can we have an exception in the first place.
--
MOS_MIGRATED_REVID=111293164
|
|
|
|
|
|
|
|
|
| |
This commit adds proto messages that represent configurable values,
and modifies attribute value serialization code to handle those
values, which are called SelectorLists.
--
MOS_MIGRATED_REVID=111149272
|
|
|
|
|
|
|
| |
for use in tools.
--
MOS_MIGRATED_REVID=111142252
|
|
|
|
|
|
|
| |
import as a PathFragment.
--
MOS_MIGRATED_REVID=111138001
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110840166
|
|
|
|
|
|
|
| |
Add some functions to Build, allow method calls.
--
MOS_MIGRATED_REVID=110835163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files in external repositories.
In addition:
- Cleaned up and refactored some tests to reflect the new loading behavior.
Deferred to future CLs:
- Updating Bazel Skylark documentation to reflect the new load form.
- Enabling command-line loading of Aspects via labels.
RELNOTES: Skylark load statements may now reference .bzl files via build labels, in addition to paths. In particular, such labels can be used to reference Skylark files in external repositories; e.g., load("@my_external_repo//some_pkg:some_file.bzl", ...). Path-based loads are now deprecated and may be disabled in the future. Caveats: Skylark files currently do not respect package visibility; i.e., all Skylark files are effectively public. Also, loads may not reference the special //external package.
--
MOS_MIGRATED_REVID=110786452
|
|
|
|
|
|
|
| |
Fixes #587.
--
MOS_MIGRATED_REVID=110785300
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110778743
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The go_prefix should be declared in the toplevel BUILD file as
//:go_prefix, rather than //external:go_prefix.
* Run set_up from the test methods.
* Update references to Darwin.
Tested:
bazel test src/test/shell/bazel/bazel_go_example_test
--
Change-Id: I89b2f5920100d27abdbc093437c7c051a24fad1e
Reviewed-on: https://bazel-review.googlesource.com/#/c/2561
MOS_MIGRATED_REVID=110762730
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110746503
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110672372
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110670806
|
|
|
|
|
|
|
|
|
|
| |
I had to make a small change to ExternalFilesHelper. The Bazel test setup
creates a remote repository for the tools, so we always have external files,
incl. during loading. However, some of the tests don't setup an output
directory, but instead pass null, which would lead to a crash.
--
MOS_MIGRATED_REVID=110669993
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110446625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
The original CL broke our CI because Bazel used an old version of Guava (18.0 instead of 19.0). We fixed this problem, so we can roll forward the original change.
*** Original change description ***
Automated [] rollback of [].
*** Reason for rollback ***
Broke the build: http://ci.bazel.io/job/Bazel/262/
*** Original change description ***
Skylark: implemented more string functions (isalnum, isdigit, etc).
--
MOS_MIGRATED_REVID=110439750
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke the build: http://ci.bazel.io/job/Bazel/262/
*** Original change description ***
Skylark: implemented more string functions (isalnum, isdigit, etc).
--
MOS_MIGRATED_REVID=110383960
|
|
|
|
|
|
|
| |
Issue #430 seems to be obsolete, added a test to make sure it keeps working.
--
MOS_MIGRATED_REVID=110373297
|
|
|
|
|
|
|
|
|
| |
will make it easier to manage the transition from legacy Skylark path-style loads to label-based loads. We handle both old-style (path-based) imports and new-style (label-based) imports.
This class is in the cmdline package since it depends on Label-related code in the same package. The cmdline package depends on the syntax package, so this class can't go there, which would otherwise be a reasonable place to put it.
--
MOS_MIGRATED_REVID=110372547
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110361527
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skylark into their own package. This allows, e.g., classes in the syntax package to access classes in the cmdline package without creating circular dependencies.
While we're here:
- Removed a couple of unused BUILD deps flagged in [].
- Updated SkylarkRuleImplementationFunctionsTest to remove non-ASCII characters and
clarify the intent of the test.
--
MOS_MIGRATED_REVID=110360763
|