mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 13:06:30 +02:00
* Fix ignore file inconsistencies .packwizignore is supposed to work like .gitignore, yet it fails miserably at doing so, being able to ignore only global patterns like *.zip, and failing at patterns like /*.zip. This commit introduces two changes to fix the issue: - First, it uses a more up-to-date library. denormal/go-gitignore has not been updated since 2018 and has long open issues and pull requests, one of which tries to address leading slash ignoring, a-la /*.zip. denormal account seems to be abandoned since around the same year, so it makes sense to find a new library that does roughly the same thing. Gladly so, there's actually a library by sabhiram that shares the same name (but not the package name itself - which is just ignore - so it probably requires aliasing when importing). - Secondly, it checks relative paths against ignore file instead of the absolute ones, which makes it possible to use leading slash (and probably some other features) with the new library. From personal tests, it seems to address most - if not all - of the inconsistencies. However, since it's a different library more throughout testing probably wouldn't hurt to make sure it didn't break anything. * Move dependency to main block
47 lines
1.8 KiB
Modula-2
47 lines
1.8 KiB
Modula-2
module github.com/packwiz/packwiz
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v0.3.1
|
|
github.com/Masterminds/semver/v3 v3.1.1
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/aviddiviner/go-murmur v0.0.0-20150519214947-b9740d71e571
|
|
github.com/daviddengcn/go-colortext v1.0.0 // indirect
|
|
github.com/fatih/camelcase v1.0.0
|
|
github.com/igorsobreira/titlecase v0.0.0-20140109233139-4156b5b858ac
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.13 // indirect
|
|
github.com/mitchellh/mapstructure v1.4.1
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
|
|
github.com/sahilm/fuzzy v0.1.0
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/spf13/cobra v1.1.3
|
|
github.com/spf13/viper v1.8.0
|
|
github.com/vbauerster/mpb/v4 v4.12.2
|
|
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
|
|
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
|
|
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
|
|
golang.org/x/text v0.3.6 // indirect
|
|
gopkg.in/dixonwille/wlog.v2 v2.0.0 // indirect
|
|
gopkg.in/dixonwille/wmenu.v4 v4.0.2
|
|
)
|
|
|
|
require (
|
|
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.4.9 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/magiconair/properties v1.8.5 // indirect
|
|
github.com/pelletier/go-toml v1.9.3 // indirect
|
|
github.com/spf13/afero v1.6.0 // indirect
|
|
github.com/spf13/cast v1.3.1 // indirect
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.2.0 // indirect
|
|
gopkg.in/ini.v1 v1.62.0 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|
|
|
|
go 1.17
|