Skip to content

fix(linux): don't add Warp's package repos to OSS packages - #18

Merged
synthet merged 4 commits into
masterfrom
af/warp-zepye-unwire-warp-linux-repos
Nov 28, 2026
Merged

synthet merged 4 commits into
masterfrom
af/warp-zepye-unwire-warp-linux-repos

Conversation

@synthet

@synthet synthet commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Description

Refs warp-zepye (Synth Term epic, owned by strix).

The Debian postinst and the RPM %post installed Warp's package-signing key and added releases.warp.dev as an apt/yum/zypper repository. On a system with Synth Warp installed from a fork package, a normal system update could then replace it with official Warp.

For the oss channel only:

  • script/linux/bundle_deb no longer appends postinst.repo.template / postrm.repo.template.
  • script/linux/bundle_rpm removes the signing-key block and the repo helpers from the rendered spec, and fails if any Warp repo setup remains.

The templates themselves are unchanged ("unwire, don't delete"), and the other channels behave as before. Arch packages never added a repo.

  • For oss, the rendered Debian Maintainer and RPM Packager fields say Synth Warp contributors <synthet@users.noreply.github.com> (the owner's choice) instead of Warp's Linux maintainers.

Testing

  • Ran the new bundle_rpm block on both spec templates (app, cli) with RELEASE_CHANNEL=oss: no releases.warp.dev, RPM-GPG-KEY, install_yum or install_zypp remains; %description, %install, %files and %post (desktop-database refresh, exit 0) are intact. With RELEASE_CHANNEL=stable the spec is byte-identical to the template.
  • bash -n on both scripts.
  • Not run: a full rpmbuild/dpkg-deb package build (no Linux build host here).

CI on this branch needs #17 (master CI fix) first.

CHANGELOG-BUG-FIX: Synth Warp Linux packages no longer add Warp's package repository, so system updates can't replace the fork with official Warp.

🤖 Generated with Claude Code

synthet and others added 4 commits November 19, 2026 23:43
The deb postinst and the rpm %post installed Warp's signing key and added
releases.warp.dev as a package repository, so a system update could
replace Synth Warp with official Warp. For the oss channel, bundle_deb
skips the repo snippets and bundle_rpm drops the key and repo blocks from
the rendered spec (and fails if any remain). The templates stay as
upstream has them; other channels are unchanged.

Refs warp-zepye

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For the oss channel, the rendered Debian control file and RPM spec now
say 'Synth Warp contributors <synthet@users.noreply.github.com>'
(owner's choice) instead of Warp's Linux maintainers. Templates are
unchanged.

Refs warp-zepye

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision 2026-11-20: new user-visible text says Synth Term, not
Synth Warp.

Refs warp-zepye

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@synthet
synthet merged commit 51cebda into master Nov 28, 2026
18 of 20 checks passed
@synthet
synthet deleted the af/warp-zepye-unwire-warp-linux-repos branch November 28, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant