[Feature] Append 8-character short SHA-256 in square brackets to versionName (versionCode) strings
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Search the Kotlin/Compose sources for where the versionName (versionCode) string is rendered — app details, the versions list and update prompts are the three sites the issue names — and centralise that formatting so each caller shares one implementation. The hash on the available side comes from the repository index checksum, while the installed side needs the base APK hashed locally. Done means each of those screens shows 1.2.3 (100) [a1b2c3d4], falls back to [] when no hash exists, and existing version-display tests still pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Guidelines
- I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
- I'm not requesting app support for a specific repo — that's up to repo maintainers
- I understand this might not get built (Droid-ify is maintained by a single person)
Problem
Currently, Droid-ify displays installed and repository app versions as versionName (versionCode) (e.g., 1.2.3 (100) on app detail screens, version lists, and update prompts).
However, versionName and versionCode can remain identical across reproducible builds, upstream GitHub releases, F-Droid/IzzyOnDroid mirrors, or locally sideloaded APKs. Relying on version numbers alone makes it impossible to immediately verify whether an installed APK matches the exact binary hash published in the repository index or comes from a different/modified build.
Proposed solution
Append the 8-character short SHA-256 hash of the APK in square brackets right after versionName (versionCode) wherever version strings are displayed or compared (such as App Details, Versions list, and update transitions):
- Single version display:
1.2.3 (100) [a1b2c3d4] - Update transition (Installed → Available):
1.2.3 (100) [a1b2c3d4] → 1.2.4 (101) [e5f6g7h8] - Fallback when hash is unavailable: Display empty square brackets
[](e.g.,1.2.3 (100) []) to preserve a consistent layout.
Since F-Droid repository indexes already include each package's SHA-256 checksum and hashing the installed base APK is fast and 100% local, this requires no extra network requests. Optionally, it can be toggled in Settings → UI / Preferences.
Extras
Standardizing the versionName (versionCode) [short-sha256] format gives users an immediate, human-readable way to verify authentic builds and compare repository releases at a glance without manually inspecting full 64-character hashes.
- Lenguaje dominante
- Kotlin
- Estrellas
- 7.8k
- Forks
- 237
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Droid-ify/client
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Add Gadgetbridge nightly repoAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Todos los issues de Droid-ify/client
Issues similares
-
API: selected deck returns DECK_COUNTS as [null]Posiblemente ocupada @GuTS805 la tomó hoy. AbiertoNeeds Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ankidroid/Anki-Android#23823 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
codual-ai/designlane#58 ·
Los mantenedores suelen responder en 1 día
-
[Request]: KylleneAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ScoopInstaller/Extras#19589 ·
Los mantenedores suelen responder en 1 día
-
difficulty: beginner documentation help wanted networking
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día