Look for the case where a parent is excluded, e.g. if /a/b/c is

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cloud, tooling

Research direction

Start in backblaze_add_exclusion.py at lines 70-80, especially line 73, and trace how existing exclusions are checked before new paths are added. Verify the behavior for nested paths such as /a/b/c and /a/b/c/d/e; the work is done when the child exclusion is skipped if its parent is already excluded.

Written by the indexing model from the issue text.

Description

already excluded, we can safely skip adding an exclusion for /a/b/c/d/e.

Line: 73
https://github.com/sammcj/scripts/blob/08e28f5c316339133567e8de9dbf581f0a32d74f//backblaze_add_exclusion.py#L70-L80

Dominant language
Python
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

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.

More from sammcj/scripts

All issues in sammcj/scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.