Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

tree-2.3.1-1.1 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: tree Distribution: openSUSE Tumbleweed
Version: 2.3.1 Vendor: openSUSE
Release: 1.1 Build date: Mon Feb 9 13:59:30 2026
Group: Productivity/File utilities Build host: reproducible
Size: 168660 Source RPM: tree-2.3.1-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://oldmanprogrammer.net/tar/tree/
Summary: File listing as a tree
Tree is a recursive directory listing command that produces a depth
indented listing of files, which is colorized ala dircolors if the
LS_COLORS environment variable is set and output is to tty.

Provides

Requires

License

GPL-2.0-or-later

Changelog

* Mon Feb 09 2026 Felix Stegmeier <felix.stegmeier@suse.com>
  - update to 2.3.1
    * Completely #include guard selinux context output for non-Linux as well as
      the stddata_fd variable declared outside of an include guard.
  - update to 2.3.0
    * Add ACL detection (--acl) and selinux (--selinux) 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.
* Tue Nov 26 2024 Thomas Blume <Thomas.Blume@suse.com>
  - update to 2.2.1
    * Fix regression where I free a pointer that should not have been freed due
      to a variable renaming that wasn't completed. (Daniel Li / Landon Bourma)
    * Put back, in a modified form, HTML href directory path fixing that was
      removed in 2.1.2. If the "baseHREF" part after the -H begins with a dash
      (-), the dash is removed and the lead directory name is removed from the
      href, otherwise it is left as-is.  It can be very difficult to know how to
      handle the host and directory part given the plethora of protocols and
      what-not, so hopefully this should give enough control over that to suit
      most requirements.
    Version 2.2.0 (11/24/2024)
    * Add option --opt-toggle which turns on the ability to toggle options such
      as -a, -p, etc.  Useful to add to an alias for turning an option off when
      using said alias. (Christoph Anton Mitterer)
    * Add --hyperlink option to print OSC 8 terminal hyperlinks for files. Also
      adds the --scheme and --authority options to modify the schema and hostname/
      authority of the links. (Nicolai Dagestad)
      OSC 8 Terminal hyperlinks:
      https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
    * Maybe finally fix JSON error reporting when unable to open a directory and a
      full tree is required, such as when using --du. (Alchemyst@github)
    * Fix small rounding error in human readable size (-h) output, where 9.99K is
      rounded to 10.0K rather than 10K (Ivan Ivanovich)
    * Fix the totals report for sizes when --du option is used.  The directory
      size total was correct, but the final report was an accumulation of all
      the directory totals rather than just the top most directory total.
      (Alchemyst@github)
    * Add .gitignore file to distribution for those wanting that. (Kenta Arai)
    * Add 'none' as a valid --sort option (i.e. -U).
    * Add ability to cross compile for Android (freemedom@github)
    * List charsets again if --charsets is not given an argument.
    * Allow --help and usage to use ANSI bold and italic if colorization is
      enabled.
    * General code cleanups:
    - Removed unused externs where possible.
    - Clean up some warnings issued by -Wextra (Kenta Arai)
    - Update Makefile to allow CC and the CFLAGS -O3 option to be overridden,
      move CPPFLAGS into their own variable, add -Wstrict-prototypes
      (David Seifert)
    - Long over-due move to stdbool.h, removes custom bool type and changes all
      occurrences of TRUE/FALSE to true/false. (David Seifert / others)  This
      likely makes C99+ even more of a requirement now. Please let me know if
      this requires a work-around for your system.
    - Went ahead and added -Wconversion to the Makefile as well. This required a
      large number of type conversion fixing which may have unexpected side
      effects, but should hopefully help with tree safely dealing with absurd
      sizes/number of things in the future as this promotes using size_t more.
      This probably needs more work to do properly however.
    - Apply the const constraint on parameter strings wherever possible.
* Wed Sep 25 2024 Dirk Müller <dmueller@suse.com>
  - update to 2.1.3:
    * Mostly a brown-paper bag release to fix the below
      regression and add a feature I forgot to add.
    * Fix regression in search() function that broke --fromfile
    * Allow the -L option to accept its parameter immediately
      (with no space) instead of requiring it be the next option
      word.
    * Fix issue where --gitignore does not think a pattern with
      a singular terminal '/' (indicating it matches only
      directories,) is a relative path.
    * Don't emit the error 'recursive, not followed' if when
      using -L, the depth would prevent descending anyway. This also
      fixes up a JSON output error (missing comma) when this happens.
    * Don't prematurely sort files/directories with
    - -from*file. (gitlab @jack6th)
    * Various seg-faults fixed
    - Make doubly sure that there is actually a previous path
      entry when reading from a tabbed file.
    - Make sure there is actually a file entity when applying
      the link info to it when reading fromfile using --fflinks.
    - Increase space for the path a little in listdir(), just
      to be sure.
    * Make sure that there is no topsort (--dirsfirst /
    - -filesfirst) if there is no basesort (-U).
    * Make sure gittrim() function can handle a null string.
* Tue Sep 24 2024 Giacomo Leidi <giacomo.leidi@suse.com>
  - Source tarball URL was unresolvable, update it to the correct version based on
    https://gitlab.com/OldManProgrammer/unix-tree
* Thu Nov 30 2023 Guillaume GARDET <guillaume.gardet@opensuse.org>
  - Build with openSUSE flags
* Fri Jun 16 2023 Jan Baier <jbaier@suse.com>
  - tree 2.1.1:
    * Various spelling corrections.
    * Fix issue where following links while doing JSON output would lead to
      incorrect JSON output. (simonpmind)
    * Fix issue where .info patterns relative to the .info file that did not use
      a wildcard for matching the prefix were not matching files properly.
      (German Lashevich)
    * Added support for making trees from tab indented files (--fromtabfile)
      (gitlab @AvidSeeker), also cleaned up some other issues in the fromfile
      code.
    * Fix buffer overflow in listdir() when file names are allowed to be longer
      than 256 characters (like when using fromfile.) (Javier Jaramago Fernández)
    * If when attempting to open a .gitignore or .info file from a top level
      directory and failing, recursively check the parents for such a file.  This
      stops when successful at opening such a file. This behavior might in the
      future be modified to open all such files in all parents to until root is
      reached. (Damien Bezborodov) Note that this requires the use of realpath()
      which I think may be an issue for some OSes.
    * Fix issue where tree would never descend (-l) a symbolic link when a full
      tree is gathered (--du/matchdirs/prune) (gitlab @6ramr)
* Thu Feb 16 2023 Jan Baier <jbaier@suse.com>
  - tree 2.1.0:
    * Add support for --info and --gitignore for the --fromfile option.
      (Suggested by Piotr Andruszkow)
    * Add options --infofile and --gitfile to load .info and .gitignore files
      explicitly.  Each implies --info or --gitignore respectively.
    * Add NULL guard for json_printinfo() and xml_printinfo() (and fix ftype
      printing for XML) (Kenta Arai)
    * Fix getcharset() to not return a getenv() pointer (fix for ENV34-C issue.)
      (Kenta Arai)
    * Another attempt at fixing extraneous /'s in HTML URLs/output. (Sebastian
      Rose)
    * Fixed XML output (Dave Rice)
    * Remove the (very outdated) French version of the manpage.  Look to
      localization projects such as Debian's 'manpages-l10n' for localized
      translations. (hmartink)
    * Add support for the NO_COLOR environment variable (https://no-color.org/).
      Equivalent to the -n option (can be still be overridden with -C).
      (Timm Fitschen)
    * Removed many C99isms to enable compiling on C90 compilers with fewer
      warnings.  (Sith Wijesinghe and Matthew Sessions)  It should not be
      necessary to avoid using a standard that is old enough to drink,
      furthermore it is all but impossible to remove the remaining warnings and
      have modern features like compound literals. In the meantime I've added
    - std=c11 to the default CFLAGS for Linux and will likely not worry about
      C90 compatibility going forward unless there is some other reason for it.
    * Added a helper function for long command line arguments to clean up option
      processing (and fixes the processing for a few of the options such as
    - -timefmt= (наб?).)
    * Added --hintro and --houtro options to select files to use as the HTML
      intro and outro.  Use /dev/null or an empty file to eliminate them
      entirely.  This should make it much easier to create your own custom CSS
      or embed one or more trees into a web page.
    * Defer printing the version until the character set is known so we can use
      the linedraw copyright symbol.
    * Revert change to the error code to not return an error (code 2) when
      attempting to list a non-directory that actually exists.  Tree will still
      return an error when attempting to list a non-existing directory/file.
    * Added option --fflinks which will process symbolic link information from
      a file generated with 'tree -if --noreport' when using --fromfile.
      (Suggested by Chentao Credungtao)
    * Updated the totals reporting code to also include in the total the file or
      directory that is being listed.  This should make a correct report when
      doing something like 'tree *'.
* Wed Sep 07 2022 Andreas Stieger <andreas.stieger@gmx.de>
  - tree 2.0.4:
    * Fix missing comma in JSON output
* Sun Aug 28 2022 Andreas Stieger <andreas.stieger@gmx.de>
  - tree 2.0.3:
    * Fix segfault when filelimit is used and tree encounters a
      directory it cannot enter
    * Fixed broken -x option (stops recursing.)
    * Fix use after free (causing segfault) for dir/subdir in list.c
    * Multiple fixes for .gitignore functionality
    * Fixed segfault when an unknown directory is given with -X
    * Fixed output up for -X and -J options
* Thu Feb 17 2022 Andreas Stieger <andreas.stieger@gmx.de>
  - tree 2.0.2:
    * stddata option now requires STDDATA_FD to be set
    * Fix HTML url output issue
    * Fix an error with * in the patchmatch code where *foo*bar
      would match *foo alone
* Tue Jan 04 2022 Andreas Stieger <andreas.stieger@gmx.de>
  - tree 2.0.1:
    * Make patterns ending in '/' match directories (but not files)
      for -I / -P, should also fix issues with --gitignore as well
    - Fix --gitignore not matching files relative to the path of the
      .gitignore

Files

/usr/bin/tree
/usr/share/doc/packages/tree
/usr/share/doc/packages/tree/CHANGES
/usr/share/doc/packages/tree/README
/usr/share/licenses/tree
/usr/share/licenses/tree/LICENSE
/usr/share/man/man1/tree.1.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 21 22:32:08 2026