1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 09:34:03 +08:00

1534 Commits

Author SHA1 Message Date
4902361fd5 cmd/ipfs2: Updated readme 2014-11-14 03:17:40 -08:00
c468a4dbf5 core/commands2: Use Argument constructors in commands 2014-11-14 03:17:39 -08:00
40e96a1fa6 commands: Added Argument helper constructors 2014-11-14 03:17:39 -08:00
8b14012bba refactor(ipfs2/main) rm exit 2014-11-14 03:17:39 -08:00
ad5ad912ce refactor(ipfs2/main) use guard 2014-11-14 03:17:39 -08:00
74b38cb65f refactor(ipfs2/main) change the way we handle profiling 2014-11-14 03:17:39 -08:00
d72af9c910 refactor(ipfs2/main) return err 2014-11-14 03:17:39 -08:00
9268bdd56e refactor(ipfs2/main) replace with equivalent action 2014-11-14 03:17:39 -08:00
fa5ca3f27f refactor(ipfs2/main) output response 2014-11-14 03:17:39 -08:00
cda68a19d0 refactor(ipfs2/main) return err 2014-11-14 03:17:39 -08:00
13a90537d6 refactor(ipfs2/main)
* bring debug checking back to top level so we have more control over
  CPU profiling.

* bring help text up to top level so we can exit from the program
  at the top level instead of within an arbitrary function
2014-11-14 03:17:38 -08:00
2473d2d720 refactor(ipfs2/main) same for debug 2014-11-14 03:17:38 -08:00
28be8a6171 refactor(ipfs2/main) check err before 2014-11-14 03:17:38 -08:00
f79f1267f7 refactor(ipfs2/main) split lines 2014-11-14 03:17:38 -08:00
203a0723ba refactor(ipfs2/main) return errors in main 2014-11-14 03:17:38 -08:00
f1fc26e70b commands: Removed a fmt.Println 2014-11-14 03:17:38 -08:00
a9bd172414 commands: Fixed handling of int/uint option values 2014-11-14 03:17:38 -08:00
17c5923160 core/commands2: Fixed init option definition 2014-11-14 03:17:38 -08:00
3e507f7c9f commands: Changed option accessor API (Request#Option now returns an OptionValue) 2014-11-14 03:17:38 -08:00
20591c7e64 commands: Made SetOption override existing values (even if they used a different alias) 2014-11-14 03:17:37 -08:00
e34a0fd658 commands: Updated tests 2014-11-14 03:17:37 -08:00
d700a2ce87 cmd/ipfs2: Cleaned up main option checking (no longer need temporary Request) 2014-11-14 03:17:37 -08:00
eebb43753b commands: Added list of option definitions to Request, so Option can lookup values by all aliases 2014-11-14 03:17:37 -08:00
ce28fa363b commands: Fixed tests 2014-11-14 03:17:37 -08:00
8ee3e996cc core/commands2: Use Option constructors in commands 2014-11-14 03:17:37 -08:00
38b31c65f8 commands: Added Option helper constructors 2014-11-14 03:17:37 -08:00
3e30093c2b core/commands2: Updated commands to new Run function API 2014-11-14 03:17:37 -08:00
2029168e98 commands: Made Command run functions return (interface{}, error) instead of setting the values in the response 2014-11-14 03:17:37 -08:00
352c29418f core/commands2: Made 'ls' output match old command 2014-11-14 03:17:36 -08:00
68693783fe core/commands2: Made 'resolve' output match old command 2014-11-14 03:17:36 -08:00
2d756473f6 core/command2: Make help text match old commands 2014-11-14 03:17:36 -08:00
3406ee0ef4 core/commands2: Added 'refs' command 2014-11-14 03:17:36 -08:00
a1d34365e4 core/commands2: Restored logging that got removed 2014-11-14 03:17:36 -08:00
91da11ae66 core/commands2: Replaced NewDagFromReader with BuildDagFromReader 2014-11-14 03:17:36 -08:00
f4d0b8baa0 clarity(util) ToReaders -> CastToReaders 2014-11-14 03:17:36 -08:00
38a6d0ead0 fix(init) version 2014-11-14 03:17:36 -08:00
8ffd27a6e1 fix(init) inline bootstrap peers 2014-11-14 03:17:36 -08:00
b3ea49954a cmd/ipfs2: Handle SIGTERM 2014-11-14 03:17:35 -08:00
cc519c47a3 cmd/ipfs2: Ensure process exits smoothly 2014-11-14 03:17:35 -08:00
f3733873de core/commands2: Fixed 'object get' dagnode output format 2014-11-14 03:17:35 -08:00
f1c788d710 commands/http: Don't set Content-Type for stream outputs so browsers can MIME-sniff the actual content type 2014-11-14 03:17:35 -08:00
35983b480a cmd/ipfs2: Made '/ipfs' handler return more accurate HTTP response codes, resolves #287 2014-11-14 03:17:35 -08:00
897e0f869f cmds/ipfs2: Added '/ipfs' HTTP handling 2014-11-14 03:17:35 -08:00
5a18554f6e commands: Fixed tests 2014-11-14 03:17:35 -08:00
652e3d0523 core/commands2: Fixed 'add' output adding an empty object 2014-11-14 03:17:35 -08:00
20285ead82 commands: Indent JSON-marshalled Response output 2014-11-14 03:17:34 -08:00
c8345bb5c6 core/commands2: 'object' description formatting improvements 2014-11-14 03:17:34 -08:00
3d94e89dd1 cmd/ipfs2: Made error messages more visible 2014-11-14 03:17:34 -08:00
c542cb52aa core/commands2: Added 'object' command 2014-11-14 03:17:34 -08:00
cdf221078d commands: Fixed tests 2014-11-14 03:17:34 -08:00