fslabs / fslabs/fslabscli

Filter packages based on the working directory

Open
#237 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5
Forks
1
Avg merge
17h 48m
Merged PRs (30d)
2

Description

For example, if we run tests with -w foo we should only run the tests inside of foo.

I'm not sure what the best mechanism is yet. We could either do this filtering during construction of CrateGraph or after. But I worry that it might somehow interact with the dependency graph resolution and create a subtle bug. This requires care.

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

Start at the -w working-directory option and the construction or later filtering of CrateGraph; the issue leaves the correct integration point undecided. Run the test command with -w foo and verify that only tests inside foo run while dependency-graph resolution remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.