improve filter capabilities in skip-unless-changed strategy

Open
#369 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
ci-cd

Research direction

Start by locating the skip-unless-changed optimization strategy and its existing tests. Read how inclusive file and directory selections are represented, then determine how an excluded test directory should interact with a selected parent directory. Done means the strategy supports this exclusion case and the behavior is covered by tests.

Written by the indexing model from the issue text.

Description

Right now, you can only inclusively select files and directories in the skip-unless-changed strategy. In Firefox Translations, I want to be able to express "skip unless a file within this directory has changed except for the test directory".

This could be accomplished by listing all of the directories except test in the optimization strategy...but that is both wordy and not very future proof.

Dominant language
Python
Stars
26
Forks
55
Avg merge
2d 6m
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

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.

More from taskcluster/taskgraph

All issues in taskcluster/taskgraph

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.