1. 13 Sep, 2015 1 commit
  2. 03 Sep, 2015 1 commit
  3. 02 Sep, 2015 1 commit
  4. 31 Aug, 2015 1 commit
  5. 30 Aug, 2015 1 commit
  6. 23 Aug, 2015 4 commits
  7. 20 Aug, 2015 2 commits
  8. 14 Aug, 2015 1 commit
  9. 08 Aug, 2015 1 commit
  10. 05 Aug, 2015 2 commits
    • Juan Batiz-Benet's avatar
      get: fix bug + improvements · 3e90d66e
      Juan Batiz-Benet authored
      up until now there has been a very annoying bug with get, we would
      get halting behavior. I'm not 100% sure this commit fixes it,
      but it should. It certainly fixes others found in the process of
      digging into the get / tar extractor code. (wish we could repro
      the bug reliably enough to make a test case).
      
      This is a much cleaner tar writer. the ad-hoc, error-prone synch
      for the tar reader is gone (with i believe was incorrect). it is
      replaced with a simple pipe and bufio. The tar logic is now in
      tar.Writer, which writes unixfs dag nodes into a tar archive (no
      need for synch here). And get's reader is constructed with DagArchive
      which sets up the pipe + bufio.
      
      NOTE: this commit also changes this behavior of `get`:
      When retrieving a single file, if the file exists, get would fail.
      this emulated the behavior of wget by default, which (without opts)
      does not overwrite if the file is there. This change makes get
      fail if the file is available locally. This seems more intuitive to
      me as expected from a unix tool-- though perhaps it should be
      discussed more before adopting.
      
      Everything seems to work fine, and i have not been able to reproduce
      the get halt bug.
      
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      3e90d66e
    • Juan Batiz-Benet's avatar
      unixfs/tar: cleaned up reader code · ff5195ac
      Juan Batiz-Benet authored
      License: MIT
      Signed-off-by: default avatarJuan Batiz-Benet <juan@benet.ai>
      ff5195ac
  11. 24 Jul, 2015 1 commit
  12. 01 Jun, 2015 1 commit
  13. 28 May, 2015 2 commits
  14. 18 May, 2015 1 commit
  15. 10 May, 2015 1 commit
  16. 28 Apr, 2015 1 commit
  17. 20 Apr, 2015 2 commits
    • gatesvp's avatar
      Move IPNS resolutions into the core library · 671dfd04
      gatesvp authored
      Move IPNS resolutions into the core library via the pathresolver.go
      file. Fix the CLI commands to leverage this core component.
      671dfd04
    • Jeromy's avatar
      fix for #1008 and other pinning fixes · fa99d7e3
      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
      fa99d7e3
  18. 31 Mar, 2015 1 commit
  19. 24 Mar, 2015 2 commits
  20. 12 Mar, 2015 9 commits
  21. 07 Mar, 2015 2 commits
  22. 27 Feb, 2015 1 commit
  23. 25 Feb, 2015 1 commit
    • Henry's avatar
      rewrote import paths of go.net/context to use golang.org/x/context · a6f72a53
      Henry authored
      - updated go-ctxgroup and goprocess
      ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
      - p2p/net/mock/mock_net.go
      - routing/dht/dht.go
      
      - updated context from hg repo to git
      prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
      represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo
      
      - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)
      
      Aaron Jacobs (2):
      net/context: Don't accept a context in the DoSomethingSlow example.
      context: Be clear that users must cancel the result of WithCancel.
      
      Andrew Gerrand (1):
      go.net: use golang.org/x/... import paths
      
      Bryan C. Mills (1):
      net/context: Don't leak goroutines in Done example.
      
      Damien Neil (1):
      context: fix removal of cancelled timer contexts from parent
      
      David Symonds (2):
      context: Fix WithValue example code.
      net: add import comments.
      
      Sameer Ajmani (1):
      context: fix TestAllocs to account for ints in interfaces
      a6f72a53