GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tags · moby/patternmatcher

Tags

v0.6.1

Toggle v0.6.1's commit message
v0.6.1

- fix panic /  nil pointer dereference on invalid patterns
- ci: update actions and test against "oldest", "oldstable" and "stable"
  • Mar 24, 2026
  • 5a6d842
  • zip
  • tar.gz
  • Notes

v0.6.0

Toggle v0.6.0's commit message
release github.com/moby/patternmatcher v0.6.0

Release v0.6.0 integrates the "frontend/dockerfile/dockerignore" package
from github.com/moby/buildkit at commit [9da03ce42beb47d0d0a34c68ea90cac793b79851][1]

[1]: https://github.com/moby/moby/tree/a392e6cecb815a7b2b784efd2dd40d04df50e580/pkg/fileutils
  • Aug 22, 2023
  • 347bb8d
  • zip
  • tar.gz
  • Notes

v0.5.0

Toggle v0.5.0's commit message
v0.5.0

Initial release of this module. This module was extracted from pkg/fileutils
in the  github.com/docker/docker/ repository, from this commit:
https://github.com/moby/moby/tree/a392e6cecb815a7b2b784efd2dd40d04df50e580/pkg/fileutils

The package was moved to a separate repository, using the steps below:

    # install filter-repo (https://github.com/newren/git-filter-repo/blob/main/INSTALL.md)
    brew install git-filter-repo

    cd ~/projects

    # create a temporary clone of docker
    git clone https://github.com/docker/docker.git moby_patternmatcher_temp
    cd moby_patternmatcher_temp

    # for reference
    git rev-parse HEAD
    # --> a392e6cecb815a7b2b784efd2dd40d04df50e580

    # remove all code, except for the files we need, and rename the files
    git filter-repo \
        --path LICENSE \
        --path NOTICE \
        --path-match pkg/fileutils/fileutils.go \
        --path-match pkg/fileutils/fileutils_test.go \
        --path-rename pkg/fileutils/fileutils.go:patternmatcher.go \
        --path-rename pkg/fileutils/fileutils_test.go:patternmatcher_test.go

    # remove canonical imports
    git revert -s -S 0625860

    # initialize module
    go mod init github.com/moby/patternmatcher
    go mod tidy

After this;

- a go.mod was added, and the package names renamed
- functions unrelated to matching were removed
- NewPatternMatcher was renamed to New
- GitHub actions were added

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Sep 30, 2022
  • c5e4b22
  • zip
  • tar.gz
  • Notes
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.