- 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.
- Source tarball URL was unresolvable, update it to the correct version based on
https://gitlab.com/OldManProgrammer/unix-tree
OBS-URL: https://build.opensuse.org/request/show/1203372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=31
* 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.
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=36
- 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
OBS-URL: https://build.opensuse.org/request/show/999908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=26
- tree 2.0.0:
* Simplified code
* Adds --info to print information about files/directories from
information found in .info files
* In HTML output, comments show as mouse over tooltips
* Output un-indented JSON on file descriptor 3 ("stddata")
automatically if file descriptor 3 is present
* Always HTML escape filenames in HTML output even when -C is used
* Return a non-zero exit status if there is a failure to open any directory.
* Added --gitignore option to filter out files specified by
.gitignore files. (also reads $GIT_DIR/info/exclude if present.)
* To facilitate gitignore, adds support for ** on pattern matching
to allow /**/ to match a single /
* Now also supports multiple -I and -P instances
* Now prints meta data for the top level directory as well.
* Properly sort --fromfile input
* Make tree colorization use reset (rs code in dir_colors,)
not normal color when resetting attributes
* Honor -n (no color) even if the CLICOLOR_FORCE environment
variable is set
* Fix --sort option to not require =
* Defer sorting for --du until the entire sub-directory tree has
been processed.
* Fix JSON string escaping such that it is not using the HTML
escaping
* Add --filesfirst option
* XML/HTML/JSON output needs to be mutually exclusive, last
command line switch wins
- drop tree-makefile.patch
OBS-URL: https://build.opensuse.org/request/show/943563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=23
Update to 1.8.0:
* Added an experimental --fromfile option (suggested by several people.)
This may eventually be replaced or supplimented by a --fromjson option.
* Added support for BSD's CLICOLOR and CLICOLOR_FORCE environment variables.
(Suggested by Alyssa Ross)
* Use strftime() exclusively when formatting date/time to respect locale.
* Some man page fixes and cleanups curtsey of Kirill Kolyshkin
* Update BINDIR in Makefile for MacOS X -- It is not allowed to install
programs to /usr/bin on MacOS X any longer due to System Integrity
Protection (SIP) (Shawn Mehan)
* Misc patches from Jacob Wahlgren:
- Improved command line switch error reporting.
- Symbolic links not displayed if a -P pattern is active
- Missing argument error reporting fixes on long format switches.
* Fixed JSON output hanging commas (John Lane, Tad, others)
* JSON size output ignored -h/--si flags (Wagner Camarao)
* Fixed issue with malformed multibyte string handling. (Mantas
Mikulėnas)
* Fixed issue where mbstowcs() fails to null terminate the string due to
improper UTF-8 encoding leading to garbage being printed. (Nick Craig-Wood)
* Found a bug where the wrong inode (and device) information would be printed
for symbolic links. (Stephan Gabert)
- adjust tree-makefile.patch
OBS-URL: https://build.opensuse.org/request/show/656844
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=18
- Update to 1.7.0:
* Allow user/group names up to 32 characters before clipping.
* Made -i compress XML and JSON output as much as possible by eliminating
extraneous whitespace.
* Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns
match without regard to case, courtesy of Jason A Donenfeld.
* Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld
<Jason@zx2c4.com>.
* Fixed possible buffer overflow on large uid/gids w/o user names/group
names (Alexandre Wendling <alexandrerw@celepar.pr.gov.br>)
* Added JSON support courtesy of Florian Sesser <fs@it-agenten.com>.
* Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn
<sascha.zorn@gmail.com>)
* Added file size sorting (Philipp M?ller <philippausmuensing@googlemail.com>)
* Added '--sort[=]<name>' option, ala ls.
* Fixed OS X makefile problems (Ryan Hollis <theryanhollis@gmail.com>)
* Fixed possible memory overflow in read_dir (path/lbuf not equal in size
to pathsize/lbufsize.) (Han Hui <hanhui03@163.com>)
* Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney
<Tim.Mooney@ndsu.edu>)
* Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas
<grawity@gmail.com> and others.)
* Return non-zero exit status on option errors, print usage to stdout when
not an error, add the posix '--' option terminator, Change -S description
to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov
<oneingray@gmail.com>)
- Use upstream tarball instead of a custom one
- Adjust the makefile patch accordingly:
- Rename tree-dontstrip.patch to tree-makefile.patch,
since the upstream makefile does not include the strip flag anymore in that line
OBS-URL: https://build.opensuse.org/request/show/241765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=20
- Update to 1.7.0:
* Allow user/group names up to 32 characters before clipping.
* Made -i compress XML and JSON output as much as possible by eliminating
extraneous whitespace.
* Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns
match without regard to case, courtesy of Jason A Donenfeld.
* Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld
<Jason@zx2c4.com>.
* Fixed possible buffer overflow on large uid/gids w/o user names/group
names (Alexandre Wendling <alexandrerw@celepar.pr.gov.br>)
* Added JSON support courtesy of Florian Sesser <fs@it-agenten.com>.
* Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn
<sascha.zorn@gmail.com>)
* Added file size sorting (Philipp M?ller <philippausmuensing@googlemail.com>)
* Added '--sort[=]<name>' option, ala ls.
* Fixed OS X makefile problems (Ryan Hollis <theryanhollis@gmail.com>)
* Fixed possible memory overflow in read_dir (path/lbuf not equal in size
to pathsize/lbufsize.) (Han Hui <hanhui03@163.com>)
* Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney
<Tim.Mooney@ndsu.edu>)
* Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas
<grawity@gmail.com> and others.)
* Return non-zero exit status on option errors, print usage to stdout when
not an error, add the posix '--' option terminator, Change -S description
to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov
<oneingray@gmail.com>)
- Use upstream tarball instead of a custom one
- Adjust the makefile patch accordingly:
- Rename it from -donstrip to makefile, since the upstream makefile does not
include the strip flag anymore in that line
- Fix the CFLAGS and LDFLAGS accordingly
- Run spec-cleaner
OBS-URL: https://build.opensuse.org/request/show/241574
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=15