Skip to content

Tags

Tags

v2026.11.30.00

Toggle v2026.11.30.00's commit message

v2026.11.16.00

Toggle v2026.11.16.00's commit message
python: install Python libraries under the prefix given at install time

Summary:
`add_fb_python_library` made its install directory absolute with the `CMAKE_INSTALL_PREFIX` of configure time, so `cmake --install --prefix` doesn't move a library that `install_fb_python_library` installs. eden installs `eden_scm_redact` that way, and its Windows install into `_artifacts/windows` tries to write `C:/Program Files (x86)/eden/lib/fb-py-libs/eden_scm_redact`, which fails without administrator rights; on Linux the same install tries `/usr/local`. The directory now stays relative, which `install()` resolves against the prefix at install time.

___

landed-with-radar-review

Differential Revision: D129598542

fbshipit-source-id: d1eabb64e6e9c3002471d833b4079c89ba55b460

v2026.10.26.00

Toggle v2026.10.26.00's commit message
Remove unreachable returns in fbcode/turbine, fbcode/ucache and 7 mor…

…e (+22)

Summary:
Clang's `-Wunreachable-code-return` (reported by continuous lint as `clang-diagnostic-unreachable-code-return`) flags `return` statements that can never execute. This diff fixes 22 of them.

Dead `return`s are deleted when they follow a statement that never completes normally (`throw`, `LOG(FATAL)`, `CHECK(false)`, `std::abort()`, `FAIL()`, ...) or a block whose every path already returns or throws (exhaustive `if`/`else`, `switch` with `default`, `try`/`catch`, `while (true)`). Behaviour is unchanged in every build mode.

Where termination depends on the build mode (`DCHECK(false)`, `DLOG(FATAL)` and `assert(false)` abort only when `NDEBUG` is not defined), the fallback `return` is kept under `#ifdef NDEBUG`, so opt builds behave exactly as before and debug builds no longer carry a dead statement.

Part of T294580822.

Reviewed By: dtolnay

Differential Revision: D127401338

fbshipit-source-id: facc9f196742553b907e67415d692f7378a51ec7

v2026.10.19.00

Toggle v2026.10.19.00's commit message
Migrate fbcode//folly deps to fbsource//xplat/folly (#809, edenfs)

Summary:
Mechanical rewrite of `fbcode//folly...` references, and cell-relative `//folly...` references in fbcode BUCK files, to `fbsource//xplat/folly...`. The fbcode copy of folly is a dirsync mirror of xplat/folly that is being removed; once it is gone, `fbcode//folly` targets will no longer resolve.

These files are in CodeHub project `edenfs`, which RADAR cannot auto-approve (SOX, or RADAR disabled for the project). They are split out so the other batches stay RADAR-eligible; this diff needs a human review from the project's owners.

This diff touches 13 BUCK files under: fbcode.

No source files change; only folly dep labels in BUCK files. Autodeps (`AUTODEPS2`) may propose other dep changes for these BUCK files; those are intentionally not applied, so that this diff is limited to the folly label rewrite. Any autodeps lint suggestions on this diff are unrelated to this change.

Generated by `migrate_fbcode_folly.py`.

Reviewed By: dtolnay

Differential Revision: D125829227

fbshipit-source-id: c6a0f9ac8885824e1148a336c722b63e7cb64ab2

v2026.09.28.00

Toggle v2026.09.28.00's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Record checked-out commit and version in getdeps-vendor.txt

Summary:
- getdeps.py vendor wrote fetcher.hash() next to each vendored project,
  which for a git project without a pinned rev is the branch name, so a
  project that ships no build/deps/github_hashes (mcrouter) got 'folly
  main' recorded, identifying nothing. Ask the checkout for HEAD instead.
- Also record a version as a third field where one can be determined:
  for a git checkout the nearest tag (git describe, deepening the
  shallow clone as needed), as the tag itself when HEAD is tagged or
  <tag>^<distance>.<commit> otherwise; for a downloaded archive the
  version in its file name. Distributions bundling the vendored tree
  need 'Provides: bundled(<name>) = <version>' (Fedora guidelines).
- Internal adjustments on import: BLACK/import sorting via arc lint -a,
  E731 lambda fix in the new test.

Reviewed By: bigfootjon

Differential Revision: D121677377

fbshipit-source-id: f4a8a01925b8c8f9f431fd44ba348fb7bdfb4b7a