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 from 1.1.2 to 1.3.4 #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps github.com/bmatcuk/doublestar from 1.1.2 to 1.3.4.

Release notes

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

Fixed Minor Recursion Bug

Thanks @pavelbazika!

Close Directories Immediately

A small change to close directories immediately, rather than deferring. Thanks @luhring!

Fixed bug clobbering results if Readdir fails

If Readdir failed, doublestar was returning nil instead of the accumulated results. Thanks for the bug report @InfiniteTF!

Fixed bug matching files that started with a multi-byte unicode char

Thanks @bnkai for the bug report!

Added "OS" interface to improve testability

Thanks to @twpayne, doublestar now has exported versions of PathMatch and Glob (PathMatchOS and GlobOS respectively) that take an OS interface which can be used to abstract the underlying filesystem calls. Using something like go-vfs, you can then write unit tests for code that uses doublestar without depending on an actual filesystem.

Existing PathMatch and Glob are unchanged.

Sort results from Glob()

No release notes provided.

Minor Bug Fix

Improves compatibility with path.Match by supporting something like Match("*/", "a/")

Windows Absolute Paths Without Volumes; Windows Tests Fixes

Thanks @idoru!

Fixes Patterns that Start With Alternatives

Small bug fix release.

Support for path separators inside {alts}

This release adds support for {alt} groups that include path separators, for example: {/tmp/test/example1,/tmp/test/example2}. It also adds support for nested alt groups. This should close bug #25.

UNC Support

Support for UNC paths in Glob(). Thanks @WithoutPants!

Removes Automatic Multi-Separator Clean-up Code

v1.1.2 introduced some code that would automatically clean-up multiple separators in patterns and paths (ie, /path/to//something would automatically get cleaned to /path/to/something by treating the // as /). However, it has been brought to my attention that this is not always desirable and, so, it makes sense to remove it. If this is desirable behavior, you could always cleanup your patterns and paths before passing them to doublestar, but if I leave in this code and it is undesirable, you have no option to change the behavior.

Fix Directory Issues on Windows

Windows didn't like some of the stuff in the test directory, so I've removed that from the repo and generate it on-the-fly when the tests run.

Commits
  • ec92414 🐛 fix small recursion error
  • eb4d9ac Add example executable entrypoint
  • fbc9ddc Close dir immediately after contents are read
  • 5cf9061 🐛 don't throw away results if Readdir fails
  • bcc22aa [fix #40] 🐛 filename starting with unicode doesn't match *
  • 1a01b95 README adjustments
  • 6611e8e build on linux + windows
  • 23e080d test last three golang versions
  • 39df92f return any error from Close if no other error has occurred
  • 28ecce1 don't ignore errors from Readdir
  • Additional commits viewable in compare view

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [github.com/bmatcuk/doublestar](https://github.com/bmatcuk/doublestar) from 1.1.2 to 1.3.4.
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](bmatcuk/doublestar@v1.1.2...v1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 19, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants