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

Implement MigrationService #2939

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

Commits on Oct 19, 2024

  1. packaging: Add tor package to required Linux dependencies

    Tor failed to start for some users because their operating system didn't
    ship Tor's dependencies. This change instructs the package manager to
    install tor and all its required during the Bisq installation.
    
    Fixes bisq-network#2906
    alvasw committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    d378a42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    181f970 View commit details
    Browse the repository at this point in the history
  3. tor: Use system tor (installed by package manager)

    During Bisq's installation the OS's package manager automatically
    installs Tor and its required dependecies.
    alvasw committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    4c791be View commit details
    Browse the repository at this point in the history
  4. build-logic: Don't bundle Tor on Linux

    During Bisq's installation the OS's package manager automatically
    installs Tor and its required dependecies.
    alvasw committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    246535d View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. Implement MigrationService

    The MigrationService allows us to perform necessary migrations when
    upgrading to a new Bisq version. So far, the only option is to try to
    perform the migrations on each run. The MigrationService runs the
    necessary migrations if the data directory version is below the app
    version.
    alvasw committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    31167e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27f1a6a View commit details
    Browse the repository at this point in the history
  3. Test MigrationService data directory version detection

    - Test with data directory before MigrationService was introduced
    - Test with invalid data directory version
    - Test with valid data directory version
    alvasw committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    9d8187d View commit details
    Browse the repository at this point in the history
  4. Implement migration for v2.1.2

    This migration writes the current version number to the data directory.
    The remaining migrations depend on another open PR and will follow soon.
    alvasw committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    c216cca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff2dca8 View commit details
    Browse the repository at this point in the history