1. 30 May, 2015 3 commits
    • rht's avatar
      Add newline to 'ipfs init' error message · f5d5095b
      rht authored
      f5d5095b
    • rht's avatar
      Add test for no repo error message · 17d71c49
      rht authored
      17d71c49
    • Jeromy's avatar
      Move findproviders out of main block request path · f574cd4b
      Jeromy authored
      This PR moves the addition of new blocks to our wantlist (and their
      subsequent broadcast to the network) outside of the clientWorker loop.
      This allows blocks to more quickly propogate to peers we are already
      connected to, where before we had to wait for the previous findProviders
      call in clientworker to complete before we could notify our partners of
      the next blocks that we want. I then changed the naming of the
      clientWorker and related variables to be a bit more appropriate to the
      model. Although the clientWorker (now named providerConnector) feels a
      bit awkward and should probably be changed.
      
      fix test assumption
      f574cd4b
  2. 29 May, 2015 1 commit
  3. 28 May, 2015 1 commit
  4. 26 May, 2015 1 commit
  5. 23 May, 2015 1 commit
  6. 22 May, 2015 1 commit
  7. 21 May, 2015 1 commit
  8. 20 May, 2015 2 commits
    • Jeromy's avatar
      clean up and fix init permissions handling · 8ea502f1
      Jeromy authored
      8ea502f1
    • W. Trevor King's avatar
      core/commands/publish: Fix published message · e4447b3c
      W. Trevor King authored
      Previously we had a confusing situation, with:
      
      * single-arg doc: published name <name> to <value>
      * double-arg doc: published name <value> to <name>
      * implementation: Published name <name> to <value>
      
      Now we have the uniform:
      
        Published to <name>: <value>
      
      With the following goals:
      
      1. It's clear that we're writing <value> to <name>'s IPNS slot in the
         DHT.
      2. We preserve the order of arguments from the command-line
         invocation:
      
           $ ipfs name publish <name> <value>
           Published to <name>: <value>
      e4447b3c
  9. 19 May, 2015 1 commit
  10. 18 May, 2015 1 commit
  11. 10 May, 2015 2 commits
  12. 08 May, 2015 1 commit
    • Henry's avatar
      core: add context.Context param to core.Resolve() · f640ba00
      Henry authored
      commands/object: remove objectData() and objectLinks() helpers
      resolver: added context parameters
      sharness: $HASH carried the \r from the http protocol with
      sharness: write curl output to individual files
      http gw: break PUT handler until PR#1191
      f640ba00
  13. 06 May, 2015 1 commit
  14. 05 May, 2015 1 commit
  15. 28 Apr, 2015 2 commits
  16. 27 Apr, 2015 4 commits
  17. 26 Apr, 2015 2 commits
  18. 23 Apr, 2015 1 commit
  19. 21 Apr, 2015 8 commits
  20. 20 Apr, 2015 3 commits
    • Christian Couder's avatar
      config: change default config dir name to .ipfs · 96a22c5b
      Christian Couder authored
      This changes .go-ipfs to .ipfs everywhere.
      And by the way this defines a DefaultPathName const
      for this name.
      
      License: MIT
      Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
      96a22c5b
    • 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
  21. 12 Apr, 2015 1 commit
  22. 07 Apr, 2015 1 commit
    • Tor Arne Vestbø's avatar
      Don't use wildcards to look for .go files in tests makefile · f2dd060e
      Tor Arne Vestbø authored
      GNU Make's wildcard function does not recurse into subdirectories when
      passed the '**' glob, which results in adding a dependency only to .go
      files in the first level of subdirectories under the source root.
      
      We shell out to 'find' instead, which catches all .go files in the
      given directory.
      f2dd060e