Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filesystem/debug: improved NewServer #37

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Jun 13, 2018

  1. filesystem: new API to create FileServer

    NewServer with callbacks based on functional options for friendly APIs.
    Replaces NewUFS. Add .Debug() to return a Debug-enabled version of the
    FileServer.
    
    Remove -root and -debug flags, use functional options instead.
    
    Most likely will conflict with Harvey-OS#32.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    8807902 View commit details
    Browse the repository at this point in the history
  2. ufs: fix command

    Based on NewServer rather than NewUFS.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    cab800e View commit details
    Browse the repository at this point in the history
  3. filesystem: fix tests

    Use NewServer rather than NewUFS.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    54ad6d4 View commit details
    Browse the repository at this point in the history
  4. various: create debug package

    Add debug.Server which wraps a NineServer and logs before and after
    calling functions for the underlying server. Add Trace option to
    protocol.Server.
    
    Makes Harvey-OS#34 obsolete
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    0a70593 View commit details
    Browse the repository at this point in the history
  5. filesystem: fix compilation errors

    Sloppy merge, should have tested build afterwards.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    e8dc951 View commit details
    Browse the repository at this point in the history
  6. protocol: fix tests

    Server.Trace was replaced by Trace option.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    37584d1 View commit details
    Browse the repository at this point in the history
  7. various: tweak trace

    Set trace for the various servers to no-op log by default. Users can
    then change the trace function using the Trace option.
    jcrussell committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    214246c View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. ufs: fix bug with default tracer

    Should not be nil otherwise the *.Trace will return an error.
    jcrussell committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    1afc65e View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. filesystem: fix windows build

    Forgot to s/File/file.
    jcrussell committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    35ad287 View commit details
    Browse the repository at this point in the history