SHA256
1
0
forked from pool/tree

5 Commits

Author SHA256 Message Date
bcce239162 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
9093be1c5b update to version 2.2.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/tree?expand=0&rev=38
2024-11-27 08:40:56 +00:00
c673707413 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
2db5c0d0e4 - 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
633143ada3 - 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/package/show/Base:System/tree?expand=0&rev=35
2024-09-25 08:43:44 +00:00
4 changed files with 96 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3c3d55f403af7c76556546325aa1eca90b918cbaaf6d3ab60a49d8367ab90d5
size 60515

BIN
tree-2.2.1.tgz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,92 @@
-------------------------------------------------------------------
Tue Nov 26 08:59:39 UTC 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 08:44:35 UTC 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 13:48:56 UTC 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 13:41:18 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package tree
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: tree
Version: 2.1.1
Version: 2.2.1
Release: 0
Summary: File listing as a tree
License: GPL-2.0-or-later
Group: Productivity/File utilities
URL: https://mama.indstate.edu/users/ice/tree/
Source0: https://mama.indstate.edu/users/ice/tree/src/%{name}-%{version}.tgz
URL: https://oldmanprogrammer.net/tar/tree/
Source0: https://oldmanprogrammer.net/tar/tree/%{name}-%{version}.tgz
%description
Tree is a recursive directory listing command that produces a depth