Skip to content
Snippets Groups Projects
Verified Commit 4b9ebd08 authored by Daniel Leidert's avatar Daniel Leidert :point_right:
Browse files

Refresh patch to remove fuzz

  * d/patches/rename: Refresh and update patch.
parent 9aaf9ac2
No related branches found
No related tags found
No related merge requests found
Pipeline #121912 passed
......@@ -3,6 +3,7 @@ gist (5.1.0-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream release.
* d/copyright: Add Upstream-Contact field.
* d/patches/rename: Refresh and update patch.
* d/upstream/metadata: Add Archive field and make it valid YAML.
-- Daniel Leidert <dleidert@debian.org> Thu, 02 Apr 2020 00:01:33 +0200
......
......@@ -4,14 +4,14 @@ Subject: Rename gist script to gist-paste, to not conflict with yorick.
Bug-Debian: https://bugs.debian.org/722662
---
README.md | 56 ++++++++++++++++++++++++++++----------------------------
README.md | 62 ++++++++++++++++++++++++++++++------------------------------
Rakefile | 2 +-
build/gist.1 | 26 +++++++++++++-------------
build/gist.1 | 26 ++++++++++++-------------
gist.gemspec | 2 +-
4 files changed, 43 insertions(+), 43 deletions(-)
4 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/README.md b/README.md
index 7c31de7..8fa414e 100644
index a2c1f60..8a13ba0 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
......@@ -27,7 +27,7 @@ index 7c31de7..8fa414e 100644
upload content to https://gist.github.com/.
## Installation
@@ -25,57 +25,57 @@ upload content to https://gist.github.com/.
@@ -30,65 +30,65 @@ upload content to https://gist.github.com/.
‌To upload the contents of `a.rb` just:
......@@ -78,7 +78,8 @@ index 7c31de7..8fa414e 100644
- gist -e <a.rb
+ gist-paste -e <a.rb
‌And you can just ask gist to open a browser window directly with `-o`.
-‌And you can just ask gist to open a browser window directly with `-o`.
+‌And you can just ask gist-open to open a browser window directly with `-o`.
- gist -o <a.rb
+ gist-paste -o <a.rb
......@@ -102,34 +103,40 @@ index 7c31de7..8fa414e 100644
## Login
@@ -83,7 +83,7 @@ If you want to associate your gists with your GitHub account, you need to login
with gist. It doesn't store your username and password, it just uses them to get
If you want to associate your gists with your GitHub account, you need to login
-with gist. It doesn't store your username and password, it just uses them to get
+with gist-paste. It doesn't store your username and password, it just uses them to get
an OAuth2 token (with the "gist" permission).
- gist --login
+ gist-paste --login
Obtaining OAuth2 access_token from github.
Obtaining OAuth2 access_token from GitHub.
GitHub username: ConradIrwin
GitHub password:
@@ -96,7 +96,7 @@ file.
@@ -116,19 +116,19 @@ The `umask` ensures that the file is only accessible from your user account.
‌After you've done this, you can still upload gists anonymously with `-a`.
### GitHub Enterprise
- gist -a a.rb
+ gist-paste -a a.rb
#### Password-less login
@@ -118,7 +118,7 @@ you need to export the `GITHUB_URL` environment variable (usually done in your `
-If you'd like `gist` to use your locally installed [GitHub Enterprise](https://enterprise.github.com/),
+If you'd like `gist-paste` to use your locally installed [GitHub Enterprise](https://enterprise.github.com/),
you need to export the `GITHUB_URL` environment variable (usually done in your `~/.bashrc`).
export GITHUB_URL=http://github.internal.example.com/
-Once you've done this and restarted your terminal (or run `source ~/.bashrc`), gist will
+Once you've done this and restarted your terminal (or run `source ~/.bashrc`), gist-paste will
automatically use github enterprise instead of the public github.com
automatically use GitHub Enterprise instead of the public github.com
Your token for GitHub Enterprise will be stored in `.gist.<protocol>.<server.name>[.<port>]` (e.g.
@@ -133,7 +133,7 @@ setting it to the public URL will not work. Use `unset GITHUB_URL`
`~/.gist.http.github.internal.example.com` for the GITHUB_URL example above) instead of `~/.gist`.
If you have multiple servers or use Enterprise and public GitHub often, you can work around this by creating scripts
-that set the env var and then run `gist`. Keep in mind that to use the public GitHub you must unset the env var. Just
+that set the env var and then run `gist-paste`. Keep in mind that to use the public GitHub you must unset the env var. Just
setting it to the public URL will not work. Use `unset GITHUB_URL`
### Token file format
@@ -136,7 +136,7 @@ setting it to the public URL will not work. Use `unset GITHUB_URL`
If you cannot use passwords, as most Enterprise installations do, you can generate the token via the web interface
and then simply save the string in the correct file. Avoid line breaks or you might see:
```
......@@ -138,7 +145,7 @@ index 7c31de7..8fa414e 100644
Error: Bad credentials
```
@@ -170,12 +170,12 @@ in `~/.gist`, where it can later be read by `Gist.gist`
@@ -172,12 +172,12 @@ in `~/.gist`, where it can later be read by `Gist.gist`
## Configuration
......@@ -147,14 +154,14 @@ index 7c31de7..8fa414e 100644
alias to your `~/.bashrc` (or equivalent). For example:
- alias gist='gist -c'
+ alias gist='gist-paste -c'
+ alias gist-paste='gist-paste -c'
-‌If you'd prefer gist to open a different browser, then you can export the BROWSER
+‌If you'd prefer gist-paste to open a different browser, then you can export the BROWSER
environment variable:
export BROWSER=google-chrome
@@ -184,7 +184,7 @@ If clipboard or browser integration don't work on your platform, please file a b
@@ -186,7 +186,7 @@ If clipboard or browser integration don't work on your platform, please file a b
(more ideally) a pull request.
If you need to use an HTTP proxy to access the internet, export the `HTTP_PROXY` or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment