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

Bump github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0 #16

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

Release notes

Sourced from github.com/bmatcuk/doublestar/v4's releases.

Added WithNoFollow

Added a WithNoFollow option for Glob, GlobWalk, and FilepathGlob that will cause doublestar to not follow symlinks. However, note that there is a caveat due to io/fs limitations: if the pattern mentions a symlink before any meta characters, those symlinks will be followed. For example: path/to/symlink/* will follow the symlink, assuming it is valid and links to a directory. path/** and path/*/symlink/* will not follow the symlink.

Added WithFilesOnly

Added a new option for Glob, GlobWalk, and FilepathGlob called WithFilesOnly that will cause these functions to only return files. For example, a pattern such as folder/* will only return the files inside the folder, and not any directories. Note that symlinks to directories are considered directories for this purpose.

Added WithFailOnPatternNotExist

Added the option WithFailOnPatternNotExist to Glob, GlobWalk, and FilepathGlob. This option will cause doublestar to abort if the pattern references a path that does not exist, for example, nonexistent/path/*.

Fixed Glob Bug With Pattern That Has Nonexistent Path And WithFailOnIOErrors

If the WithFailOnIOErrors option was set and the pattern contained a reference to a nonexistent path (such as nonexistent/path/*), Glob would return ErrNotExist. It now returns an empty result with no error as expected.

For anyone that would prefer that doublestar returned an error, I'll be adding that as a feature (and a separate option) later.

Added Support for GlobOptions

This release adds options to Glob, GlobWalk, and FilepathGlob. At the moment, the only option is WithFailOnIOErrors that will cause doublestar to fail and return an error if it encounters any IO errors. It can be used like:

doublestar.Glob(fsys, pattern, WithFailOnIOErrors())

Thanks @​fho!

Added Support for SkipDir to GlobWalk

Your callback to GlobWalk can now return SkipDir which functions as it does in the standard library: if the current path is a directory, GlobWalk will not recurse into it. If the current path is not a directory, GlobWalk will stop processing the parent directory.

Added FilepathGlob Convenience Func; Better Support for Escaped Meta Chars

FilepathGlob is a convenience function for people who want a drop-in replacement for filepath.Glob().

Thanks sebastien-rosset

Fixed a bug with {alts} and /* backtracking

No release notes provided.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 28, 2023
@julioc-lopez
Copy link
Owner

@dependabot rebase

@julioc-lopez
Copy link
Owner

@dependabot update

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/bmatcuk/doublestar/v4-4.6.0 branch from 9994835 to ac663a8 Compare August 29, 2023 19:43
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 29, 2023

Looks like this PR is already up-to-date with local-dev! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@julioc-lopez
Copy link
Owner

@dependabot rebase

Dependabot couldn't find the original pull request head commit, ac663a8.
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/bmatcuk/doublestar/v4-4.6.0 branch from ac663a8 to 74b0275 Compare August 29, 2023 23:04
@julioc-lopez julioc-lopez merged commit b39f750 into local-dev Aug 29, 2023
@julioc-lopez julioc-lopez deleted the dependabot/go_modules/github.com/bmatcuk/doublestar/v4-4.6.0 branch August 29, 2023 23:12
julioc-lopez pushed a commit that referenced this pull request Aug 29, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Aug 29, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Nov 7, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Nov 20, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Nov 21, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Nov 21, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Dec 8, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Dec 8, 2023
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Jan 9, 2024
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Jan 17, 2024
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
julioc-lopez pushed a commit that referenced this pull request Jan 17, 2024
)

Bumps github.com/bmatcuk/doublestar/v4 from 4.0.2 to 4.6.0.

[Release notes](https://github.com/bmatcuk/doublestar/releases)
[Commits](bmatcuk/doublestar@v4.0.2...v4.6.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant