Skip to content

Does not support Arch Distributions #4

@MaKaNu

Description

@MaKaNu

While my arch installation is a modern systemd distribution, this package fails to parse my /etc/os-release.

Here is the content of my /etc/os-release:

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

Based on my tests it seems that the grammar expects a newline or EOF, which arch does not provide:

arpeggio.NoMatch: Expected '\n' or EOF at position /etc/os-release:(11, 15) => '=archlinux*-logo '.

But also adding a newline causes PARSER.parse_file(path) to fail with this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions