diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-07-11 07:11:16 +0000 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-07-11 07:11:16 +0000 |
commit | f9b0ce84cd3956ad169cb312c52398f7dd10d2fa (patch) | |
tree | d1057257791c1a0a9d7e3d7e369380f0438391fb /ipscrambling/README.md | |
parent | 4dcfe5eb84142df16f7b8c5431b4afeb2a28cbc2 (diff) | |
parent | 921756bb2f3bb7891386f5aac551fe775d454a78 (diff) |
Merge branch '2-integrate_ipscrambling_module' into 'main'
2: integrate ipscrambling module in git repos and update dependencies
See merge request e/os/advanced-privacy!137
Diffstat (limited to 'ipscrambling/README.md')
-rw-r--r-- | ipscrambling/README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ipscrambling/README.md b/ipscrambling/README.md new file mode 100644 index 0000000..777b6a1 --- /dev/null +++ b/ipscrambling/README.md @@ -0,0 +1,42 @@ +# Ipscrambling module + +This Module implements IpScramblerModule functionnalities with Tor, reliying on a fork of OrbotService. + +# Build + +Ipscrambling includes a git repo submodules of OrbotService, the module used by Orbot to run Tor + +Be sure that you have all of the git submodules up-to-date: + + git submodule update --init --recursive + +You can build the AAR modules : + + ./gradlew :ipscrambling:orbotservice:assembleRelease + +To deploy localy during development + + ./gradlew --console=verbose publishToMavenLocal + +This will put compiled AAR and pom file exposing their dependencies in the local maven +repository (usually in ~/.m2/repository). + + +To push release on gitlab + + ./gradlew --console=verbose publish + +# Update orbotservice to an upper Orbot version + +1. Upgrade the code: follow the steps in [orbotservice/README.md](orbotservice/README.md) +2. Prepare the orbotservice the dependencies : follow the steps in [exportdependencies/update_dependencies.md](exportdependencies/update_dependencies.md), first using the mvn install:install-file command +3. build and deploy orbotservice locally: + + ./gradlew :ipscrambling:orbotservice:assembleRelease + ./gradlew --console=verbose :ipscrambling:orbotservice:publishToMavenLocal + +5. Test this new version with advanced privacy, and merge the orbotservice. +6. deploy the orbotservice dependencies to gitlab registry see [exportdependencies/update_dependencies.md](exportdependencies/update_dependencies.md), using mvn deploy:deploy-file command +7. deploy orbotservice in gitlab registry + ./gradlew --console=verbose :orbotservice:publish +8. Create MR in AdvancedPrivacy. |