Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree: Update to v2.2.0 #4453

Merged
merged 1 commit into from
Nov 26, 2024
Merged

tree: Update to v2.2.0 #4453

merged 1 commit into from
Nov 26, 2024

Conversation

davidjharder
Copy link
Member

@davidjharder davidjharder commented Nov 25, 2024

Summary

  • 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.
  • 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.
  • Maybe finally fix JSON error reporting when unable to open a directory and a full tree is required, such as when using --du.
  • Fix small rounding error in human readable size (-h) output, where 9.99K is rounded to 10.0K rather than 10K
  • 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.
  • Add .gitignore file to distribution for those wanting that.
  • Add 'none' as a valid --sort option (i.e. -U).
  • 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.

Sync Message

Hey all you tree-huggers out there, a new version of everyone's favorite directory-inspecting command-line tool tree has dropped! Hot on the heels of this summer's one-two punch of version 2.1.2 (July 1) and version 2.1.3 (July 9) comes the highly-anticipated version 2.2.0 {airhorn noises}. It's got something for everyone: Are you into corrected rounding? How about sane JSON error reporting? Maybe increased help file readability through bold and italic styling? We even have a command line option that toggles more options. A command line option option! All this and more is yours for for the low low price of nothing! Go to your local sudo eopkg up -y to get tree today! offervalidwithincanadatheunitedsatesandtherestoftheflippingglobemustbelegaltypingageseesyncnotesfordetails

Test Plan

  • Run tree, see directory tree

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged (Write an appropriate message in the Summary section)
    co

**Summary**

- 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.
- Add --hyperlink option to print OSC 8 terminal hyperlinks for files. Also adds the --scheme and --authority options to modify the schema and hostnameauthority of the links.
- Maybe finally fix JSON error reporting when unable to open a directory and a full tree is required, such as when using --du.
- Fix small rounding error in human readable size (-h) output, where 9.99K is rounded to 10.0K rather than 10K
- 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 thedirectory totals rather than just the top most directory total.
- Add .gitignore file to distribution for those wanting that.
- Add 'none' as a valid --sort option (i.e. -U).
- 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.
Copy link
Member

@malfisya malfisya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

Glorious sync message.

@malfisya malfisya merged commit 6c44ad5 into main Nov 26, 2024
1 check passed
@malfisya malfisya deleted the tree branch November 26, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants