GitShow/facebook/buck2-prelude
facebook

buck2-prelude

Prelude for the Buck2 project

by facebook
Star on GitHubFork

Starlark

69 stars65 forks715 contributorsActive · 51m agoSince 2022Apache-2.0

Meet the team

See all 715 on GitHub →
milend
milend408 contributions
rmaz
rmaz348 contributions
podtserkovskiy
podtserkovskiy313 contributions
JakobDegen
JakobDegen297 contributions
andrewjcg
andrewjcg297 contributions
stepancheg
stepancheg262 contributions
chatura-atapattu
chatura-atapattu237 contributions
blackm00n
blackm00n201 contributions

Languages

View on GitHub →
Starlark42.1%
Java35.9%
Python9.5%
Kotlin7.7%
Erlang3.3%
Go0.9%
Other0.5%

Commit activity

Last 12 weeks · 430 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
87
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · 1 in progress · Last activity 51m ago
See all on GitHub →
avdv
WIP - Dynamic dependencies for Haskell (discussion)OpenPR

Pass correct rpath origin setting to linker on Darwin Add function with parameter Add script to generate target metadata for Haskell Add ghc wrapper script which writes ABI hash and a deps file Add helper function Add provider Add rule Add and tool targets make compiler_flags be of arg type (#34) Add scripts to haskell rules Allow to declare dependencies for haskell sources manually Add helper function Make optional in template processor script Add attributes to haskell rules Support HaskellToolchainLibs for ide BXL Make cc toolchain tools optional Determine haskell dependencies and compile modules according to the dependency graph** IMPORTANT: Please don't raise pull requests here, but at facebook/buck2. NOTE: this is a PR to get the discussion started on how to incorporate our changes into upstream. I'll raise a PR at the buck2 repo soonish. These changes requires a few GHC patches: add -dep-json flag for emitting machine-readable dependency info https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11994 https://gitlab.haskell.org/ghc/ghc/-/tree/wip/show-iface-abi-hash?ref_type=heads

avdv · 9mo ago

Recent fixes

View closed PRs →
kiukchung
Make python_wheel produce PEP-427 compliant wheels with PEP-425 compliant tagsMergedPR

Summary: What The rule now auto-detects native C extensions and produces PEP 427/425 compliant wheel filenames and metadata: Extension wheels: → (CPython-specific ABI tags) Pure Python wheels: → (PEP 425 normalized python tag) Explicit ABI overrides: respected (e.g. is not overridden) Additionally, the fbsource macro now supports build info version suffixing via . This produces PEP 440 compliant versions like . The suffix is only appended when the configs are explicitly set. Context Previously, wheels with native C extensions were tagged , which means "pure Python, no ABI dependency" — incorrect for wheels containing extensions compiled against CPython's C API. This caused / compatibility issues. The macro in existed as a genrule workaround to fix these tags post-build. With this change, the fix happens at the source and is no longer needed. Changes 1. : Added and helpers. Auto-detect extensions and switch to tags when . Normalize python tag to PEP 425 format ( → ). Added attribute for explicit overrides. Added computed metadata. 2. : Added conditional build info version suffixing (timestamp, revision, or both). 3. Tests**: 9 genrule checks for cpython tag correctness, 1 shared_libs tag check, 11 Python unit tests for version suffix PEP 440 compliance, updated wheel_metadata test. Reviewed By: suo, manav-a, seemethere Differential Revision: D93168164

kiukchung · 4mo ago
Nepomuk5665
fix: correct typos in documentation commentsMergedPR

Summary This PR fixes typos found in documentation comments across multiple files in the codebase. Changes Testing These changes are documentation-only and do not affect code behavior.

Nepomuk5665 · 5mo ago
gameroman
Fix a couple of typosMergedPR
gameroman · 7mo ago
Structured data for AI agents

Repository: facebook/buck2-prelude. Description: Prelude for the Buck2 project Stars: 69, Forks: 65. Primary language: Starlark. Languages: Starlark (42.1%), Java (35.9%), Python (9.5%), Kotlin (7.7%), Erlang (3.3%). License: Apache-2.0. Open PRs: 1, open issues: 1. Last activity: 51m ago. Community health: 87%. Top contributors: milend, rmaz, podtserkovskiy, JakobDegen, andrewjcg, stepancheg, chatura-atapattu, blackm00n, NavidQar, ndmitchell and others.

·@ofershap

Replace github.com with gitshow.dev