LooKeR 4223cea6d7
feat: Implement repository removal during database upgrades
This commit introduces a mechanism to remove specific repositories from the user's database during an `onUpgrade` event.

Key changes:
- Added a `toRemove` list in `Repository.kt` to specify addresses of repositories to be removed.
- Implemented `SQLiteDatabase.removeRepositories()` in `DatabaseHelper.kt`. This function:
    - Queries the database for existing repositories.
    - Compares them against the `toRemove` list.
    - Marks matching repositories as deleted in the database by setting the `ROW_DELETED` flag to 1.
- The `onUpgrade` method in `DatabaseHelper.kt` now calls `db.removeRepositories()` before adding newly added repositories.
2025-06-23 20:16:40 +05:30
2025-02-28 19:32:33 +05:30
2025-02-28 19:26:04 +05:30
2024-07-01 18:02:13 +05:30
2023-05-19 07:50:38 +05:30
2023-10-07 17:09:06 +05:30
2023-08-17 13:37:54 +05:30

Droid-ify

Github Stars Github License Github Downloads Github Latest FDroid Latest

Features

  • Material & Clean design
  • Fast repository syncing
  • Smooth user experience
  • Feature-rich

Screenshots

Building and Installing

  1. Install Android Studio:

    • Download and install Android Studio on your computer if you haven't already.
  2. Clone the Repository:

    • Open Android Studio and select "Project from Version Control."
    • Paste the link to this repository to clone it to your local machine.
  3. Build the APK:

    • In Android Studio, navigate to Build > APK.
    • Select "Create New Keystore" and enter the required information, including a password.
    • Wait for the build process to finish.

TODO

  • Add support for index-v2
  • Add detekt code-analysis
  • Add GitHub Repo feature

Contribution

  • Pick any issue you would like to resolve
  • Fork the project
  • Open a Pull Request
  • Your PR will undergo review

Translations

Translation status

License

Droid-ify

Copyright (C) 2023 LooKeR
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Languages
Kotlin 99.7%
Shell 0.3%