- 28 Jun, 2019 1 commit
-
-
Steven Allen authored
fallback executor support
-
- 14 Jun, 2019 2 commits
-
-
Steven Allen authored
This allows _trying_ to execute a command on a daemon, failing, and falling back on another executor.
-
Steven Allen authored
This is a breaking change and will affect Filecoin. However, filecoin is currently using this incorrectly anyways (breaking PreRun and PostRun).
-
- 13 Jun, 2019 3 commits
-
-
Steven Allen authored
We _need_ to do this before calling PreRun but it's also nice to do this before bothering the server.
-
Steven Allen authored
make ErrorType a valid error and implement Unwrap on Error
-
Steven Allen authored
That way, go 1.13's errors library can check if an error "is" one of these error types.
-
- 11 Jun, 2019 1 commit
-
-
Steven Allen authored
feat: improve error codes
-
- 06 Jun, 2019 2 commits
-
-
Steven Allen authored
Fix a typo
-
Devin authored
-
- 05 Jun, 2019 1 commit
-
-
Steven Allen authored
* remove ErrNotFound - it isn't used. If we want to type not-found errors, we should consider adding a new error "subtype" field. All the current errors are effectively transport-level errors. * remove ErrFatal - it's unclear how this should be handled. * add ErrRateLimited - requested by @MichaelMure * add ErrForbidden
-
- 25 May, 2019 3 commits
-
-
Steven Allen authored
fix: use golang's http.Error to send errors
-
Steven Allen authored
-
Steven Allen authored
This: 1. Ensures the correct content type. 2. Tells browsers not to sniff the content type. This prevents any nasties from happening...
-
- 14 May, 2019 9 commits
-
-
Steven Allen authored
improve help text on narrow terminals
-
hannahhoward authored
If the io.writer given to help text is the terminal, read its width. otherwise, use a default.
-
Steven Allen authored
Otherwise, `ipfs daemon --help` and `ipfs p2p --help` look terrible.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
We could be fancier and figure out the terminal width but wrapping at a fixed 80c is a decent start.
-
Steven Allen authored
Instead of aligning flags in columns, display them right next to each other. Otherwise, they take up *way* too much space.
-
- 13 May, 2019 4 commits
-
-
Steven Allen authored
chore: remove an old hack
-
Steven Allen authored
http: use the request context
-
Steven Allen authored
-
Steven Allen authored
CloseNotifier has been deprecated for a while. Also, ditch the "environment" context. We don't actually _need_ this.
-
- 11 May, 2019 6 commits
-
-
Steven Allen authored
merge in go-ipfs-cmdkit
-
Steven Allen authored
Tested with go-ipfs and this doesn't seem necessary anymore.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
- 30 Apr, 2019 2 commits
-
-
Steven Allen authored
fix: return the correct error
-
Steven Allen authored
This was causing cancel errors to be printed twice.
-
- 09 Apr, 2019 2 commits
-
-
Steven Allen authored
sync: add yet another sync error
-
Steven Allen authored
fixes https://github.com/ipfs/go-ipfs/issues/6193
-
- 28 Mar, 2019 1 commit
-
-
Steven Allen authored
Removed broken link from readme
-
- 27 Mar, 2019 1 commit
-
-
Steven Allen authored
Fix broken link in readme
-
- 26 Mar, 2019 2 commits
-
-
Andrew Nesbitt authored
-
Andrew Nesbitt authored
-