1. 03 Nov, 2015 1 commit
  2. 28 Jul, 2015 2 commits
  3. 21 Jul, 2015 1 commit
  4. 01 Jun, 2015 1 commit
  5. 20 Apr, 2015 1 commit
    • Jeromy's avatar
      fix for #1008 and other pinning fixes · 99bdf197
      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
      99bdf197
  6. 15 Apr, 2015 1 commit
  7. 31 Mar, 2015 1 commit
  8. 24 Mar, 2015 1 commit
  9. 24 Feb, 2015 1 commit
  10. 31 Jan, 2015 1 commit
  11. 07 Jan, 2015 2 commits
    • Juan Batiz-Benet's avatar
      ipfs object has learned stat · 60d2be9f
      Juan Batiz-Benet authored
      'ipfs object stat' is a plumbing command to print DAG
      node statistics. <key> is a base58 encoded multihash.
      It outputs to stdout:
      
        NumLinks        int number of links in link table
        BlockSize       int size of the raw, encoded data
        LinksSize       int size of the links segment
        DataSize        int size of the data segment
        CumulativeSize  int cumulative size of object and references
      60d2be9f
    • Juan Batiz-Benet's avatar
      merkledag: split off node.go · f93ea20c
      Juan Batiz-Benet authored
      f93ea20c