ipfs / ipfs/kubo

`ipfs pin ls` should list recursive pins only by default

Open
#5,556 5 comments 4 reactions 0 assignees View on GitHub
effort/hours exp/expert need/maintainers-input P2
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

Currently, `ipfs pin ls` will list all pins.
This is an expensive operation and it seems like most people want `ipfs pin ls --type=recursive` anyway.
I propose that we change this so that recursive pins are listed by default (`--type=recursive`), and `--type=all` should be explicitly required for listing all pins.

Even if we make listing all pins fast, @lgierth points out that `ipfs add` pins objects recursively by default. So we may want to still do this anyway for consistency's sake.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.