Android: replace the source-location placeholder in the licences screen

未关闭 适合新手
#22 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
88/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

从 android/feature/settings/src/main/kotlin/app/cloudbridge/android/feature/settings/SettingsScreen.kt 中的 SOURCE_LOCATION 开始,然后阅读 android/feature/settings/src/test/kotlin/app/cloudbridge/android/feature/settings/LicencesTest.kt。检查屏幕如何让 URL 可点击,以及是否可以通过 BuildConfig 获取发布标签。完成标准是:公共仓库 URL 可点击,占位符已移除,并且测试断言该 URL。

由索引模型根据 Issue 内容生成。

描述

android difficulty: beginner documentation good first issue

Context

The licences screen already lists CloudBridge (AGPL-3.0-only) and the GeoNames CC BY 4.0 attribution, but
SOURCE_LOCATION still says "Source code: location to be announced with the public release". AGPL section 13 asks
that users of a network service can obtain the corresponding source, and users of the app should find it easily.

Acceptance criteria

  • SOURCE_LOCATION points at the public repository URL (and the release tag of the build, if available from
    BuildConfig).
  • The URL is tappable and opens in the browser.
  • LicencesTest updated to assert the URL is present and not a placeholder.

Pointers

  • android/feature/settings/src/main/kotlin/app/cloudbridge/android/feature/settings/SettingsScreen.kt (SOURCE_LOCATION)
  • android/feature/settings/src/test/kotlin/app/cloudbridge/android/feature/settings/LicencesTest.kt
主要语言
Kotlin
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ft-dev-org/cloudbridge-oss 的其他 Issue

查看 ft-dev-org/cloudbridge-oss 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。