bazel-contrib / bazel-contrib/rules_bazel_integration_test

Update `create_scratch_dir.sh` to copy over everything except `.git` directory.

Open
#390 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Starlark
Stars
65
Forks
16
Avg merge
1d 9h
Merged PRs (30d)
9

Description

Today, [the logic](https://github.com/bazel-contrib/rules_bazel_integration_test/blob/dd36af23c4a7c8e97d91f22cc99504a19107c901/tools/create_scratch_dir.sh#L71) ignores hidden directories. We should copy over everything except `.git` and probably some other well-known source control directories.

Contributor guide

Open the contributing guide

Research direction

Start with tools/create_scratch_dir.sh at the linked logic around line 71 and inspect how the scratch directory is populated. Define the intended source-control directories to exclude while preserving other hidden content, then verify the integration-test behavior with a representative source tree containing hidden files and .git.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.