Up to [cvs.NetBSD.org] / pkgsrc / sysutils / onefetch
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/onefetch: update to 3.2.0
What's Changed
New Features
Add an Activity field with a commits-per-month sparkline by @o2sh in #1902
Add --activity-months CLI argument to set the activity window by @o2sh in #1905
Add an Unreleased field with the commits since the last release by @o2sh in #1903
sysutils/onefetch: update to 3.1.0
What's Changed
Bug Fixes
Fix a crash when --ascii-input is empty or only whitespace by @o2sh in #1898
Fix --languages and --ascii-language listing languages in random order, a regression since 2.28.0 by @o2sh in #1890
--number-of-languages now also applies to -o json and -o yaml by @o2sh in #1884
CI/CD
onefetch-ascii, onefetch-image and onefetch-manifest are merged into onefetch and no longer published (last version: 3.0.0) by @o2sh in #1884
Release binaries are built with LTO and stripped on all platforms by @o2sh in #1891
Chores
Replace unmaintained winres with winresource by @o2sh in #1896
sysutils/onefetch: update to 3.0.0
Breaking Changes
JSON/YAML output (-o json, -o yaml) now contains raw values instead of display text:
creationDate and lastChange are always ISO 8601 timestamps ("2018-09-14T18:51:00Z"). Previously they were relative text ("8 years ago") unless --iso-time was passed.
repoSize is a number of bytes (2161012) instead of formatted text ("2.06 MiB").
dependencies is replaced by numberOfDependencies (number) and manifestType ("Cargo", "Npm", "PyProject", or null when there is no manifest).
onefetch-manifest crate: ManifestType has a new PyProject variant.
Security Fix
Fix terminal escape sequence injection through repository data (CVE-2026-100866) By @carfeii in #1829
New Features
Add pyproject.toml manifest support (PEP 621) by @ChrisJr404 in #1842
Update Elixir colors to the official brand color by @georgeguimaraes in #1868
Bug Fixes
Use the default remote for the repository URL by @o2sh in #1873
Exit with clear error message when repository uses reftable by @Jorge-Polanco-Roque in #1853
Chores
Separate repository info building from styling by @o2sh in #1880
sysutils/onefetch: update to 2.28.1
2.28.1
What's Changed
CI/CD
Fix CD pipeline by @o2sh
2.28.0
What's Changed
New Features
add language support for Just by @o2sh in b0b9742
add language support for Mojo by @ruvasqm in #1500
add language support for Batch file by @spenserblack in #1745
Add language support for Slang by @arealsquirrel in #1759
Bug Fixes
Prevent churn calculation from returning an error on partial clones by @lawrence3699 in #1736
CI/CD
Use renovate for dependency updates by @o2sh in #1793
Automate debian package release in CD by @o2sh in #1831
Chores
add FAQ to README by @o2sh in #1769
Fix typos in comments and documentation by @maxtaran2010 in #1791
sysutils/onefetch: update to 2.27.1 2.27.1 Bug Fixes - Fix CD pipeline by @o2sh in 497d4c0 2.27.0 New Features - add language support for Nushell by @o2sh in #1687 - add language support for Slint by @opmr0 in #1710 Bug Fixes - fix npm manifest parsing by @o2sh in #1693 - always show ascii-language when provided by CLI by @o2sh in #1713 - ascii_colors should match ascii-language colors when provided by CLI when no language detected bcfca6b Chores - simplify logic for commit graph traversal, reduce parallelization by @o2sh in #1682 onefetch.dev - Add Copy button with toaster to Ascii preview by @o2sh in #1679
sysutils/onefetch: update to 2.26.1 2.26.1 Bug Fixes - Fix CD pipeline by @o2sh in becddb9 2.26.0 New Features - Add colors to --help by @starsep in #1633 Chores - No unsafe by @Sk7Str1p3 in #1646 - bump cargo edition to 2024 by @o2sh in a3062f4 - increase default color resolution for sixel by @o2sh in 73300b6 Bug Fixes - skip get_main_language call if no language detected by @o2sh in 10603ae New Contributors - @0323pin made their first contribution in #1599 - @starsep made their first contribution in #1633
sysutils/onefetch: update homepage
sysutils/onefetch: Fix build on NetBSD. https://github.com/o2sh/onefetch/pull/1599
sysutils/onefetch: update to 2.25.0
What's Changed
New Features
add language support for Text by @Kajiih in #1579
support repos "without source code" by @o2sh in #1580
Chores
improve error handling by @Mahdiglm in #1560
Bug Fixes
remove extra line break by @o2sh in 886d942
sysutils/onefetch: update to 2.24.0
What's Changed
New Features
add language support for Lean by @foxyseta in #1509
add language support for Typst by @foxyseta in #1508
add language support for Razor by @SrS2225a in #1521
Chores
more idiomatic way to fetch HEAD refs by @o2sh in #1515
more idiomatic way to fetch repository remote URL by @o2sh in #1516
update holyc language logo by @o2sh in #1543
update wiki powershell-snippet by @FallenDeity in #1542
add nix local setup @Sk7Str1p3 in #1549
sysutils/onefetch: reset maintainer
sysutils/onefetch: update to 2.23.1 2.23.1 Bug Fixes ๐ - Fix version in man page 2.23.0 What's Changed New Features ๐ - add language support for OpenSCAD by @kenchou in #1502 - add language support for Modelica by @dietmarw in #1262 - add language support for ATS by @pykenny in #523 - add language support for CUDA by @jtmr05 in #940 - add missing nerd fonts icons for some languages by @ankddev in #1491 Chores ๐งน - add Italian translation of README by @tlazzarin in #1435 - add Polish translation of README by @adamperkowski in #1444 - add Czech translation of READEME by @Amereyeu in #1439 - update russian README by @ankddev in #1478 - [onefetch.dev] migrate to Svelte v5 by @o2sh in #1455 - add script to preview/validate Nerd Fonts by @spenserblack in #1492 - add Powershell snippet to run onefetch automatically by @kiapanahi in #1453
sysutils/onefetch: update to 2.22.0 What's Changed New Features ๐ - Add support for nerd font glyphs in languages info by @Localghost385 in #1395 - [onefetch.dev] Add nerdfont iconts to the preview by @Localghost385 in #1411 - Automate publishing crates to crates.io by @musicinmybrain in #1364 Bug Fixes ๐ - Show future commit dates without panicking by @MalteT in #1389 Chores ๐งน - Re-generate the man page with --no-info by @musicinmybrain in #1376 - Drop unused shebangs from repo test fixture scripts by @musicinmybrain in #1375
sysutils/onefetch: update to 2.21.0
New Features ๐
Add CLI option to force URL format to HTTP instead of SSH by @0spotter0 in #1314
Add CLI flag to hide token from repository URL by @o2sh in #1319
Make Lua logo more readable on dark terminal by @o2sh in #1337
Bug Fixes ๐
Fix deadlock in Churn computation by @Nettifani in #1316
Exclude bot commits from churn when --no-bots option is used by @o2sh in #1335
Chores ๐งน
[onefetch.dev] switch to dark theme by @o2sh in #1297
RUSTSEC-2024-0320: remove yaml-rust dependency by @Suyun114 in #1309
Refactor --no-bots CLI option by @o2sh in #1340
sysutils/onefetch: update to 2.20.0
New Features ๐
Add svg language support by @Localghost385 in #1266
lang: Adding Oz programming language by @luxluth in #1280
Chores ๐งน
website: Filter entries by language type in onefetch.dev by @o2sh in #1227
Use GitHub's alert syntax by @spenserblack in #1234
Add german translation of README.md by @rdwz in #1236
Use gitoxide to get pending changes by @Byron in #1285
sysutils/onefetch: update to 2.19.0 2.19.0 (2023-11-29) New Features ๐ - exclude files from churn by @o2sh in #1120 - add odin support by @spsandwichman in #1064 - New language: Arduino by @Sh4rk-Byte in #1176 - Right align authorship percentages by @lukehsiao in #1207 - Add Agda to languages.yaml by @Zoltan-Balazs in #1216 Bug Fixes ๐ - add a test for negative dates and see how onefetch handles it by @Byron in #1100 Chores ๐งน - Group clap dependency updates by @spenserblack in #1101 - Group all NPM dependency updates by @spenserblack in #1110 - Added Turkish Translations by @4Chaffenel in #1135 - use workspace inheritance by @o2sh in #1142 - docs(contributing): Add syntax highlighting to YAML block by @spenserblack in #1172 - add release.yml file by @o2sh in #1177 - replace action-rs by @o2sh in #1191 - Resolve clippy warnings by @spenserblack in #1201 - Refactor and test info field styling by @spenserblack in #1214 - Refactoring git metrics module by @o2sh in #1217 Dependencies โฌ๏ธโฌ๏ธ - upgrade to gix 0.53.1 by @Byron in #1166
*: bump for openssl 3
sysutils/onefetch: fix build with new libgit2 Switch to vendored libgit2 to avoid mismatches.
sysutils/onefetch: Fix build on NetBSD/powerpc. We do this by forcefully not probing for POWER8 or POWER9 in vendor/libz-ng-sys-1.1.8. Bump PKGREVISION.
sysutils/onefetch: update to 2.18.1 Bug Fixes - don't fail when computing diff on partial clones (#1093) @Byron @o2sh Features - fetch banner info from github (#1094) @spenserblack @o2sh
sysutils/onefetch: update to 2.18.0 Features - add new info line called "Churn" which displays the files with the most modifications (commits) (#1071) @o2sh @Byron - add Hlsl support (#1082) @progDes007 Chore - performance: optimize case where repo has a commit-graph for massive performance gains (#1081) @Byron - docs: add a cmd.exe version of the cd snippet (#1048) @mataha - refacto: use the builder pattern to instantiate the Info struct (#1047) @o2sh @spenserblack - improve bot regex (#1086) @o2sh @spenserblack
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
sysutils/onefetch: update to 2.17.1 2.17.0 (2023-04-08) - Disable line wrap (#983) @o2sh - Add Pascal support (#989) @rchastain - Add Coldfusion support (#971) @theemanofsteele - Remove github token from url field (#996) @jim4067 - Changed Hashbang (#979) @gautamprikshit1 - Prevent conflicts in wiki action 39fe441 @spenserblack - Fix typos (#992) @hezhizhen - Group CLI options in sections (#995) @o2sh - replace --show-logo with --no-art (#1002) @o2sh - Set snapshot language to plain text (#1003) @spenserblack - Better error message when human_time panics (#1010) @o2sh
sysutils/onefetch: fix build w/new libgit2
sysutils/onefetch: update to 2.17.0 2.17.0 (2023-04-08) - Disable line wrap (#983) @o2sh - Add Pascal support (#989) @rchastain - Add Coldfusion support (#971) @theemanofsteele - Remove github token from url field (#996) @jim4067 - Changed Hashbang (#979) @gautamprikshit1 - Prevent conflicts in wiki action 39fe441 @spenserblack - Fix typos (#992) @hezhizhen - Group CLI options in sections (#995) @o2sh - replace --show-logo with --no-art (#1002) @o2sh - Set snapshot language to plain text (#1003) @spenserblack - Better error message when human_time panics (#1010) @o2sh
sysutils/onefetch: update to 2.16.0 Features - Add GLSL language support #490 (#824) @sangsatori Bug fixes - Fix Markdown / Jupyter markup not getting counted (#937) @spenserblack - upgrade gix to 0.36.1 to avoid breakage. (#965) @Byron Chore - Fix path to language template (#939) @spenserblack - Create the Arabic README file (Arabic translation) (#950) @anas-elgarhy - Refactoring of info/langs/mod.rs (#948) @o2sh - Remove country flags #928 @o2sh - Upgrade git-repository 0.30 to gix 0.36 (#963) @Byron
sysutils/onefetch: update to 2.15.1 2.15.1 Bug Fixes - Fix CD Github action @o2sh 2.15.0 Features - Add --number-separator CLI flag #892 @o2sh - Add Makefile language support #867 @ozwaldorf - Vercel: add section links #922 @ozwaldorf Chore - Add gitpod.io configuration #881 @spenserblack - Use human_panic #887 @o2sh - Read license from manifest first #769 @o2sh - Install cargo-insta in dev containers #909 @spenserblack - Info struct to holds a Vec #911 @o2sh - Add benchmark #912 @o2sh - GH action to synchronize wiki with .github/wiki #926 @spenserblack @o2sh - Clean up greeter and fix repository detection mechanism in wiki #927 @quazar-omega - Turn AsciiArt.rs into its own crate #934 @o2sh Bug Fixes - Use ISO time for snapshot tests #908 @spenserblack - Parse multi-byte unicode chars correctly + docs #936 @ozwaldorf
sysutils/onefetch: update to 2.14.2 v2.14.2 Bug Fixes - Include assets in crate a2f508a @o2sh - Fix clap deps for onefetch-image crate 8cca7af - Add description field to onefetch-image and onefetch-manifest crate 2888186 @o2sh v2.14.1 Bug Fixes - Fix CD 5085c5b @o2sh v2.14.0 Features - Add description info line #851 @o2sh - Add CLI flag to set the maximum number of languages to be shown 8159b34 @o2sh - Add VisualBasic language support #867 @antonizyla Chore - Add manifest crate #851 @o2sh @spenserblack - Move image_backends into its own crate 9ce17c1 @o2sh - Add devcontainer/codespace config #857 @spenserblack - Switch to Swatinem/rust-cache for caching 7592eb2 @o2sh - Add README translation for Korean #869 @abiriadev - add icon to windows exe 584574f @o2sh Bug Fixes - Fix typo in help message for -e (--exclude) #861 @skogseth
sysutils/onefetch: update to 2.13.2 - [fix] Repo without remote should not fail - [chore] Add integration tests with snapshot testing for Info struct - [chore] Refactor test expressions
sysutils/onefetch: fix broken build
sysutils/onefetch: update to 2.13.1 2.13.1 (2022-10-22) Other [ci/cd] fix Snapcraft release [misc] fix Cargo.lock 2.13.0 (2022-10-21) onefetch is now typically more than twice as fast when executing. This was achieved by reducing allocations and switching to gitoxide for the most taxing tasks. A new web interface onefetch.dev was developed where users can visualize an ASCII preview for all the programming languages currently supported by onefetch. Like the binary, the data is parsed from the Languages.yaml file. Other [chore] reducing allocations and switching to gitoxide from libgit2 #635 @Byron [docs] add README translation for Spanish #631 @JakeRoggenbuck @practicatto [docs] add Changelog generated using cargo-smart-release #637 @Byron [cli] add --completion option #657 @spenserblack [language] update PHP colors #664 @DenverCoder1 [misc] switch to actions/stale #666 @spenserblack @o2sh [misc] add github issue forms #667 @spenserblack @o2sh [ci/cd] generate Windows installer from CD #668 @o2sh [ci/cd] create WinGet workflow for auto publishing #673 @russellbanks [language] update logo: shell #677 @fux0c1ety [docs] adding french documentation support #693 @Kaderovski [chore] extract language definitions into data file #699 @spenserblack [ci/cd] add codecov + tarpaulin in ci @o2sh [misc] create Vercel app for onefetch with ASCII preview #701 @spenserblack [docs] update the README in Russian #736 @AndreyKozhev [chore] turn InfoField into a trait (big refactoring) #755 @o2sh [language] Improve JSX ASCII logo #784 @alessandroasm [language] Improve TSX ASCII logo #785 @alessandroasm [language] added support for verilog #789 @atluft [language] improve ruby logo #786 @atluft [language] added support for xsl #798 @atluft [language] added support for systemverilog #797 @atluft [test] add unit tests to src/info/info_field.rs #810 @alessandroasm [ci/cd] automate publish to crates.io #800 @spenserblack [language] added support for ABNF #811 @atluft [test] add unit tests src/info/repo/commits.rs #813 @alessandroasm [test] add unit tests src/info/repo/contributors.rs #814 @alessandroasm [language] added support for ABAP #821@atluft [test] testing get_git_username using git-testtools for #812 @atluft [language] improve bash logo @o2sh [language] improve assembly logo @o2sh [test] add unit tests for author.rs #829 @gallottino @Oniryu95 Fixes Commits replaced with git replace are now followed. This can be turned off by setting the GIT_NO_REPLACE_OBJECTS environment variable. Shallow clones are now detected and displayed as such. Previously it might have appeared that the commit count is the real even though it was truncated due to the shallow-ness of the repository. If a repository is shallow, (shallow) will appear after the commit count. Refactor git2 repository can now be owned by the Repo type Previously this wasn't possible as commits would be kept in Repo which would cause self-referential borrow check issues unless the git2 repository was kept outside. completely separate Commits and Repo structure put all commit-traversal related initialization into own struct
sysutils/onefetch: update to 2.12.0
Notes:
[language] added support for Ren'Py #560 @TabulateJarl8
[info] added language bar distribution #585 @o2sh @spenserblack
[misc] granted read access to onefetch snap to gitconfig files #588 @o2sh
[language] added support for Ceylon #602 @DenverCoder1
[misc] default to terminal foreground color for tilde, underline, colon
and info #604 @o2sh
[language] fix Lua logo so that it can be read even without color #610
@yutkat
[misc] replace colored crate with owo-colors #620 @o2sh @spenserblack
[misc] remap White ANSI color to Default #625 @spenserblack
[language] added support for Wolfram #609 @rcon56
[misc] match circle color with github linguist #630 @o2sh
[language] added support for VHDL #632 @BHatGuy
sysutils/onefetch: update to 2.11.0 -[docs] Add Persian, Chinese and Russian README -[misc] add CLI flag to count hidden files and directories -[misc] removed json dependency -[misc] Better error handling (Replace error-chain with anyhow) -[misc] add LanguageType -[misc] update license cache -[misc] Use time crate instead of chrono -[language] added support for Protocol Buffers -[language] added support for SQL, WebAssembly, Toml, Yaml, Jsonnet, Solidity, Json, Sass, LLVM, AutoHotKey, Coq and Fortran Legacy -[cd] Automate "languages supported" badge -[cd] Add workflow for Minimum Rust Version badge
sysutils/onefetch: simplify Makefile
sysutils/onefetch: update to 2.10.2 2.10.2 -[bug] fix text coloring 2.10.1 -[bug] add build step to Makefile to fix CD 2.10.0 -[bug] fix "Last change: now ago" @o2sh -[language] added support for Haxe @LordMZTE -[language] added support for Scheme @wigust -[language] added support for GDScript @o2sh -[ci] Make audit scheduled and manually runnable @spenserblack -[language] added support for Svelte @Luke-zhang-04 -[language] added support for Ada @Labdabeta -[docs] add README.ja.md @err931 -[language] added support for Hcl @PsypherPunk -[bug] round up instead of truncate in perc. of contribution @o2sh -[language] Fixed Fortran ASCII to be more symetrical @jake-87 -[misc] add CLI option to ignore bot commits @o2sh -[info] use .mailmap to merge authors @o2sh -[info] merge authors by signature @o2sh -[misc] add CLI option for displaying author emails @remopas -[language] added support for PowerShell @dxking -[info] display the number of contributors @o2sh
sysutils/onefetch: update to 2.9.1 -Update dependencies and fix serde related build failure @Byron
sysutils/onefetch: update to 2.9.0 -[info] add pyproject.toml and Pipfile parsers for pip package manager @HallerPatrick -[language] added support for Emojicode @geeseven -[language] added support for GraphQL @geeseven -[misc] automate Homebrew release @erikgaal -[language] added support for Qml @mapau -[misc] add Yaml output and ISO 8601 date format option @kernel-sanders -[misc] add CLI option to switch true colors on/off @spenserblack
sysutils/onefetch: update to 2.8.0 -[language] added support for VimScript @geeseven -[language] added support for Vala @geeseven -[language] added support for Processing @Luke-zhang-04 -[misc] new CLI flag to hide logo if terminal size is too narrow @Luke-zhang-04 -[misc] new CLI flag to output in JSON format @HallerPatrick -[misc] exclude .git folder when computing repo size @HallerPatrick -[info] replace git sys calls with git2-rs calls @HallerPatrick -[info] added pub as another package manager for dart projects @HallerPatrick
sysutils/onefetch: update to 2.7.3 v2.7.3 -[info] if user.name is not set print unknown instead of crashing v2.7.2 -[language] added support for HolyC -[language] added support for Xaml -[info] get_repo_name_and_url defaults to remote.origin.url -[misc] replaced some git sys calls with git2-rs calls -[ascii] improved coloring for c, c++, c#, typescript, and lua -[ascii] fixed ascii max-width integration test --> update raku ascii logo -[image] fixed image detection for kitty: remove check on env variable
sysutils/onefetch: update to 2.7.1 v2.7.1 Misc: -Remove Language::Unknown
sysutils/onefetch: update to 2.7.0 v2.7.0 New features: -Detect dependencies -add print-package-mangers cli option Bug fixes -Don't output unnecessary newline when checking for image backend support -Fix trailing white space in LOC Misc -Colon is white by default
sysutils/onefetch: update to 2.6.0 v2.6.0 Language: -Added support for Zsh, bash, JSX and TSX New features: -Support COLORTERM for TrueColor ASCII -CLI flag to use more color (16 -> 256) in sixel graphics -Add Text Coloring via CLI flag -Add CLI flag to disable ASCII art (or image) and only display info lines -Extend image backend support to ITerm2 Inline Images Protocol -Replace ASCII logo with shell command output Misc: -clean up python script from wiki -make build fail when deprecated dependencies -remove async/await
sysutils/onefetch: simplify Makefile add cargo-depends.mk
sysutils/onefetch: update to 2.5.0 v2.5.0 Summary: Lots of code refactoring and ASCII re-touching. Bug Fixes: -Identify author by email @yoichi -Fix #180 @o2sh -Fix layout with sixel image backend @yoichi New features: -Show number of Tags and Branches @reime005 Misc: -Reduce size of Lua, Clojure, Jupyter-Notebooks, Tex, Zig ASCII logo @maash3r -Reduce size of Swift, Objective-C ASCII logo @atluft -Reduce size of Php @rootEnginear -Reduce size of Nim @tianlangwu -Better CI/CD @spenserblack -New Go and Rust ASCII logo @nguyenquannnn -Enable image backends on macOS @yoichi
sysutils/onefetch: update to 2.4.0 v2.4.0 This release's main focus was to improve the overall performance and make it easier for future contributors to add support for a new language. Contributors:@spenserblack,@SuperSandro2000,@MarkusPettersson98 Language:Added support for Crystal @MarkusPettersson98 New feature: -Use async/await to improve performance @spenserblack @o2sh -Refacto language.rs with the introduction of a macro! and Unit tests to check for ASCII logo size @spenserblack -Refacto info.rs to use git log once #198 @o2sh Misc: -Add info for cargo-deb @SuperSandro2000 -Enable stale bot #184 @o2sh -Enable dependabot @spenserblack -Improved ci/cd actions @o2sh
sysutils/onefetch: import package Onefetch is a command line information tool that displays information about your Git repository directly on your terminal. The information is by default displayed alongside the dominant language's logo. You can further configure Onefetch to display an image instead or another ascii logo. Onefetch provides the user with code statistics and project information with features like license detection. Onefetch will show the language distribution, LOC (lines of code), size on disk, Contributors, Version, etc. You can further configure Onefetch to display exactly what you want it to. Through the use of command-line flags. Onefetch supports almost 50 different programming languages. If your language of choice isn't supported: Open up an issue and support will be added. Contributions are very welcome! Thanks to maya for reviewing