1. 13 Apr, 2016 1 commit
  2. 12 Apr, 2016 2 commits
  3. 13 Feb, 2016 1 commit
  4. 24 Jan, 2016 1 commit
  5. 21 Jan, 2016 3 commits
  6. 15 Jan, 2016 1 commit
  7. 12 Jan, 2016 13 commits
  8. 22 Dec, 2015 1 commit
  9. 10 Nov, 2015 1 commit
  10. 10 Oct, 2015 1 commit
  11. 05 Sep, 2015 3 commits
  12. 02 Sep, 2015 1 commit
  13. 31 Aug, 2015 1 commit
  14. 30 Aug, 2015 1 commit
  15. 27 Aug, 2015 1 commit
  16. 12 Aug, 2015 1 commit
    • Juan Batiz-Benet's avatar
      cmds/add: use dagutils.Editor, like patch · 978c9fa1
      Juan Batiz-Benet authored
      This changes the pin behavior. It uses the filenames given through
      the api, and allows files to be streamed faltly (not a hierarchy),
      which is easier for other things (like vinyl in node-ipfs-api land).
      Files can also be entirely out of order, and the garbage intermediate
      directories will not be pinned (gc-ed later).
      
      The changes also mean the output of add has changed slightly-- it
      no longer shows the local path added, but rather the dag path
      relative to the added roots. This is a small difference, but changes
      tests.
      
      The dagutils.Editor creates a lot of chaff (intermediate objects)
      along the way. Wonder how we might minimize the writes to the
      datastore...
      
      This commit also removes the "NilRepo()" part of the --only-hash
      mode. We need to store at least in an in-mem repo/datastore because
      otherwise the dagutils.Editor breaks.
      
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      978c9fa1
  17. 08 Aug, 2015 1 commit
  18. 29 Jul, 2015 2 commits
    • Juan Batiz-Benet's avatar
      add -w improvement: wrap multiple files in one dir · 4a7c1cf8
      Juan Batiz-Benet authored
        > ipfs add a b c
        added Qmbvkmk9LFsGneteXk3G7YLqtLVME566ho6ibaQZZVHaC9 a
        added QmR9pC5uCF3UExca8RSrCVL8eKv7nHMpATzbEQkAHpXmVM b
        added QmetGxZTgo8tYAKQH1KLsY13MxqeVHbxYVmvzBzJAKU6Z7 c
        added QmXg3WHLcjnz4ejeYF6FKVBkb4m1oKjQmF5fEWL9M1uQF3
      
        > ipfs ls QmXg3WHLcjnz4ejeYF6FKVBkb4m1oKjQmF5fEWL9M1uQF3
        Qmbvkmk9LFsGneteXk3G7YLqtLVME566ho6ibaQZZVHaC9 10 a
        QmR9pC5uCF3UExca8RSrCVL8eKv7nHMpATzbEQkAHpXmVM 10 b
        QmetGxZTgo8tYAKQH1KLsY13MxqeVHbxYVmvzBzJAKU6Z7 10 c
      
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      4a7c1cf8
    • Juan Batiz-Benet's avatar
      add -w: fix to work correctly with dirs. · 6e6badf1
      Juan Batiz-Benet authored
      this commit changes the behavior of ipfs add -w:
      
      - it makes it able to work with ipfs add -r <dir>
      - instead of hacking around the add, we simply just add a wrapper
        directory around the whole result of the add. this means that
        ipfs add -w calls will output _two_ lines, but this is actually
        more correct than outputting one line, as two objects were added.
        this _may_ break scripts out there which expect the output to
        look a certain way. we should consider whether the old output is
        more _useful_ (even if less in-line with the model.)
      
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      6e6badf1
  19. 24 Jul, 2015 1 commit
  20. 21 Jul, 2015 1 commit
  21. 09 Jul, 2015 1 commit
  22. 22 Jun, 2015 1 commit