Skip to content

fix(import): keep crDroid's ZUK Z2 Plus off a Lenovo page - #79

Merged
NotAFlightRisk merged 1 commit into
mainfrom
fix/zuk-z2-plus-duplicate
Oct 19, 2026
Merged

NotAFlightRisk merged 1 commit into
mainfrom
fix/zuk-z2-plus-duplicate

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

Scripts

Overview

Now that two brands can share a codename (#77), the next import would give the ZUK Z2 Plus a second page. crDroid files it as "Lenovo ZUK Z2 Plus", so it'd become lenovo/z2_plus next to the zuk/z2_plus LineageOS and /e/ already use. A name that starts with another brand we list now goes to that brand, so crDroid's row joins the real page.

It only matches a brand's own key, not the Redmi/POCO style aliases. Otherwise LineageOS's Redmi 2, which it files under Wingtech, would get a Xiaomi copy.

Issue Number

None

Additional Info

I ran the full import locally with and without this. The only difference is that one discontinued crDroid row moving from lenovo/z2_plus to zuk/z2_plus, and the five new phones still come through. Tests pass, the new one fails on the old store.

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
android-rom-compat Ready Ready Preview Oct 19, 2026 10:22am UTC

@github-actions github-actions Bot added the scripts The importers, the validator and the report bot label Oct 19, 2026
@NotAFlightRisk
NotAFlightRisk merged commit b7030d8 into main Oct 19, 2026
7 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the fix/zuk-z2-plus-duplicate branch October 19, 2026 10:27

This branch was successfully deployed

1 active deployment
Preview — ae6e0a85 Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts The importers, the validator and the report bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant