Closed daviddias closed 7 months ago
Yeah, this is funky. It's loading the plugins from the default repo because there aren't going to be any in the temp repo. Honestly, it doesn't really need to load any plugins from disk.
However, it doesn't really hurt to try to load the user's plugins.
https://github.com/ipfs/ipget/blob/70497d76183e7d702b00c9b2fc77d9e3fdf50049/node.go#L77-L89 sets the plugins on the defaultPath, but then calls tempNode that goes on and creates a repo on a new temporary directory https://github.com/ipfs/ipget/blob/70497d76183e7d702b00c9b2fc77d9e3fdf50049/node.go#L92.
Doesn't seem right, but I be missing a goism or two :)