Skip to content

Rename package and source structure to com.bansify.internet - #6

Merged
GothwadTech merged 1 commit into
mainfrom
arena/e292d82f-internet
Nov 21, 2026
Merged

GothwadTech merged 1 commit into
mainfrom
arena/e292d82f-internet

Conversation

@GothwadTech

@GothwadTech GothwadTech commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Set the Android application ID and app namespace to com.bansify.internet, and the common resource namespace to com.bansify.internet.common.
  • Move all 136 app/common Kotlin source and test files to matching com/bansify/internet directories; update declarations, imports, fully qualified names, reflection, intent actions, XML views and R8/ProGuard rules.
  • Update Linux/macOS/Windows launcher and uninstaller package references, the macOS bundle ID, Play Store link and package-related docs.
  • Add a quality-gate regression check for application ID, namespace and source/test directory consistency, plus document that the new package is a separate Android installation without automatic data migration.

Verification

  • bash scripts/quality-gate.sh — passed.
  • bash -n for the changed shell launchers and package build scripts — passed.
  • Static verification of all tracked files — only mechanical package edits outside the README/quality gate; no stale package references.
  • Parsed 342 XML files and resolved 18 local class references; verified reflective WebView engine/R8 names, FileProvider authority, desktop launcher IDs and macOS plist.
  • Negative regression checks confirm the gate rejects app ID, app namespace, common namespace and source-directory drift.
  • git diff --check — passed.
  • Gradle tests/compile could not run locally because this sandbox has no JDK or Android SDK. The PR CI will run both modules' unit tests and debug compilation/lint before merging.

Summary by CodeRabbit

  • Compatibility
    • The app now uses a new Android application ID. It can be installed alongside the previous app, but app data, preferences, and permissions are not migrated automatically.
  • Documentation
    • Updated installation guidance and the Google Play listing link to reflect the new app ID.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Changes: Application namespace migration

Layer / File(s) Summary
Build and common-module namespace
app/build.gradle.kts, app/common/build.gradle.kts, app/common/src/*, app/common/*.pro
The app and common-module namespaces and shared-module package declarations now use the com.bansify.internet namespace.
Application startup and core services
app/src/main/java/.../BrowserApp.kt, app/src/main/java/.../activity/downloads/*, app/src/main/java/.../activity/history/*, app/src/main/java/.../model/*, app/src/main/java/.../service/*, app/src/main/java/.../singleton/*
Application startup, models, persistence, downloads, app-lock, and keep-alive references use the renamed package. Keep-alive action strings use the new prefix.
Browser activity and settings references
app/src/main/java/.../activity/main/*, app/src/main/java/.../activity/main/dialogs/*, app/src/main/java/.../settings/*
Browser activity, dialogs, sidebar components, and settings declarations and references now use the new namespace. Existing control flow is unchanged.
Web engine, views, and resource references
app/src/main/java/.../webengine/*, app/src/main/java/.../widgets/*, app/src/main/java/.../activity/main/view/*, app/src/main/res/layout/*, app/proguard-rules.pro
Web-engine, widget, view, layout, and ProGuard references now use the corresponding new package paths.
Distribution targets and namespace validation
README.md, docs/AUDIT-2026-10-14.md, packaging/*, scripts/quality-gate.sh
Documentation and desktop launch or uninstall targets use the new application identifier. The quality gate checks configured namespaces, source directories, and Kotlin or Java package declarations.

Change: Refactor

Merge Risk: Low · up to 76003

The namespace rename looks consistent across the code, but the new quality-gate check can report success if its Python checker fails to run. Make that case fail the gate before merging. The new app ID installs as a separate app and does not migrate existing data, as the README states.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

PMD (7.29.0)

PMD (7.29.0) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.

app/src/main/java/com/bansify/internet/activity/main/dialogs/SearchEngineConfigDialogFactory.kt

PMD did not report an exit status
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1
openjdk version "17.0.21.1" 2026-11-17 LTS
OpenJDK Runtime Environment Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS, mixed mode, sharing)
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1

app/src/main/java/com/bansify/internet/activity/main/dialogs/PageTranslate.kt

PMD did not report an exit status
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1
openjdk version "17.0.21.1" 2026-11-17 LTS
OpenJDK Runtime Environment Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS, mixed mode, sharing)
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1
[WARN] Warning at /.coderabbit-pmd-ruleset-8a079206-ae13-4d11-b0d5-4e7422e51f81.xml:36:2
34|
35|
36|
^^^^^ Discontinue using Rule name category/java/errorprone.xml/UselessPureMethodCall as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.

37|
38|
[WARN] Warning at /.coderabbit-pmd-ruleset-8a079206-ae13-4d11-b0d5-4e7422e51f81.xml:43:2
41|
42|
43|
^^^^^ Discontinue using Rule name category/java/errorprone.xml/CheckSkipResult as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.

44|
45|

app/src/main/java/com/bansify/internet/activity/main/dialogs/FindInPageDialog.kt

PMD did not report an exit status
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1
openjdk version "17.0.21.1" 2026-11-17 LTS
OpenJDK Runtime Environment Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.21.1.2 (build 17.0.21.1+2-LTS, mixed mode, sharing)
Picked up JAVA_TOOL_OPTIONS: -XX:+PerfDisableSharedMem -XX:ActiveProcessorCount=1
[WARN] Warning at /.coderabbit-pmd-ruleset-8a079206-ae13-4d11-b0d5-4e7422e51f81.xml:36:2
34|
35|
36|
^^^^^ Discontinue using Rule name category/java/errorprone.xml/UselessPureMethodCall as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.

37|
38|

... [truncated 222 characters] ...

OctalEscape" />
42|
43|
^^^^^ Discontinue using Rule name category/java/errorprone.xml/CheckSkipResult as it is scheduled for removal from PMD. PMD 8.0.0 will remove support for this Rule.

44|
45|
[WARN] Progressbar rendering conflicts with reporting to STDOUT. No progressbar will be shown. Try running with argument -r to output the report to a file instead.
[WARN] No auxClasspath configured for Kotlin; type resolution will not work. Configure via --aux-classpath or the auxClasspath language property.

  • 81 others

@GothwadTech
GothwadTech merged commit b3181af into main Nov 21, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant