Skip to content

. - #13970

Closed
venturqx wants to merge 107 commits into
TeamNewPipe:refactorfrom
venturqx:update-0.29-issues
Closed

.#13970
venturqx wants to merge 107 commits into
TeamNewPipe:refactorfrom
venturqx:update-0.29-issues

Conversation

@venturqx

@venturqx venturqx commented Oct 29, 2026 •

Copy link
Copy Markdown

.

venturqx added 23 commits April 18, 2026 09:58
Conflict resolution done 2026-06-14, committed as-is without further
changes. Does not build yet: see follow-up commit for build fixes.
Drop duplicate ApplicationExtension import, use Kotlin property access
for VideoDetailFragment.url, remove obsolete kotlin-dsl resolution
strategy.
Brings in upstream's KMP restructuring (shared/, desktopApp/, iosApp/),
the Stream/Playlist item model and the paging-based history.

Fork-side resolutions:
- settings.gradle.kts: keep the NewPipeExtractor submodule substitution
  on top of upstream's new module includes
- app/build.gradle.kts: keep the Ufonirpt id/name and the version
  override handling, adopt upstream's minSdk/targetSdk DSL and
  ProjectConfig constants
- Stream.kt: carry tournesolScore/UnsafeReasons/Best/WorstCriteria
  through upstream's new item model
- StreamListItem/ItemList/StreamThumbnail: keep the Tournesol badge,
  score cache and duration alignment/text style on the new model
- Tab.java: keep the fork's tab set, adopt HistoryFragment
- StreamHistoryDAO/HistoryRecordManager: keep getLatestHistoryEntry,
  drop getStreamStatistics (replaced upstream by paged history)
- Theme.kt: keep the fork's near-black scheme

Does not build yet: upstream's comment UI needs CommentsInfoItem.isEdited,
which the NewPipeExtractor submodule does not have yet.
Upstream's comment UI needs CommentsInfoItem.isEdited, which only exists
from v0.26.4 on.

Upstream extractor renamed settings.gradle to settings.gradle.kts, so the
composite-build guard has to accept either name — otherwise the Tournesol
substitution silently switches off and the app resolves the stock extractor
from JitPack instead.
…NewPipeExtractor pointer

- Clean 3-way merge of upstream/refactor at commit 455b6f0
- Incorporate Description record migration and client removals
- Update NewPipeExtractor submodule pointer to resolved commit dc711f5bd
@github-actions github-actions Bot added the size/giant PRs with more than 750 changed lines label Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Please link this PR to an existing issue you are assigned to. Assignees are expected to discuss the details of the PR beforehand. This PR will be closed if it is not linked to an issue.

@venturqx venturqx closed this Oct 29, 2026
@venturqx venturqx changed the title Update 0.29 issues . Oct 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
6.9% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

fetchPoolThen(
action = { pool ->
if (pool.size >= 2) {
val first = pool.removeAt((Math.random() * pool.size).toInt())
action = { pool ->
if (pool.size >= 2) {
val first = pool.removeAt((Math.random() * pool.size).toInt())
val second = pool.removeAt((Math.random() * pool.size).toInt())
suggestionPool.toList()
}
if (candidates.isNotEmpty()) {
val picked = candidates[(Math.random() * candidates.size).toInt()]
pool.toList()
}
if (filtered.isNotEmpty()) {
val picked = filtered[(Math.random() * filtered.size).toInt()]
if (candidates.isEmpty()) {
return null
}
val picked = candidates[(Math.random() * candidates.size).toInt()]
leftEntries.indices.filter { it != leftHistoryIndex }
}
if (pool.isNotEmpty()) {
leftHistoryIndex = pool[(Math.random() * pool.size).toInt()]
rightEntries.indices.filter { it != rightHistoryIndex }
}
if (pool.isNotEmpty()) {
rightHistoryIndex = pool[(Math.random() * pool.size).toInt()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/giant PRs with more than 750 changed lines template-ignored

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants