"ipfs add -n FILE" should not require "ipfs init" #7990
Labels
effort/days
Estimated to take multiple days, but less than a week
exp/expert
Having worked on the specific codebase is important
kind/bug
A bug in existing code (including security flaws)
P3
Low: Not priority right now
Version information:
Description:
When adding a file using
-n
(--only-hash
), there should not be the need to initialize the IPFS repo.Currently, if you install ipfs but don't run
ipfs init
(or cleanup usingrm -rf ~/.ipfs
),ipfs add -n FILE
will fail with:So it is correct that no IPFS repo can be found but that should not be required to only hash.
The text was updated successfully, but these errors were encountered: