Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: use original distro and distro family in warning messages #17480

Closed
jkomyno opened this issue Jan 23, 2023 · 0 comments · Fixed by #17476
Closed

internal: use original distro and distro family in warning messages #17480

jkomyno opened this issue Jan 23, 2023 · 0 comments · Fixed by #17476
Assignees
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. topic: dx
Milestone

Comments

@jkomyno
Copy link
Contributor

jkomyno commented Jan 23, 2023

Currently, in @prisma/get-platform, we're only keeping track of distro, which is the target Linux """distro""" that would be used by the binary targets downloaded by Prisma on initialisation (e.g, debian, which would be used with Debian, Ubuntu, Linux Mint, and as a default whenever we can't detect the Linux distro).

Additional information, like the original distro (read from the ID field of /etc/os-release) and the distro family (e.g., the most representative entry of the ID_LIKE field of /etc/os-release, which can be used to suggest running commands with a specific package manager).

@jkomyno jkomyno added kind/improvement An improvement to existing feature and code. topic: dx team/schema Issue for team Schema. labels Jan 23, 2023
@jkomyno jkomyno added this to the 4.10.0 milestone Jan 23, 2023
@jkomyno jkomyno self-assigned this Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. topic: dx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant