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

Prevent yaml.Marshal from wrapping long lines #154

Closed
wants to merge 1 commit into from

Commits on Nov 8, 2023

  1. Prevent yaml.Marshal from wrapping long lines

    Line wrapping after 80 characters was the default in yaml.v2. No line
    wrapping is the default for yaml.v3. The helper FutureLineWrap() is
    meant to help users do the transition to the new behavior.
    
    For mirrorbits, line wrapping manifests itselfs for the `show` and
    `edit` commands. It's an issue, in the sense that it makes it difficult
    for scripts to interact with those commands (as long values might spread
    on several lines, so a simple grep won't do).
    
    Hence this commit disables line wrapping.
    
    Closes: etix#153
    elboulangero committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    22d07bb View commit details
    Browse the repository at this point in the history