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

feat: periodic version check and json config #10438

Merged
merged 10 commits into from
Jul 24, 2024

Commits on Jun 19, 2024

  1. feat(cmds): add version check command

    schomatis authored and lidel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    a6f49ae View commit details
    Browse the repository at this point in the history
  2. feat(core): add periodic version check

    Matrix89 authored and lidel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    ad5cbff View commit details
    Browse the repository at this point in the history
  3. refactor: defensive version checks

    This refactor applies changes listed in
    ipfs#10438 (comment)
    namely
    - removes surface for panics on custom routing configurations
    - avoids running the check until one minute after node start, to allow
      for peerbook to populate
    - allow disabling version check via env. variable  (because there will
      be ask for this anyway)
    - make RPC command JSON more useful by including information
      about the size of sampled kubo nodes
    - make message more friendly to less technical users
    lidel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    cae6430 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e29ffe8 View commit details
    Browse the repository at this point in the history
  5. chore: mod tidy

    lidel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    ef968f4 View commit details
    Browse the repository at this point in the history
  6. fix: TestCommandDocsWidth

    lidel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    a65a90d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. refactor: Version.SwarmCheckEnabled

    replacing env variable with proper configuration flag
    that allows user to enable/disable checks on init etc.
    lidel committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8678bf3 View commit details
    Browse the repository at this point in the history
  2. refactor: Version.AgentSuffix

    wire up json config at Version.AgentSuffix to be applied
    when present, otherwise use --agent-version-suffix from ipfs daemon
    as before
    lidel committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    cfd0c99 View commit details
    Browse the repository at this point in the history
  3. test: Version.AgentSuffix

    lidel committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    40f6129 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b436814 View commit details
    Browse the repository at this point in the history