Skip to content

Add forkOf field to link model - #1161

Merged
IRus merged 1 commit into
mainfrom
forkof-dsl
Aug 23, 2026
Merged

Add forkOf field to link model#1161
IRus merged 1 commit into
mainfrom
forkof-dsl

Conversation

@IRus

@IRus IRus commented Aug 23, 2026

Copy link
Copy Markdown
Member

Follow-up to #1154.

That PR redirected the kassava entry from consoleau/kassava to the maintained fork nemecec/kassava. The redirect is right, but the link to the original repo is now lost — nothing in the data says where the fork came from.

This adds a forkOf field to LinkV1 and uses it on the kassava entry:

"github": "nemecec/kassava",
"forkOf": "consoleau/kassava",

github stays the repo we show. forkOf records the upstream.

Not implemented yet

The intended behaviour: if the upstream repo is updated more recently than the fork, show the upstream as the main entry instead. This PR is only the model and the data — no processing logic.

:app-backend:compileKotlin and :app-backend:compileTestKotlin pass.

🤖 Generated with Claude Code

Records the upstream repository a forked entry came from. The kassava
entry now points at nemecec/kassava and keeps consoleau/kassava as
forkOf.

The recency logic (show the upstream when it is updated more recently
than the fork) is not implemented yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@IRus
IRus merged commit 24ada5f into main Aug 23, 2026
10 checks passed
@IRus
IRus deleted the forkof-dsl branch August 23, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant