[PR #4456] [MERGED] [PM-10515] CI build info on version copy #4962

Closed
opened 2025-11-26 23:52:08 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4456
Author: @aj-rosado
Created: 12/12/2024
Status: Merged
Merged: 12/17/2024
Merged by: @aj-rosado

Base: mainHead: ci-build-info


📝 Commits (10+)

📊 Changes

5 files changed (+86 additions, -4 deletions)

View changed files

📝 .github/workflows/build.yml (+4 -0)
📝 app/build.gradle.kts (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/about/AboutViewModel.kt (+28 -1)
📝 app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/about/AboutViewModelTest.kt (+15 -2)
scripts/update_app_ci_build_info.sh (+38 -0)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-10515

📔 Objective

Add more info output into our About view when an user presses the version copy button. This extra information will display more device information, like brand, model OS version and OS sdk. This should also contain build info like the branch and commit from the build as the build source URL.

Example:

© Bitwarden Inc. 2015-2024

Version: 2024.9.0 (1)
📱 google sdk_gphone64_arm64 🤖 14@34 📦 dev
🧱 commit: bitwarden/android/main@abc123
💻 build source: bitwarden/android/actions/runs/123/attempts/1

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/4456 **Author:** [@aj-rosado](https://github.com/aj-rosado) **Created:** 12/12/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@aj-rosado](https://github.com/aj-rosado) **Base:** `main` ← **Head:** `ci-build-info` --- ### 📝 Commits (10+) - [`9ffda7b`](https://github.com/bitwarden/android/commit/9ffda7b6ed88fd0a918773ca51595bfe025d0f17) Add script and update build workflow - [`f14f19e`](https://github.com/bitwarden/android/commit/f14f19e3616e48abf692d2da95f48212a4ce6a12) Trim CI info to - [`f69e605`](https://github.com/bitwarden/android/commit/f69e605ce2e5f00f49d4c05f40cafb302adcf827) update repository name in example - [`5bb9f86`](https://github.com/bitwarden/android/commit/5bb9f86d1a2a9d4be5f60f3926e33c87b95a8bc0) Added device and build info into the version copy - [`c4d5769`](https://github.com/bitwarden/android/commit/c4d5769830d1b195e60976268a4304ea4f22565c) Update build info script to receive run number and run attempt instead of url - [`36fc461`](https://github.com/bitwarden/android/commit/36fc461bd7a104b9c86016f68cec734ffec8de51) Use unicode emoji instead of github text equivalent - [`1a7f07a`](https://github.com/bitwarden/android/commit/1a7f07aeec003293f393ab7af1a01c9caaadc661) Add buildvariant info - [`5a99dd3`](https://github.com/bitwarden/android/commit/5a99dd340a9b4fda7cd87eff732a2198f0f475a1) fixed about tests - [`f37111e`](https://github.com/bitwarden/android/commit/f37111e8764b392276b27754680d0420d161fd7c) Merge branch 'ci-build-info' of https://github.com/bitwarden/android into ci-build-info - [`33fbc1d`](https://github.com/bitwarden/android/commit/33fbc1d1d5c1b2d103acf4212640d9d3053dd45d) Transform BUILD_TYPE to variant ### 📊 Changes **5 files changed** (+86 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+4 -0) 📝 `app/build.gradle.kts` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/ui/platform/feature/settings/about/AboutViewModel.kt` (+28 -1) 📝 `app/src/test/java/com/x8bit/bitwarden/ui/platform/feature/settings/about/AboutViewModelTest.kt` (+15 -2) ➕ `scripts/update_app_ci_build_info.sh` (+38 -0) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-10515 ## 📔 Objective Add more info output into our About view when an user presses the version copy button. This extra information will display more device information, like brand, model OS version and OS sdk. This should also contain build info like the branch and commit from the build as the build source URL. Example: ``` © Bitwarden Inc. 2015-2024 Version: 2024.9.0 (1) 📱 google sdk_gphone64_arm64 🤖 14@34 📦 dev 🧱 commit: bitwarden/android/main@abc123 💻 build source: bitwarden/android/actions/runs/123/attempts/1 ``` ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-26 23:52:08 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#4962