1. 20 Apr, 2015 6 commits
    • gatesvp's avatar
      Move IPNS resolutions into the core library · 31ff9545
      gatesvp authored
      Move IPNS resolutions into the core library via the pathresolver.go
      file. Fix the CLI commands to leverage this core component.
      31ff9545
    • Juan Batiz-Benet's avatar
      Merge pull request #1098 from ipfs/rm-debugerror · 7bba8004
      Juan Batiz-Benet authored
      remove debugerrors
      7bba8004
    • Juan Batiz-Benet's avatar
      remove debugerrors · 140cd1fd
      Juan Batiz-Benet authored
      We now consider debugerrors harmful: we've run into cases where
      debugerror.Wrap() hid valuable error information (err == io.EOF?).
      I've removed them from the main code, but left them in some tests.
      Go errors are lacking, but unfortunately, this isn't the solution.
      
      It is possible that debugerros.New or debugerrors.Errorf should
      remain still (i.e. only remove debugerrors.Wrap) but we don't use
      these errors often enough to keep.
      140cd1fd
    • Juan Batiz-Benet's avatar
      Merge pull request #1010 from ipfs/fix/pin-bug · b483fdc9
      Juan Batiz-Benet authored
      fix pinning
      b483fdc9
    • Jeromy's avatar
      functions dont need to be called functions · ef56f4f8
      Jeromy authored
      ef56f4f8
    • Jeromy's avatar
      fix for #1008 and other pinning fixes · 0a6b880b
      Jeromy authored
      This commit adds a new set of sharness tests for pinning, and addresses
      bugs that were pointed out by said tests.
      
      test/sharness: added more pinning tests
      
      Pinning is currently broken. See issue #1051. This commit introduces
      a few more pinning tests. These are by no means exhaustive, but
      definitely surface the present problems going on. I believe these
      tests are correct, but not sure. Pushing them as failing so that
      pinning is fixed in this PR.
      
      make pinning and merkledag.Get take contexts
      
      improve 'add' commands usage of pinning
      
      FIXUP: fix 'pin lists look good'
      
      ipfs-pin-stat simple script to help check pinning
      
      This is a simple shell script to help check pinning.
      
      We ought to strive towards making adding commands this easy.
      The http api is great and powerful, but our setup right now
      gets in the way. Perhaps we can clean up that area.
      
      updated t0081-repo-pinning
      
      - fixed a couple bugs with the tests
      - made it a bit clearer (still a lot going on)
      - the remaining tests are correct and highlight a problem with
        pinning. Namely, that recursive pinning is buggy. At least:
        towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should
        be pinned indirectly, but they're not. And thus get gc-ed out.
        There may be other problems too.
      
      cc @whyrusleeping
      
      fix grep params for context deadline check
      
      fix bugs in pin and pin tests
      
      check for block local before checking recursive pin
      0a6b880b
  2. 19 Apr, 2015 7 commits
  3. 17 Apr, 2015 4 commits
  4. 15 Apr, 2015 2 commits
  5. 14 Apr, 2015 6 commits
  6. 13 Apr, 2015 10 commits
  7. 12 Apr, 2015 5 commits