1. 12 Jan, 2016 2 commits
    • Jeromy's avatar
      merkledag FetchGraph and EnumerateChildren · b6915124
      Jeromy authored
      This commit improves (fixes) the FetchGraph call for recursively
      fetching every descendant node of a given merkledag node. This operation
      should be the simplest way of ensuring that you have replicated a dag
      locally.
      
      This commit also implements a method in the merkledag package called
      EnumerateChildren, this method is used to get a set of the keys of every
      descendant node of the given node. All keys found are noted in the
      passed in KeySet, which may in the future be implemented on disk to
      avoid excessive memory consumption.
      
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      b6915124
    • Tommi Virtanen's avatar
      Simplify Pinner interface by folding ManualPinner into Pinner · 27f6f389
      Tommi Virtanen authored
      Pinner had method GetManual that returned a ManualPinner, so every
      Pinner had to implement ManualPinner anyway.
      
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      27f6f389
  2. 14 Dec, 2015 1 commit
  3. 05 Nov, 2015 1 commit
  4. 03 Nov, 2015 1 commit
  5. 27 Oct, 2015 1 commit
  6. 03 Oct, 2015 1 commit
  7. 15 Sep, 2015 1 commit
  8. 05 Sep, 2015 3 commits
  9. 23 Aug, 2015 3 commits
  10. 20 Aug, 2015 1 commit
  11. 17 Aug, 2015 1 commit
  12. 14 Aug, 2015 1 commit
  13. 11 Aug, 2015 1 commit
  14. 08 Aug, 2015 1 commit
  15. 29 Jul, 2015 1 commit
  16. 28 Jul, 2015 2 commits
  17. 21 Jul, 2015 1 commit
  18. 10 Jul, 2015 2 commits
  19. 09 Jul, 2015 1 commit
  20. 03 Jun, 2015 1 commit
  21. 01 Jun, 2015 1 commit
  22. 30 May, 2015 1 commit
  23. 28 May, 2015 1 commit
  24. 26 May, 2015 1 commit
  25. 18 May, 2015 1 commit
  26. 28 Apr, 2015 1 commit
  27. 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
  28. 15 Apr, 2015 1 commit
  29. 31 Mar, 2015 1 commit
  30. 24 Mar, 2015 2 commits
  31. 07 Mar, 2015 1 commit
  32. 27 Feb, 2015 1 commit