目录
quot; -l -s | python3 filter.py ``` Where filter.py is: ``` import pathlib import sys import os import subprocess for line in sys.stdin: if "buck2/tests/" in line: continue path = pathlib.Path(os.getcwd()).parent / line.strip() if not path.exists(): # Caught previously, skip continue assert path.parts[-1] == "BUCK.v2", path generated = False for line in path.open("r"): if "generated" in line or "partially-generated" in line: generated = True break if generated: continue targets_v1_path = path.parent / "BUCK" if targets_v1_path.exists(): print(f"Removing {targets_v1_path}") subprocess.check_output(["sl", "rm", str(targets_v1_path)]) print(f"Moving {path} to {targets_v1_path}") subprocess.check_output(["sl", "mv", str(path), str(targets_v1_path)]) ``` drop-conflicts Reviewed By: mzlee Differential Revision: D70401061 fbshipit-source-id: 25c56ff820069f8623cf417cdc55569d522e1bfc " href="/mirrors/buck2-prelude/commits/3711b8d924">Eliminate all cases of BUCK.v2 in fbsource1年前
  • androidDaily `arc lint --take BUCKFORMAT`16天前
  • aospMove aosp_jar to be in rule format9个月前
  • appleAdd incremental swiftmodule action for Swift8天前
  • build_modeAllow selects on ovr_config//build_mode:arvr_mode to work in OSS projects using prelude as ovr_config12个月前
  • bxlprelude: fix doc typo in bxl docs (#1052)10个月前
  • capabilitiesDaily `arc lint --take BUCKFORMAT`20天前
  • cfgExtract configuration resolution into its own method7天前
  • configurations(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • cpuAdd further support for riscv in prelude and etc (#1009)11个月前
  • csharp(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • cxxMigrate to lib/ (2/3): point callsites at lib/6天前
  • debugging(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • declsResolve lazy_imports_analyzer from target attr with toolchain fallback5天前
  • dist(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • docs(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • erlangReduce BEAM VM startup overhead for Erlang dependency toolchain scripts7天前
  • error_handler(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • git(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • go(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • go_bootstrapAdd typing targets for Python tool scripts3个月前
  • graphqlMigrate mobileconfig stablespec from query-based to provider-based1个月前
  • haskell(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • http_archive(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • ide_integrations(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • java(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • jsRemoving fbandroid.build_mode buckconfig read5天前
  • julia(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • jvm(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • kotlin(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • linkingGate hip_debug_extract on a precision bit propagated through LinkInfo7天前
  • luaUpdate License Headers for Open Source11个月前
  • matlab(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • ocaml(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • osMake the Rust crate hashing consistent for APEX use case2个月前
  • os_lookup(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • platforms(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • playgroundUpdate License Headers for Open Source11个月前
  • pythonResolve lazy_imports_analyzer from target attr with toolchain fallback5天前
  • python_bootstrap(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • runtimeSupport prelude//runtime/constraints:android-host-test6个月前
  • rustfix(rust): resolve build-script `OUT_DIR` paths to content-based path5天前
  • test(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • tests(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • third-party(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • toolchainsWire Android per-test JaCoCo coverage end-to-end5天前
  • toolsUpdate License Headers for Open Source11个月前
  • transitions(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • unix(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • user(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • utils(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • validationAdd explicit has_content_based_path = False to declare_output calls3个月前
  • windowsConvert toolchain files to fb_native to opt into content based hashes7个月前
  • xplugins(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • zip_file(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • .buckconfigRevert D105263125: Revert D96950683: [Koltin][Kotlin 2.2 upgrade]Upgrade Kotlin to 2.220天前
  • .gitignoreignore eden redirections created during buck2 build3年前
  • BUCKWrap constraint modifiers with conditional modifier for exec platforms4个月前
  • CHANGELOG.mdFormat the rest of our markdown2年前
  • CODE_OF_CONDUCT.mdInitial commit3年前
  • CONTRIBUTING.mdChange "Facebook" -> "Meta" and related things2个月前
  • LICENSE-APACHEInitial commit3年前
  • LICENSE-MITInitial commit3年前
  • README.mdFormat the rest of our markdown2年前
  • alias.bzlUpdate License Headers for Open Source11个月前
  • artifact_tset.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • artifacts.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • asserts.bzlUpdate License Headers for Open Source11个月前
  • attributes.bzlUpdate License Headers for Open Source11个月前
  • attrs_validators.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • cache_mode.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • command_alias.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • export_exe.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • export_file.bzlRemove uses_experimental_content_based_path_hashing from export_file and filegroup4个月前
  • filegroup.bzlRemove allow_duplicate_srcs_DO_NOT_USE from filegroup1个月前
  • genrule.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • genrule_local_labels.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • genrule_prefer_local_labels.bzlUpdate License Headers for Open Source11个月前
  • genrule_toolchain.bzlUpdate License Headers for Open Source11个月前
  • http_file.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • is_buck2.bzlUpdate License Headers for Open Source11个月前
  • is_buck2_internal.bzlUpdate License Headers for Open Source11个月前
  • is_full_meta_repo.bzlUpdate License Headers for Open Source11个月前
  • local_only.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • native.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • none.bzlAdd a never-satisfied ConfigurationInfo to prelude//:none11个月前
  • paths.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • prelude.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • pull_request_template.mdFormat the rest of our markdown2年前
  • remote_file.bzlAdd has_content_based_path attribute to remote_file, http_file and http_archive7个月前
  • resources.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • rules.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • rules_impl.bzlAdd supports_test_execution_caching attribute to python test13天前
  • sh_binary.bzl(fbcode/buck2/prelude) Apply starlark_fmt to **/.bzl files (7/68)20天前
  • sh_test.bzlUpdate License Headers for Open Source11个月前
  • test_suite.bzlAdd explicit has_content_based_path = False to actions.write calls (buck2)1个月前
  • validation_deps.bzlUpdate License Headers for Open Source11个月前
  • Buck2 Prelude

    This repo contains a copy of the Buck2 Prelude, which is often included as a submodule with a Buck2 project. To obtain a copy of this repo, and set up other details of a Buck2, you should usually run buck2 init --git. Most information can be found on the main Buck2 GitHub project.

    Pull requests and issues should be raised at facebook/buck2 as that project is more closely monitored and contains CI checks.

    License

    Buck2 Prelude is both MIT and Apache License, Version 2.0 licensed, as found in the LICENSE-MIT and LICENSE-APACHE files.

    邀请码
      Gitlink(确实开源)
    • 加入我们
    • 官网邮箱:gitlink@ccf.org.cn
    • QQ群
    • QQ群
    • 公众号
    • 公众号

    版权所有:中国计算机学会技术支持:开源发展技术委员会
    京ICP备13000930号-9 京公网安备 11010802047560号