41 Commits

Author SHA256 Message Date
513483d0a0 Accepting request 1332390 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1332390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=33
2026-02-12 16:24:59 +00:00
55d7ba0bfe - 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=40
2026-02-11 07:13:00 +00:00
b2d8fdcc72 Accepting request 1226816 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1226816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=32
2024-11-27 21:10:01 +00:00
9d4b33b303 Accepting request 1226458 from home:tsaupe:branches:Base:System:tree-html-fix
update to version 2.2.1

OBS-URL: https://build.opensuse.org/request/show/1226458
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=38
2024-11-27 08:40:56 +00:00
fb8033df0f Accepting request 1203372 from Base:System
- 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
2024-09-25 19:51:34 +00:00
5c16169c0b - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=36
2024-09-25 08:47:09 +00:00
076d6cac77 Accepting request 1203004 from home:gleidi:branches:Base:System
- 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/1203004
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=35
2024-09-25 08:43:44 +00:00
71c3eb1811 Accepting request 1130183 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1130183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=30
2023-12-01 20:26:22 +00:00
2658d89ef7 Accepting request 1130001 from home:Guillaume_G:PAC_BTI
- Build with openSUSE flags

OBS-URL: https://build.opensuse.org/request/show/1130001
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=33
2023-12-01 10:37:03 +00:00
d154362bde Accepting request 1093682 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1093682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=29
2023-06-19 20:50:32 +00:00
13a1cc8d69 Accepting request 1093466 from home:jbaier_cz:branches:Base:System
Update tree to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/1093466
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=31
2023-06-18 18:46:57 +00:00
830b560269 Accepting request 1066548 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1066548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=28
2023-02-19 17:19:01 +00:00
eae51e17c7 Accepting request 1066191 from home:jbaier_cz:branches:Base:System
Update tree to 2.1.0

OBS-URL: https://build.opensuse.org/request/show/1066191
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=29
2023-02-18 16:28:04 +00:00
2aba5742fb Accepting request 1002708 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1002708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=27
2022-09-12 17:08:13 +00:00
b55d797bee Accepting request 1001811 from home:AndreasStieger:branches:Base:System
tree 2.0.4

OBS-URL: https://build.opensuse.org/request/show/1001811
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=27
2022-09-12 07:29:04 +00:00
897de51ce5 Accepting request 999908 from Base:System
- 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
2022-08-29 09:59:40 +00:00
eedcdfe696 OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=25 2022-08-29 09:40:45 +00:00
157efda25f Accepting request 999692 from home:AndreasStieger:branches:Base:System
tree 2.0.3

OBS-URL: https://build.opensuse.org/request/show/999692
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=24
2022-08-29 09:40:14 +00:00
b5c3ab641e Accepting request 955709 from Base:System
OBS-URL: https://build.opensuse.org/request/show/955709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=25
2022-02-17 22:40:33 +00:00
5f95d42c32 Accepting request 955699 from home:AndreasStieger:branches:Base:System
tree 2.0.2

OBS-URL: https://build.opensuse.org/request/show/955699
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=23
2022-02-17 20:50:09 +00:00
a8fbe3e762 Accepting request 943932 from Base:System
OBS-URL: https://build.opensuse.org/request/show/943932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=24
2022-01-06 14:50:56 +00:00
cf4c840093 Accepting request 943837 from home:AndreasStieger:branches:Base:System
tree 2.0.1

OBS-URL: https://build.opensuse.org/request/show/943837
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=22
2022-01-05 08:59:58 +00:00
bb6ec16fd0 Accepting request 943563 from Base:System
- 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
2022-01-04 18:37:33 +00:00
91c74f3dec OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=21 2022-01-03 10:33:59 +00:00
deb9bf8df9 Accepting request 942133 from home:AndreasStieger:branches:Base:System
tree 2.0.0

OBS-URL: https://build.opensuse.org/request/show/942133
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=20
2022-01-03 10:33:20 +00:00
4b60080a90 Accepting request 657085 from Base:System
OBS-URL: https://build.opensuse.org/request/show/657085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=22
2018-12-11 14:49:26 +00:00
2b51235cc1 Accepting request 656844 from home:atopt:branches:Base:System
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&#279;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
2018-12-11 08:40:46 +00:00
Stephan Kulow
cf6831cf91 Accepting request 241765 from Base:System
- 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
2014-07-21 19:40:32 +00:00
caf39a9404 - 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/package/show/Base:System/tree?expand=0&rev=16
2014-07-21 14:53:29 +00:00
92830c8127 Accepting request 241574 from home:tampakrap
- 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
2014-07-21 14:46:36 +00:00
Stephan Kulow
f28ae6a75f replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=16
2011-12-06 18:09:21 +00:00
Stephan Kulow
fe2ee07731 Accepting request 92958 from Base:System
update to 1.6.0 (forwarded request 92890 from computersalat)

OBS-URL: https://build.opensuse.org/request/show/92958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=15
2011-11-22 16:49:42 +00:00
b178c864d4 Accepting request 92890 from home:computersalat:devel:Base
update to 1.6.0

OBS-URL: https://build.opensuse.org/request/show/92890
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=13
2011-11-21 20:36:20 +00:00
Ruediger Oertel
d2d33d78fa Accepting request 86491 from Base:System
- cross-build fix: use %__cc macro (forwarded request 86478 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=13
2011-10-04 16:15:26 +00:00
OBS User autobuild
77340a56f1 Accepting request 39358 from Base:System
Copy from Base:System/tree based on submit request 39358 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/39358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=9
2010-05-04 09:50:45 +00:00
OBS User autobuild
ffe850fdf0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=8 2010-03-18 15:32:55 +00:00
OBS User autobuild
b2b9820861 Accepting request 27234 from Base:System
Copy from Base:System/tree based on submit request 27234 from user coolo

OBS-URL: https://build.opensuse.org/request/show/27234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=7
2009-12-21 13:27:26 +00:00
OBS User unknown
4df4f15a2b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=5 2009-07-09 11:59:47 +00:00
OBS User unknown
f5a6e0c9b3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=4 2009-06-17 22:30:20 +00:00
OBS User unknown
cb631df148 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=2 2007-04-14 15:43:44 +00:00
OBS User unknown
3e9213db87 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree?expand=0&rev=1 2007-01-15 23:39:40 +00:00