Bug 273107 - sysutils/lnav: update to 0.11.2
Summary: sysutils/lnav: update to 0.11.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: https://github.com/tstack/lnav/releas...
Keywords:
Depends on:
Blocks: 268255
  Show dependency treegraph
 
Reported: 2023-08-13 15:13 UTC by Thomas Hurst
Modified: 2023-08-15 12:04 UTC (History)
1 user (show)

See Also:
fernape: merge-quarterly+


Attachments
Patch for sysutils/lnav to 0.11.2 (1.28 KB, patch)
2023-08-13 15:13 UTC, Thomas Hurst
tom: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hurst 2023-08-13 15:13:24 UTC
Created attachment 244056 [details]
Patch for sysutils/lnav to 0.11.2

Updates sysutils/lnav to 0.11.2

This includes a fix for ports/268255 - a crash with an unset or improperly set $LANG.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-08-15 11:51:59 UTC
Committed,

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-08-15 11:52:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97b72ea1e6b5d662a7bdc733ef345b572f3fb956

commit 97b72ea1e6b5d662a7bdc733ef345b572f3fb956
Author:     Thomas Hurst <tom@hur.st>
AuthorDate: 2023-08-14 11:30:57 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-08-15 11:48:56 +0000

    sysutils/lnav: update to 0.11.2

    ChangeLog: https://github.com/tstack/lnav/releases/tag/v0.11.2

    This includes a fix for ports/268255 - a crash with an unset or improperly set
    $LANG.

    Features:

        A "cursor" mode has been added to the main view that can
        be toggled by pressing CTRL-X. While in cursor mode, any
        operations that would normally work on the "top" line will
        now operate on the focused line instead.
        Added CTRL-D and CTRL-U hotkeys to move down/up by half
        a page.

        Added an auto-width flag to the elements of the
        line-format array that indicates that the width of the
        field should automatically be determined by the observed
        values.

        Added bunyan log format from Tobias Gruetzmacher.

        Added cloudlare log format from @minusf.

        Number fields used in a JSON log format line-format
        array now default to being right-aligned. Also, added
        prefix and suffix to line-format elements so a
        string can optionally be prepended/appended if the value
        is not empty.

        JSON log format detection has been improved to not rely
        on matching the file name. All possible formats are
        tried and the one with the most available fields for a
        given line-format is used. For example, if the first
        log message has 8 fields and format A contains 5 of
        those fields in its line-format while format B only
        contains 2 of those fields in its line-format, format
        A will be used for the file.

    Changes:

        For JSON-lines logs, line-feeds at the end of a value are
        automatically stripped.

    Bug Fixes:

        Hidden values in JSON logs are now hidden by default.
        Text with ANSI-escapes is now filtered properly.

    PR:             273107 268255
    Reported by:    tom@hur.st (maintainer)

 sysutils/lnav/Makefile                                   |  2 +-
 sysutils/lnav/distinfo                                   |  6 +++---
 sysutils/lnav/files/patch-src_text__anonymizer.cc (gone) | 10 ----------
 3 files changed, 4 insertions(+), 14 deletions(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-08-15 12:03:59 UTC
Merged to 2023Q3,

Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-08-15 12:04:11 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0768be6a0cb5556ba0bf375523fa4651a46bca23

commit 0768be6a0cb5556ba0bf375523fa4651a46bca23
Author:     Thomas Hurst <tom@hur.st>
AuthorDate: 2023-08-14 11:30:57 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-08-15 12:03:33 +0000

    sysutils/lnav: update to 0.11.2

    ChangeLog: https://github.com/tstack/lnav/releases/tag/v0.11.2

    This includes a fix for ports/268255 - a crash with an unset or improperly set
    $LANG.

    Features:

        A "cursor" mode has been added to the main view that can
        be toggled by pressing CTRL-X. While in cursor mode, any
        operations that would normally work on the "top" line will
        now operate on the focused line instead.
        Added CTRL-D and CTRL-U hotkeys to move down/up by half
        a page.

        Added an auto-width flag to the elements of the
        line-format array that indicates that the width of the
        field should automatically be determined by the observed
        values.

        Added bunyan log format from Tobias Gruetzmacher.

        Added cloudlare log format from @minusf.

        Number fields used in a JSON log format line-format
        array now default to being right-aligned. Also, added
        prefix and suffix to line-format elements so a
        string can optionally be prepended/appended if the value
        is not empty.

        JSON log format detection has been improved to not rely
        on matching the file name. All possible formats are
        tried and the one with the most available fields for a
        given line-format is used. For example, if the first
        log message has 8 fields and format A contains 5 of
        those fields in its line-format while format B only
        contains 2 of those fields in its line-format, format
        A will be used for the file.

    Changes:

        For JSON-lines logs, line-feeds at the end of a value are
        automatically stripped.

    Bug Fixes:

        Hidden values in JSON logs are now hidden by default.
        Text with ANSI-escapes is now filtered properly.

    PR:             273107 268255
    Reported by:    tom@hur.st (maintainer)

    (cherry picked from commit 97b72ea1e6b5d662a7bdc733ef345b572f3fb956)

 sysutils/lnav/Makefile                                   |  2 +-
 sysutils/lnav/distinfo                                   |  6 +++---
 sysutils/lnav/files/patch-src_text__anonymizer.cc (gone) | 10 ----------
 3 files changed, 4 insertions(+), 14 deletions(-)