Skip to content

METALOG generation does not escape spaces in filenames #2755

Description

@khorben

Generating release material from FreeBSD's build system in the https://github.com/FreeBSD/freebsd-src repository uses pkg's -o METALOG=METALOG option to complete file lists, when including packages in the release files generated. The file list is then provided to makefs(8) for the final step.

Unfortunately pkg fails to escape spaces in filenames in its METALOG output, breaking proper parsing for its consumer. From what I learned, this requires escaping as an octal character (e.g., as "\040") to conform with the specification.

See #2754 for a possible resolution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions