sahib / brig

File synchronization on top of ipfs with git like interface & web based UI
https://brig.readthedocs.io
GNU Affero General Public License v3.0
567 stars 33 forks source link

Compile src code, and get "cmd/parser.go:594: object/stat: removed, use 'ipfs dag' or 'ipfs files' instead" during run brig #125

Open chungyan5 opened 1 week ago

chungyan5 commented 1 week ago

Describe the bug

After success of compile the src code from poka-IT/brig - develop branch, i installed IPFS 0.32.0, I try to run brig for init. as "brig --repo /my/folder/path/brig-folder init user_name@my-domain.com/server1 --ipfs-path-or-multiaddr /my/folder/path/ipfs-folder", i get the above error message. I guess as some old (Obselete) vs new IPFS commands.

Could anyone please to give me some hints which part of the source code to handle this issue? I traced the src, but little bit complex as using https://capnproto.org/ to communicate with IPFS; Or any debug signal i can turn ON to let me trace the code.

chungyan5 commented 3 days ago

For current latest develop branch (on ~2021), we should setup the development environment for compiling source code at ~2021 platform, which is: