Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ Report vulnerabilities through the private process in

## License

Contributions are licensed under both the [MIT license](LICENSE-MIT) and the
[Apache License 2.0](LICENSE-APACHE).
Unless explicitly stated otherwise, contributions submitted to Bessemer are
licensed under the [Apache License 2.0](LICENSE-APACHE). Preserve every
copyright, license, and attribution notice in inherited files.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
license = "Apache-2.0"
repository = "https://github.com/dedalus-labs/bsmr"

[workspace.dependencies]
Expand Down
8 changes: 8 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Bessemer
Copyright (c) 2026 Dedalus Labs, Inc. and its contributors

Bessemer is derived from Buck2, copyright Meta Platforms, Inc. and affiliates.
Except where an inherited notice states otherwise, Bessemer is licensed under
Apache-2.0. Buck2-derived and third-party files retain their original
copyright, license, and attribution notices.

The code in `app/bsmr_error_derive` is adapted from thiserror (https://github.com/dtolnay/thiserror).

The code in `tools/testing/completion/verify/src/runtime` is adapted from `complete_pty`
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@ that remote should remain disabled.

## License

Bessemer is available under either the [MIT license](LICENSE-MIT) or the
[Apache License 2.0](LICENSE-APACHE).
Except where an inherited notice states otherwise, Bessemer is licensed under
the [Apache License 2.0](LICENSE-APACHE).

Buck2-derived and third-party files retain their original copyright and
license notices. [LICENSE-MIT](LICENSE-MIT) records Meta's upstream grant; it
does not license Bessemer-authored additions under MIT. See [NOTICE](NOTICE)
for attribution details.
10 changes: 5 additions & 5 deletions STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Bessemer code should be obvious to inspect, operate, and extend.
## Source documentation

- Start every new Dedalus-owned source file with the repository preamble below.
- State the file's responsibility in one sentence inside the preamble.
- State the file's responsibility in one sentence below the legal header, after one blank line.
- Preserve existing Meta and third-party notices exactly. Claim Dedalus copyright only for Dedalus-authored work.
- Mark modifications when an inherited file's license requires it; never replace the original notice.
- Document every named function in new or materially modified code with the language's native documentation syntax.
Expand All @@ -16,11 +16,11 @@ Bessemer code should be obvious to inspect, operate, and extend.

```text
//===----------------------------------------------------------------------===//
// Copyright 2026 Dedalus Labs, Inc.
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Describe this file's single responsibility.
// Copyright (c) 2026 Dedalus Labs, Inc. and its contributors
// SPDX-License-Identifier: Apache-2.0
//===----------------------------------------------------------------------===//

// Describe this file's single responsibility.
```

## Engineering
Expand Down
8 changes: 4 additions & 4 deletions ci/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//===----------------------------------------------------------------------===//
// Copyright 2026 Dedalus Labs, Inc.
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Verifies CLI command selection, ordering, and fail-fast execution.
// Copyright (c) 2026 Dedalus Labs, Inc. and its contributors
// SPDX-License-Identifier: Apache-2.0
//===----------------------------------------------------------------------===//

// Verifies CLI command selection, ordering, and fail-fast execution.

import assert from "node:assert/strict";
import { readFile } from "node:fs/promises";
import { test } from "node:test";
Expand Down
8 changes: 4 additions & 4 deletions ci/cli.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//===----------------------------------------------------------------------===//
// Copyright 2026 Dedalus Labs, Inc.
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Routes repository CI commands through Hollywood's typed process executor.
// Copyright (c) 2026 Dedalus Labs, Inc. and its contributors
// SPDX-License-Identifier: Apache-2.0
//===----------------------------------------------------------------------===//

// Routes repository CI commands through Hollywood's typed process executor.

import { realpathSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
Expand Down
7 changes: 4 additions & 3 deletions docs/getting_started/what_is_bsmr.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ It provides:
- a shared prelude for common language toolchains.

Bessemer is derived from
[Buck2](https://github.com/facebook/buck2). The project retains upstream
copyright notices and licenses while developing under its own name and public
interfaces.
[Buck2](https://github.com/facebook/buck2). Except where an inherited notice
states otherwise, Bessemer is licensed under Apache-2.0. Buck2-derived and
third-party files retain their original copyright, license, and attribution
notices.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "bsmr-ci",
"private": true,
"type": "module",
"license": "Apache-2.0",
"scripts": {
"ci": "node ci/cli.ts"
},
Expand Down
1 change: 1 addition & 0 deletions packages/rust/starlark/starlark_js_example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
description = "Example of running starlark-rust interpreter in browser"
edition = "2024"
license = "Apache-2.0"
name = "starlark_js_example"
publish = false
version = "0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/rust/starlark/vscode/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/rust/starlark/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/rust/starlark/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"workspace"
],
"author": "Facebook",
"license": "Apache2",
"license": "Apache-2.0",
"version": "1.0.0",
"repository": {
"type": "git",
Expand Down