Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#22733 closed enhancement (fixed)

unix-tree-2.3.1

Reported by: Bruce Dubbs Owned by: Joe Locash
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New minor version.

Change History (5)

comment:1 by Joe Locash, 8 months ago

Owner: changed from blfs-book to Joe Locash
Status: new → assigned

comment:2 by Joe Locash, 8 months ago

Resolution: → fixed
Status: assigned → closed
Version 2.3.0 (1/30/2026)
  - Add ACL detection (--acl) and selinux (--selinux) (not tested, no way for
    me to easily test this, please report problems with it) options for Linux
    only. This should lead to adding support for other xattr attributes in the
    future, though I will likely re-work the mechanism to be more generic.
    Support for extended attributes could be added for other operating systems
    if patches for them are provided.
  - Adds --condense option to condense directory "singletons" (i.e. directories
    that contain exactly a single directory) into a single line of output. This
    should be useful for project directories displayed with -d and such. Note
    that the meta-data displayed will only be valid for the first directory
    component of the path that is displayed. (PowerPlop@github / others)
  - Adds --compress=# option to compress the indentation lines. Positive values
    between 1-3, 1 being normal, and 3 being lines fully compressed. Negative
    values from -1 to -3 being the same as positive values, except the space
    after each indentation level is not printed.  Values < -3 or > 3 switch to
    noindent mode.  This also modifies the JSON and XML indentation output
    instead of being a fixed 2 space indent.
    There is a possibility that I could modify this function to go in the other
    direction and allow for even larger indents, so the meaning of # may change.
  - The above work also resulted in fixing the line drawing for a number of
    Asian character sets.  Also ANSI-lines (-A) now is essentially
    --charset=ANSI and uses it's linedraw.
  - Reworked --gitignore code to properly search up the directory tree for
    a git root, searching for additional .gitignore files and the git root's
    .git/info/exclude file.
  - Fixed --matchdirs to not exclude sub-directories of matched directories.
    (FloppyDisco@github).  I reworked the -P and -I code considerably while
    working on this and now -I will match directories (even w/o --matchdirs.)
    This behavior changes established behavior quite a bit and may have to be
    modified again.
  - Handle '.' in --fromfile input properly.  This should have been in there
    from day one TBH.  It will likely change the expected output, but it should
    now be correct in my opinion.
  - Modify gittrim to trim carriage returns for Window borkness.
  - Fix segmentation fault when attempting to tree a non-existent file with
    hyperlinks enabled. (Nicolai Dagestad)
  - Fix broken hyperlink paths where an optional hanging / is present on the
    directory name given to tree. (Nicolai Dagestad)
  - Fix possible NULL de-reference in xml.c, exit fillinfo() early if a NULL
    pointer is past to it. (Ubuntu? - not sure)
  - Move all flags into a central struct to cut down on namespace pollution,
    work should continue on this. Remove unused gnu_getcwd() function, moved and
    added some functionality into a new util.c file and some additional misc
    code cleanup.

Fixed at 62292585da.

comment:3 by Bruce Dubbs, 8 months ago

Resolution: fixed
Status: closed → reopened
Summary: unix-tree-2.3.0 → unix-tree-2.3.1

Now version 2.3.1.

comment:4 by Joe Locash, 8 months ago

Resolution: → fixed
Status: reopened → closed
Version 2.3.1 (1/31/26)
  - The "something always slips through" release.
  - Completely #include guard selinux context output for non-Linux as well as
    the stddata_fd variable declared outside of an include guard.

Fixed at abb696738d.

comment:5 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.