ipfs / ipfs/boxo

pinning/http: Add support for status wildcard

Open
#380 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

> cc https://github.com/ipfs/go-ipfs/issues/7559

Passing all four states is tedious.
I found myself wishing something like this was possible:

```console
$ ipfs pin remote ls --status=any # show me all pins in all states
$ ipfs pin remote rm --status=any --force # purge remote service from all the pins
```

While we want to keep `pinned` as the default for performance reasons,
having `any` would be nice UX improvement.

@aschmahmann I was going to PR go-ipfs and add it there, but now I wonder if it does make sense to add support for `Any` status directly to this lib, and replace it with `Queued,Pinning,Pinned,Failed` behind the curtain. Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.