port watch-tree-writes.py to a madtea-dev subcommand #628
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#630 Epic: no Python in the repo
sixfold-space/madtea
Reference
sixfold-space/madtea#628
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
scripts/watch-tree-writes.py(added in #603) logs every file that appears or disappears underinternal/andcmd/while a test run is going. It found the config test that wrote into the source tree and made the gitexec contract test fail at random. It is Python in a Go project.Fix
madtea-devsubcommand does the same: it listsinternal/andcmd/again and again, logs each path that appears (+) or disappears (-), stops when a given stop file exists, and writes nothing in the repo.scripts/watch-tree-writes.pyis removed, andscripts/README.mdpoints at the subcommand.Acceptance
go test ./..., logs a directory that a test creates and removes ininternal/, with a test for it.scripts/for this tool.