zed/script
Owen Law f7115be3d1
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Add Flatpak build system and support (#12006)
ping #6687 

This is the third iteration of this PR ([v2
here](https://github.com/zed-industries/zed/pull/11949)) and uses a
different approach to the first two (the process wrapper lib was a
maintainability nightmare). While the first two attempted to spawn the
necessary processes using flatpak-spawn and host-spawn from the app
inside the sandbox, this version first spawns the cli binary which then
restart's itself *outside* of the sandbox using flatpak-spawn. The
restarted cli process than can call the bundled app binary normally,
with no need for flatpak-spawn because it is already outside of the
sandbox. This is done instead of keeping the cli in the sandbox because
ipc becomes very difficult and broken when trying to do it across the
sandbox.

Gnome software (example using nightly channel and release notes
generated using the script):
<img
src="https://github.com/zed-industries/zed/assets/81528246/6391d217-0f44-4638-9569-88c46e5fc4ba"
width="600"/>

TODO in this PR:
- [x] Bundle libs.
- [x] Cleanup release note converter.

Future work:

- [ ] Auto-update dialog
- [ ] Flatpak auto-update (complete 'Auto-update dialog' first)
- [ ] Experimental
[bundle](https://docs.flatpak.org/en/latest/single-file-bundles.html)
releases for feedback (?).

*(?) = Maybe / Request for feedback*

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
2024-05-27 19:01:20 -06:00
..
danger Setup Danger (#6994) 2024-01-29 11:58:24 -05:00
eula remoting (#9680) 2024-03-22 08:44:56 -06:00
flatpak Add Flatpak build system and support (#12006) 2024-05-27 19:01:20 -06:00
lib Add GitHub Action for publishing the extension CLI (#9542) 2024-03-19 14:19:32 -04:00
licenses Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
update_top_ranking_issues Use set literal notation 2024-04-11 00:43:56 -04:00
analyze_highlights.py Minor script fix (#10857) 2024-04-22 13:05:41 -04:00
bootstrap Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
bump-extension-cli Add a script for bumping the extension CLI (#9646) 2024-03-21 12:05:31 -04:00
bump-nightly ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
bump-zed-minor-versions Remove 0-patch requirement on main in bump-zed-minor-versions 2024-02-14 13:13:44 -05:00
bump-zed-patch-version
bundle-linux Add Flatpak build system and support (#12006) 2024-05-27 19:01:20 -06:00
bundle-mac Don't make -l imply -d in bundle-mac script (#10438) 2024-04-15 14:29:45 -06:00
clear-target-dir-if-larger-than
clippy Add cargo xtask clippy (#8722) 2024-03-02 14:46:02 -05:00
collab-flamegraph Only 5s of data! (#8983) 2024-03-06 21:35:46 -07:00
crate-dep-graph
create-migration remoting (#9680) 2024-03-22 08:44:56 -06:00
deploy-collab just kidding (#7241) 2024-02-01 11:57:09 -07:00
deploy-postgrest No more nightly/preview collab anymore (#7112) 2024-01-30 20:11:06 -07:00
draft-release-notes release notes vN (#11077) 2024-04-26 17:18:17 -06:00
drop-test-dbs
gemini.py Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
generate-eula-rtf
generate-licenses Add script to package Linux binary into archive (#11165) 2024-04-30 14:56:48 +02:00
get-changes-since Format scripts with Prettier (#8393) 2024-02-25 11:03:33 -05:00
get-crate-version
get-preview-channel-changes get-preview-channel-changes errors on invalid token (#9616) 2024-03-20 21:44:12 -06:00
get-released-version ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
histogram
import-themes
install.sh Allow ssh connection for setting up zed (#12063) 2024-05-21 22:39:16 -06:00
kube-shell
linux Fix openSUSE Vulkan package name (#12301) 2024-05-26 17:14:09 -07:00
metal-debug
randomized-test-ci
randomized-test-minimize Format scripts with Prettier (#8393) 2024-02-25 11:03:33 -05:00
reset_db
run-local-minio Fix tracing subscriber after introducing Tokio-console (#8907) 2024-03-05 14:11:33 -08:00
seed-db Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
sqlx Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
squawk Suppress typos in basic.conf (#10099) 2024-04-02 21:02:25 -04:00
storybook
symbolicate Fix ./script/symbolicate on Preview crashes (#8956) 2024-03-06 10:26:50 -07:00
trigger-release ./script/trigger-release (#10589) 2024-04-16 19:32:51 -06:00
upload-extension-cli Add GitHub Action for publishing the extension CLI (#9542) 2024-03-19 14:19:32 -04:00
upload-nightly Remove deploy artifacts after uploads (#11726) 2024-05-12 21:53:27 +03:00
what-is-deployed Deploy collab like nightly (#7174) 2024-02-01 11:54:49 -07:00
zed-local Enable manual worktree organization (#11504) 2024-05-24 12:15:48 +03:00