Files
chromium_depot_tools/.gitattributes
Anne Redulla c7aca34c8e Define main metadata validation functions
This is a reland of commit a1cfc693af

The original commit was reverted do to `ModuleNotFoundError`s. I believe this was due to not specifying `metadata` to be part of the `depot_tools` recipe bundle. I have updated `.gitattributes` for this, and also added `__init__.py` files.

I will put the changes to `presubmit_canned_checks.py` in a later CL, once I can confirm `metadata` is being bundled.

Original change's description:
> [ssci] Added CheckChromiumMetadataFiles in presubmit_canned_checks
>
> Bug: b:277147404
> Change-Id: I14a2f11b256bc85fdfe225443ef533c38463ca3e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4796694
> Reviewed-by: Gavin Mak <gavinmak@google.com>
> Reviewed-by: Rachael Newitt <renewitt@google.com>
> Commit-Queue: Anne Redulla <aredulla@google.com>

Bug: b:277147404
Change-Id: Ibd9efd5970a5393c157ca8763f97064d7c167803
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4803385
Reviewed-by: Rachael Newitt <renewitt@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Anne Redulla <aredulla@google.com>
2023-08-25 01:09:08 +00:00

62 lines
1.6 KiB
Plaintext

# The `recipes` attribute controls which additional files are included in the
# recipes bundle when running the `//recipes/recipes.py bundle` command. These
# files will also be available to other repos' recipes when they pull in
# depot_tools as a recipe dependency.
# Tools
/*.bat recipes
/*.exe recipes
/*.py recipes
/*.sh recipes
# vpython specs
/.vpython* recipes
/gsutil.vpython3 recipes
# Extensionless tools we want and support scripts.
/autoninja* recipes
/clang* recipes
/download_from_google_storage recipes
/fetch recipes
/gclient recipes
/git* recipes
/gn recipes
/ninja* recipes
/pylint* recipes
/repo recipes
/repo_launcher recipes
/roll-dep* recipes
/yapf* recipes
# Ensure depot_tools/.cipd_bin in a recipe step.
/cipd_manifest* recipes
# Symlinks
/cbuildbot recipes
/cros* recipes
/lib/* recipes
# Metadata validation package, without its tests.
/metadata/** recipes
/metadata/tests/** -recipes
# TODO: There are some really junky dependencies in here that we should probably
# move to vpython/cipd.
/third_party/** recipes
/win_toolchain/** recipes
/fetch_configs/*.py recipes
# Some things we never need to include in the bundle
*.diff -recipes
*LICENSE* -recipes
*README* -recipes
.gitattributes -recipes
.gitignore -recipes
COPYING -recipes
MANIFEST.in -recipes
OWNERS -recipes
PKG-INFO -recipes