Age | Commit message (Collapse) | Author |
|
mainline-healthfitness-release
Change-Id: I87749eec714d36e6ddb02f8f602dfff0cbb0ed11
|
|
mainline-healthfitness-release
Change-Id: Ic10f7c0cf93d792c68e0008047a431665199de54
|
|
748e62d604 am: dad1665d12 am: eb146bbc49 am: 0f22c081a0
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_license/+/2500461
Change-Id: I9a081aeaf4c868c4c980290ec0b7732f1714447e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
748e62d604 am: dad1665d12 am: eb146bbc49
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_license/+/2500461
Change-Id: I8761285ae197b03be4c41e46eff8206ed2069548
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
748e62d604 am: dad1665d12
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_license/+/2500461
Change-Id: I29acc6d35a13b3381bc15232a24b6fab3c3350c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_license/+/2500461
Change-Id: I72b24e0819672a721457808a51191ea7a9b5b3af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Also add METADATA file.
Test: presubmits
Change-Id: I39e818bebf11430b15efa915b5c48e717a590096
|
|
Allow license_text to be a normal label.
|
|
|
|
|
|
|
|
|
|
Make it easy for someone (who vendors the code) to enable the old behavior.
Fixes #68
|
|
exec_tools => tools
|
|
|
|
Make rules/private a distinct package.
|
|
That allows for better visibility control.
|
|
Split providers.bzl in two.
|
|
Fix buildifier warnings
|
|
- put all the core ones that are required to declare liceneses in
providers.bzl
- move all the ones needed to gather licenses into private/gather_liceneses.bzl
This keeps ownership and visibility clearer. Users can depend on
the values in provider.bzl. The structs in gathering_providers.bzl
should be considered private to the implementation.
Also, make it clear that MetadataInfo is experimental by renaming it.
|
|
|
|
Grab bag of nits and tweaks
|
|
|
|
|
|
|
|
sync this code back and forth with the Google branches.
- restore copyright notices (This keeps compliance teams happy)
- change public visibilty to restricted ones, so end users can
not depend on pieces of the vendored in library
- remove printf debugging.
|
|
Make the test cases much less brittle
|
|
|
|
Change the test helper library to use path suffixes rather than complete
paths so it is immune to relocating the code if you vendor it in.
|
|
Bring back the policy checker example
|
|
Add the doc creation tools which should have been in #65
|
|
|
|
|
|
|
|
|
|
|
|
Add missing docs glue. This usually takes several iterations just to turn on. None of this is executable, or part of the distribution builds, so I am force submitting.
|
|
|
|
First cut at doc generation. They are ugly, but it's a start.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add package_info rule and a new gatherer to collect it.
|
|
|
|
|
|
- Add rules/package_info.bzl
- Refactor get_transitive_licenses to get_transitive_metadata.
- Take a list of providers to gather.
- Some hackery for Bazel 5.x support. This can be fixed if starlark
visibility gets backported to Bazel 5.
- Add gather_metadata.bzl. This is so we can freely experiment on
techniques for multi provider support in OSS land, without impacting
existing users in Google. We can merge them some day in the future.
- Create a dummy sbom writer.
There is also experimental code to show a different design choice
for new types of Metadata. I want to preserve both for a while
to have a broader design discussion over the next month.
|
|
Add dev dependency on rules_pkg.
|