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

fix(deps): update module github.com/charlievieth/fastwalk to v1.0.8 #108

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charlievieth/fastwalk v1.0.3 -> v1.0.8 age adoption passing confidence

Release Notes

charlievieth/fastwalk (github.com/charlievieth/fastwalk)

v1.0.8: Fix go1.20 build

Compare Source

v1.0.8

commit 1fb2d4d
Author: Charlie Vieth [email protected]
Date: Thu Jul 18 10:00:29 2024 -0400

fix go 1.20 build and retract v1.0.7

This commit fixes the build for Go 1.20 by removing use of the slices
package and retracts the v1.0.7 release.

It also changes the CI to test go1.20 (our minimum supported version)
so that this will not happen again in the future.

v1.0.7: Add optional sorting and automatically detect if forward slashes should be used

Compare Source

v1.0.7

This release changes the detection for ToSlash on Windows to only check is the "MSYSTEM" environment variable is set and removes the detection for Windows Subsystem on Linux (WSL) since it was unreliable (additionally tools like fd do not attempt to detect if running under WSL).

It also adds a new feature: the ability to sort directory entries before being processed. This does not make the order that directories and files are visited globally deterministic, but it does significantly improve the output Walk and is useful for tools that print said output.

commit 861d712
Author: Charlie Vieth [email protected]
Date: Thu Jul 11 00:39:35 2024 -0400

fastwalk: add optional sorting and improve documentation

This commit adds the new SortMode and Config.Sort setting to sort
a directory's entries before they are processed. This does not make
the global order that directories and entries are visited
non-deterministic but it does help make the output a bit saner compared
to the default directory order. This was added to make the output of FZF
a bit nicer.

This commit also improves documentation and comments of exported
functions.

commit 875daa3
Author: Charlie Vieth [email protected]
Date: Tue Jul 16 12:50:55 2024 -0400

fastwalk: only check if MSYSTEM is set during MSYS/MSYS2

This changes the MSYS/MSYS2 detection to only check if the MSYSTEM
environment variable is set instead of asserting on its value. This
is to support other MSYS environments like UCRT64.

It also removes the check for Windows Subsystem for Linux (WSL) since
it was unreliable and required us to stat and potentially read a file
on initialization (which is bad).

See:
 * https://github.com/charlievieth/fastwalk/commit/87029d9318159fb714bd064bbda22d69a11fa9f2#r144282929
 * https://github.com/sharkdp/fd/commit/f875ea9a5

commit 87029d9
Author: Charlie Vieth [email protected]
Date: Wed Jul 3 14:59:17 2024 -0400

fastwalk: add MSYS/MSYS2 detection to DefaultToSlash

This change updates DefaultToSlash to also check if we're running in a
MSYS/MSYS2 enviroment since they also use forward slashes.

v1.0.6: : fix go1.20 build

Compare Source

v1.0.6

commit 3ec5a9e
Author: Charlie Vieth [email protected]
Date: Wed Jul 3 02:58:43 2024 -0400

fastwalk: remove use of go1.21 features

fastwalk: remove use of go1.21 features to fix fzf build

v1.0.5: : add ToSlash option and replace getdirentries64 with readdir_r on macOS

Compare Source

v1.0.5

commit 0446dfe
Author: Charlie Vieth [email protected]
Date: Wed Jul 3 01:21:34 2024 -0400

fastwalk: add ToSlash option for enforcing forward-slash paths

This commit adds the Config.ToSlash option which forces paths to be
joined with a forward-slash instead of the default OS path separator.
This mostly applies to Go binaries that are compiled for Windows but
run under the Windows Subsystem for Linux (WSL) so this commit also
adds a helper function DefaultToSlash which detects if we're a Windows
exe running in WSL.

commit 22a282e (master)
Author: Charlie Vieth [email protected]
Date: Tue Jul 2 15:00:22 2024 -0400

mod: update go version to 1.20

commit d4d0d43
Author: Charlie Vieth [email protected]
Date: Sat Jun 29 15:36:06 2024 -0400

dirent: handle nil DirEntry in StatDirEntry

commit ca81468
Author: Charlie Vieth [email protected]
Date: Tue Jul 2 14:22:14 2024 -0400

gh: test on macos arm64

commit b2d5e56
Author: Charlie Vieth [email protected]
Date: Tue Jul 2 14:12:03 2024 -0400

darwin: cleanup syscall code and use a fixed buffer for opendir

Remove unused syscall code and use a fixed buffer for opendir which
saves us an alloc.

commit e515b65
Author: Charlie Vieth [email protected]
Date: Sat Jun 22 01:10:08 2024 -0400

darwin: replace getdirentries64 with readdir_r

The performance benefit of getdirentries64 was negligible to
non-existent and added a huge support burden code wise.

v1.0.4: unix fix stat on unknown file type

Compare Source

v1.0.4

commit 78ddd19 (HEAD -> master, origin/master)
Author: Jan Palus [email protected]
Date: Mon Jun 17 15:55:32 2024 +0200

unix: fix stat on unknown file type

make sure `unknownFileMode` const value matches what is returned when
file type failed to be determmined

commit 9e83309
Author: Charlie Vieth [email protected]
Date: Sat Apr 6 01:25:18 2024 -0400

fastwalk: save a call to Stat when following links

This also changes the code to immediately check if root exists.

commit 386c69b
Author: Charlie Vieth [email protected]
Date: Sat Apr 6 01:07:16 2024 -0400

mod: remove empty go.sum file

commit f3655c0
Author: Charlie Vieth [email protected]
Date: Sat Apr 6 01:01:58 2024 -0400

all: reconcile build tags with internal/dirent package and test builds

This mostly fixes the cluster fuck of build directives and reconciles
them to match the Unix platforms supported by internal/dirent + darwin
it also removes the appengine crap that was a legacy of the original
code.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@joebonrichie joebonrichie merged commit 378dabd into master Sep 12, 2024
1 check passed
@joebonrichie joebonrichie deleted the renovate/github.com-charlievieth-fastwalk-1.x branch September 12, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant