Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous blob file deduplication improvements/fixes #6471

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Jan 24, 2025

See commit messages for details.

I'll rebase-merge this PR.

Part of #6265

@Hocuri Hocuri force-pushed the hoc/deduplicate-even-more branch from df0f016 to 863e3a2 Compare January 24, 2025 19:16
@Hocuri Hocuri changed the title feat: Deduplicate blob files in chat.rs, config.rs, and integration.rs [WIP] feat: Deduplicate blob files in chat.rs, config.rs, and integration.rs Jan 24, 2025
@Hocuri Hocuri force-pushed the hoc/deduplicate-even-more branch from 863e3a2 to 5d5d147 Compare January 24, 2025 20:19
@Hocuri Hocuri changed the title [WIP] feat: Deduplicate blob files in chat.rs, config.rs, and integration.rs [WIP] More blob file deduplication Jan 24, 2025
@Hocuri Hocuri changed the title [WIP] More blob file deduplication [WIP] Miscellaneous blob file deduplication improvements Jan 24, 2025
@Hocuri Hocuri changed the title [WIP] Miscellaneous blob file deduplication improvements Miscellaneous blob file deduplication improvements Jan 24, 2025
@Hocuri Hocuri requested a review from link2xt January 24, 2025 20:38
@Hocuri Hocuri changed the title Miscellaneous blob file deduplication improvements Miscellaneous blob file deduplication improvements/fixes Jan 24, 2025
These were the last places in the `deltachat` crate where files were
stored without deduplication. The CFFI python bindings are the last
thing that's still missing.
There was a bug that file extensions were removed when recoding an
avatar. The problem was that `recode_avatar` used `name` to check for
the extension, but some functions passed an empty string.
There even were two tests from before the decision to keep the
extensions that tested for the faulty behavior.
@Hocuri Hocuri force-pushed the hoc/deduplicate-even-more branch from bb402ae to 8bbd3c8 Compare January 24, 2025 20:43
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.

1 participant