From 6ffb4b7466c914a2683847b5fb4e30ea16749e94 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Mon, 30 Apr 2018 15:25:51 -0400 Subject: [PATCH] doc: go away snap Snap has caused a number of nonsensical bug reports, and not even the `--classic` flag seems capable of fixing them. Therefore, remove snap from the README and put in a special line in the ISSUE_TEMPLATE about snap. FIxes #902 --- ISSUE_TEMPLATE.md | 6 ++++++ README.md | 15 ++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index bf9abe9b..d851750f 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -2,6 +2,12 @@ Replace this text with the output of `rg --version`. +#### How did you install ripgrep? + +If you installed ripgrep with snap and are getting strange file permission or +file not found errors, then please do not file a bug. Instead, use one of the +Github binary releases. + #### What operating system are you using ripgrep on? Replace this text with your operating system and version. diff --git a/README.md b/README.md index 0ed617c2..84a0011e 100644 --- a/README.md +++ b/README.md @@ -265,17 +265,10 @@ $ curl -LO https://github.com/BurntSushi/ripgrep/releases/download/0.8.1/ripgrep $ sudo dpkg -i ripgrep_0.8.1_amd64.deb ``` -If you're an **Ubuntu** user, ripgrep can be installed from the `snap` store. - -* Note that if you are using `16.04 LTS` or later, snap is already installed. -* For older versions you can install snap using - [this guide](https://docs.snapcraft.io/core/install-ubuntu). - -For the latest stable release: - -``` -$ sudo snap install --classic rg -``` +(N.B. Various snaps for ripgrep on Ubuntu are also available, but none of them +seem to work right and generate a number of very strange bug reports that I +don't know how to fix and don't have the time to fix. Therefore, it is no +longer a recommended installation option.) If you're a **Rust programmer**, ripgrep can be installed with `cargo`. * Note that the minimum supported version of Rust for ripgrep is **1.20**,