mitranim / mitranim/gow

Ignore directory prefixed with dot

Open
#17 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
906
Forks
29
PR merge metrics
No merged PRs in 30d

Description

When running go test ./...

Directories prefiexed with dot :

.mongo-data

in my case, is ignored by go

Using gow test ./...
seems to reading that directory,

The problem is, that that directory is bound to container, thus resulting in this error:

.mongo-data/journal: permission denied

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem with gow test ./... and a dot-prefixed directory such as .mongo-data mounted from a container. Trace how directory arguments are discovered and compare the behavior with go test ./...; done means dot-prefixed directories are ignored without breaking normal watching or testing.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.