1. 01 Aug, 2016 1 commit
  2. 08 Jul, 2016 1 commit
  3. 28 Jun, 2016 1 commit
  4. 26 Jun, 2016 1 commit
    • Thomas Gardner's avatar
      commands: remove EnableStdin support for StringArg · ddc8d0c6
      Thomas Gardner authored
      With verbose flag:
      * remove EnableStdin() flags on all StringArg,
      
      * remove all unneeded parsing code for StringArg, and print an
      * informative message if `ipfs` begins reading from a CharDevice,
      
      * remove broken go tests for EnableStdin cli parsing, and add some
      * trivial test cases for reading FileArg from stdin,
      
      * add a panic to prevent EnableStdin from being set on
      * StringArg in the future.
      
      Resolves: #2877, #2870
      License: MIT
      Signed-off-by: default avatarThomas Gardner <tmg@fastmail.com>
      ddc8d0c6
  5. 31 May, 2016 1 commit
  6. 24 May, 2016 1 commit
  7. 21 May, 2016 1 commit
  8. 28 Apr, 2016 1 commit
  9. 12 Apr, 2016 2 commits
  10. 12 Feb, 2016 1 commit
  11. 03 Oct, 2015 2 commits
  12. 04 Sep, 2015 1 commit
  13. 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
  14. 29 Jul, 2015 2 commits
    • Juan Batiz-Benet's avatar
      add -w comprehensive tests · 5f59556f
      Juan Batiz-Benet authored
      made many more tests for ipfs add -w
      
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      5f59556f
    • 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
  15. 23 Jun, 2015 1 commit
  16. 23 May, 2015 1 commit
  17. 19 May, 2015 1 commit
  18. 06 May, 2015 1 commit
  19. 04 Mar, 2015 1 commit
  20. 08 Feb, 2015 1 commit
  21. 04 Feb, 2015 1 commit
  22. 02 Feb, 2015 2 commits
  23. 10 Jan, 2015 1 commit
  24. 07 Jan, 2015 1 commit
  25. 06 Jan, 2015 3 commits
  26. 05 Jan, 2015 1 commit
    • Juan Batiz-Benet's avatar
      sharness: nice verbose ouput · be4191d8
      Juan Batiz-Benet authored
      Make sharness tests' output helpful when verbose.
      This means cating certain files, or running diagnostic
      commands. I used a construction like:
      
          test_expect_success ".go-ipfs/ has been created" '
            test -d ".go-ipfs" &&
            test -f ".go-ipfs/config" &&
            test -d ".go-ipfs/datastore" ||
            fsh ls -al .go-ipfs
          '
      
      The `|| ...` is a diagnostic run when the preceding command
      fails. `fsh` is a trivial script that echoes the args, runs
      the cmd, and then also fails, making sure the test case fails.
      (wouldnt want the diagnostic accidentally returning true and
      making it _seem_ like the test case succeeded).
      be4191d8
  27. 30 Nov, 2014 1 commit
  28. 23 Nov, 2014 1 commit
  29. 20 Nov, 2014 4 commits
  30. 18 Nov, 2014 2 commits