Skip to content

docs: attribute two more Alacritty-derived files (#9522)#9707

Merged
vorporeal merged 1 commit intowarpdotdev:masterfrom
MatthewJamisonJS:MatthewJamisonJS/attribute-remaining-alacritty-sources
May 4, 2026
Merged

docs: attribute two more Alacritty-derived files (#9522)#9707
vorporeal merged 1 commit intowarpdotdev:masterfrom
MatthewJamisonJS:MatthewJamisonJS/attribute-remaining-alacritty-sources

Conversation

@MatthewJamisonJS
Copy link
Copy Markdown
Contributor

Description

Refs #9522.

After #9513 and #9563 added attribution headers to the original set of derivative files, two more files remain unattributed:

File Upstream origin
app/src/terminal/model/grid/grid_storage/resize.rs alacritty_terminal/src/grid/resize.rs — grid resize/reflow logic. The parent grid_storage.rs was attributed in #9513; this child module was missed.
app/src/terminal/ref_tests/mod.rs alacritty_terminal/tests/ref.rs — test harness, including the ref_tests! macro, JSON fixture loading, and the .alacritty.recording data format.

Both files now carry the same two-line attribution comment that #9513 and #9563 introduced, pointing to the existing crates/warp_terminal/src/model/LICENSE-ALACRITTY (Apache-2.0).

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.

Screenshots / Videos

Not applicable — documentation/comments only.

Testing

No code paths changed. cargo clippy --workspace --all-targets --all-features --tests -- -D warnings clean.

Note: cargo fmt --check reports pre-existing import-ordering failures in both files that are present on master before this change (confirmed by checking git stash baseline). These are not introduced by this PR.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Refs warpdotdev#9522.

After warpdotdev#9513 and warpdotdev#9563 added attribution headers to the original tranche
of derivative files, two more files remain unattributed:

- `app/src/terminal/model/grid/grid_storage/resize.rs`: grid resize/reflow
  logic adapted from `alacritty_terminal/src/grid/resize.rs`. The parent
  `grid_storage.rs` was attributed in warpdotdev#9513; this child module was missed.
- `app/src/terminal/ref_tests/mod.rs`: test harness structure adapted from
  `alacritty_terminal/tests/ref.rs`, including the `ref_tests!` macro, JSON
  fixture loading, and the `.alacritty.recording` data format.

Both files now carry the same two-line attribution comment pointing to the
existing `crates/warp_terminal/src/model/LICENSE-ALACRITTY` (Apache-2.0).
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 1, 2026

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @MatthewJamisonJS on file. In order for us to review and merge your code, each contributor must visit https://cla.warp.dev to read and agree to our CLA. Once you have done so, please comment @cla-bot check to trigger another check.

@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 1, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 1, 2026

@MatthewJamisonJS

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I reviewed this pull request and requested human review from: @warpdotdev/oss-maintainers.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@MatthewJamisonJS
Copy link
Copy Markdown
Contributor Author

Hey — thank you for even taking a moment to look at this.

I'm relatively new to contributing to open source, and picking this up as one of my first PRs felt meaningful given how the original issue was raised. I did my best to trace the lineage carefully — cross-referencing Alacritty's test harness in alacritty_terminal/tests/ref.rs and the grid resize logic against what was already attributed in #9513 and #9563 — but I fully expect you may catch something I missed or have context on why these files were handled differently.

If there's anything to adjust, I'm happy to revise. Just grateful for the chance to contribute something, even if it's small.

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds Apache-2.0 Alacritty attribution comments to two files that were identified as adapted from alacritty_terminal. The changes are documentation-only and do not alter runtime behavior.

Concerns

  • None.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@MatthewJamisonJS
Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label May 1, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 1, 2026

The cla-bot has been summoned, and re-checked this pull request!

@MatthewJamisonJS
Copy link
Copy Markdown
Contributor Author

/oz-review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 1, 2026

@MatthewJamisonJS

I'm re-reviewing this pull request in response to a review request.

You can view the conversation on Warp.

I reviewed this pull request and requested human review from: @warpdotdev/oss-maintainers.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds Alacritty/Apache attribution comments to app/src/terminal/model/grid/grid_storage/resize.rs and app/src/terminal/ref_tests/mod.rs without changing executable code.

Concerns

  • None. The supplemental security pass found no security-relevant changes.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@captainsafia captainsafia requested a review from vorporeal May 4, 2026 00:30
Copy link
Copy Markdown
Contributor

@vorporeal vorporeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for catching and updating these two files!

@MatthewJamisonJS
Copy link
Copy Markdown
Contributor Author

my pleasure 🙂🖖🏿

@vorporeal vorporeal merged commit 59c6a48 into warpdotdev:master May 4, 2026
29 checks passed
@MatthewJamisonJS MatthewJamisonJS deleted the MatthewJamisonJS/attribute-remaining-alacritty-sources branch May 4, 2026 20:57
wolverine2k pushed a commit to wolverine2k/warp that referenced this pull request May 5, 2026
…arpdotdev#9707)

## Description

Refs warpdotdev#9522.

After warpdotdev#9513 and warpdotdev#9563 added attribution headers to the original set of
derivative files, two more files remain unattributed:

| File | Upstream origin |
| --- | --- |
| `app/src/terminal/model/grid/grid_storage/resize.rs` |
`alacritty_terminal/src/grid/resize.rs` — grid resize/reflow logic. The
parent `grid_storage.rs` was attributed in warpdotdev#9513; this child module was
missed. |
| `app/src/terminal/ref_tests/mod.rs` |
`alacritty_terminal/tests/ref.rs` — test harness, including the
`ref_tests!` macro, JSON fixture loading, and the `.alacritty.recording`
data format. |

Both files now carry the same two-line attribution comment that warpdotdev#9513
and warpdotdev#9563 introduced, pointing to the existing
`crates/warp_terminal/src/model/LICENSE-ALACRITTY` (Apache-2.0).

## Linked Issue

- [x] The linked issue is labeled `ready-to-spec` or
`ready-to-implement`.

## Screenshots / Videos

Not applicable — documentation/comments only.

## Testing

No code paths changed. `cargo clippy --workspace --all-targets
--all-features --tests -- -D warnings` clean.

Note: `cargo fmt --check` reports pre-existing import-ordering failures
in both files that are present on `master` before this change (confirmed
by checking `git stash` baseline). These are not introduced by this PR.

## Agent Mode
- [ ] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants