zed/script
Aditya Kumar 45d4de75b3
Add jq as a dependency for Linux script for Arch Linux (#13569)
## Error
```sh
./script/install-linux 

+ [[ 0 -gt 0 ]]
+ export ZED_CHANNEL=dev
+ ZED_CHANNEL=dev
++ pwd
+ export 'ZED_UPDATE_EXPLANATION=You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ ZED_UPDATE_EXPLANATION='You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ script/bundle-linux
+ getopts h flag
+ export ZED_BUNDLE=true
+ ZED_BUNDLE=true
+ channel=dev
++ script/get-crate-version zed
script/get-crate-version: line 16: jq: command not found <-- ERROR
+ version=
```
The script fails to install zed on Arch Linux due to a missing
dependency, `jq`.
## My machine info
OS: Arch Linux
Kernel: 6.6.34-1-lts 
WM: dwm 
Terminal: kitty
CPU: Ryzen 5 5500U with Radeon Graphics
GPU: AMD ATI 04:00.0 Lucienne 
Memory: 16 GB

## Error Description
The error occurs when running the script in `script/install-linux`,
which is unable to find the `jq` package, which is not installed by
default on the machine.
## Solution
To resolve this issue, you can install `jq` independently by running
`sudo pacman -S jq`. Alternatively, I have updated script `script/linux`
to include `jq` as a dependency ([link to the
commit](2349ad111f)),
ensuring it is installed automatically when running the initial script
for system libraries.

Release Notes:

- N/A
2024-06-27 09:58:53 -06:00
..
danger danger: Check PR titles (#13053) 2024-06-14 11:18:41 -04:00
eula Update EULA (#12858) 2024-06-10 16:09:18 -04:00
flatpak Fix Flatpak desktop entry (#13019) 2024-06-13 20:23:49 -04: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 Do not encourage additional ignored labels 2024-06-12 10:57:33 -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
bump-zed-patch-version
bundle-linux Keep symbol names in bundled linux binaries (#13006) 2024-06-13 12:40:52 -07:00
bundle-mac Update linux binary expectations (#12622) 2024-06-04 15:31:01 -07:00
check-licenses Stop using xtask for clippy (#13223) 2024-06-18 13:49:44 -06:00
clear-target-dir-if-larger-than
clippy Stop using xtask for clippy (#13223) 2024-06-18 13:49:44 -06: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
deploy-postgrest
draft-release-notes release notes vN (#11077) 2024-04-26 17:18:17 -06:00
drop-test-dbs
generate-eula-rtf
generate-licenses Remove extra cargo install cargo-about (#13077) 2024-06-14 18:02:20 -04:00
get-changes-since
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-linux linux make install (#12870) 2024-06-10 20:43:13 -06:00
install.sh Dealing with missing arm architectures (#13349) 2024-06-21 10:46:25 +03:00
kube-shell
linux Add jq as a dependency for Linux script for Arch Linux (#13569) 2024-06-27 09:58:53 -06:00
metal-debug
randomized-test-ci
randomized-test-minimize
reset_db
run-local-minio
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
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
zed-local Allow canceling in-progress language server work (e.g. cargo check) (#13173) 2024-06-17 17:58:47 -07:00