Skip to content

feat: implement some exclude options for opendal source - #535

Merged
aawsome merged 4 commits into
rustic-rs:mainfrom
hacker:fix/opendal-source-glob-exclusion
Aug 8, 2026
Merged

feat: implement some exclude options for opendal source#535
aawsome merged 4 commits into
rustic-rs:mainfrom
hacker:fix/opendal-source-glob-exclusion

Conversation

@hacker

@hacker hacker commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

the new opendal as source backend supports no exclusion whatsoever, which is quite a shortcoming (and should probably be documented). This commit partially fixes that, it does not implement all exclusions, but at least it implements glob exclusions, which is better than nothing.

I do not consider this commit a final resolution, especially given the general intention to get rid of dependency on ignore, but I'd say it's definitely an improvement.

hacker added 2 commits July 26, 2026 18:39
the new opendal as source backend supports no exclusion whatsoever, which
is quite a shortcoming (and should probably be documented). This commit
partially fixes that, it does not implement all exclusions, but at least
it implements glob exclusions, which is better than nothing.

I do not consider this commit a final resolution, especially given the
general intention to get rid of dependency on `ignore`, but I'd say it's
definitely an improvement
out of the box opendal source lists files as relative to its root,
which makes it impossible to use absolute path to ignore specific
directories without ignoring similarly named directories elswhere.
aawsome
aawsome previously approved these changes Aug 8, 2026

@aawsome aawsome left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hacker Thanks for the PR! Indeed once we refactor excludes, this kind of glob matching should go to a central part instead of being implemented per-source. But it is definitively an improvement!

LGTM!

@aawsome aawsome changed the title fix(ish): implement excludes for opendal source to some extent feat: implement some exclude options for opendal source Aug 8, 2026

@aawsome aawsome left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed formatting and clippy issues.
LGTM!

@aawsome
aawsome added this pull request to the merge queue Aug 8, 2026
Merged via the queue into rustic-rs:main with commit faaf513 Aug 8, 2026
22 checks passed
@rustic-release-plz rustic-release-plz Bot mentioned this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants