8000 Improve the way to detect the Distro · Issue #616 · ev3dev-lang-java/ev3dev-lang-java · GitHub
[go: up one dir, main page]

Skip to content
8000
Improve the way to detect the Distro #616
Open
@jabrena

Description

@jabrena

Currently, the way to detect the distro, is weak:

2018-12-09 19:00:07 [main] INFO  ev3dev.hardware.EV3DevDistros - Providing an EV3DevDistros instance
2018-12-09 19:00:07 [main] DEBUG ev3dev.utils.Shell - Command: cat /etc/os-release
2018-12-09 19:00:07 [main] WARN  ev3dev.hardware.EV3DevDistros - Failed to detect distro, falling back to Stretch.
2018-12-09 19:00:07 [main] DEBUG ev3dev.hardware.EV3DevDistros - Debian Stretch detected

In a local computer, we should return an exception except the class is mocked.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0