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

migration: Remove tor files from prior version on Linux #2941

Conversation

alvasw
Copy link
Contributor

@alvasw alvasw commented Oct 21, 2024

PR #2938 unbundles Tor from Bisq on Linux and switches to the OSes Tor binary. If a user updates from a prior version their data directory will contain the old extracted Tor binaries. The migration in this change removes the obsolete files.

alvasw added 10 commits October 19, 2024 22:57
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
During Bisq's installation the OS's package manager automatically
installs Tor and its required dependecies.
During Bisq's installation the OS's package manager automatically
installs Tor and its required dependecies.
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.
- Test with data directory before MigrationService was introduced
- Test with invalid data directory version
- Test with valid data directory version
This migration writes the current version number to the data directory.
The remaining migrations depend on another open PR and will follow soon.
PR bisq-network#2938 unbundles Tor from Bisq on Linux and switches to the OSes Tor
binary. If a user updates from a prior version their data directory will
contain the old extracted Tor binaries. The migration in this change
removes the obsolete files.
@HenrikJannsen HenrikJannsen merged commit 6bf80a2 into bisq-network:main Oct 22, 2024
20 checks passed
@HenrikJannsen HenrikJannsen added this to the 2.1.3 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants