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

Add deprecation notice for Resource.flush_to_disk #568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

whyitfor
Copy link
Contributor

One sentence summary of this PR (This should go in the CHANGELOG!)
Deprecate Resource.flush_data_to_disk

Link to Related Issue(s)
Closes #567.

Please describe the changes in your request.
#373 renamed Resource.flush_to_disk to Resource.flush_data_to_disk to indicate that it only flushes data, not attributes. This PR preserves this API with a DeprecationWarning in preparation for a 3.3.* release.

Anyone you think should look at this, specifically?
@rbs-jacob

@whyitfor whyitfor force-pushed the maintenance/flush_to_disk branch from aef6b9a to d735887 Compare January 10, 2025 23:09
@whyitfor whyitfor added this to the 3.3.0 Release milestone Jan 10, 2025
@whyitfor whyitfor self-assigned this Jan 10, 2025
@whyitfor whyitfor requested a review from rbs-jacob January 10, 2025 23:33
Comment on lines +67 to +69
### Deprecated
- `Resource.flush_to_disk` deprecated in favor of `Resource.flush_data_to_disk`. ([#373](https://github.com/redballoonsecurity/ofrak/pull/373), [#567](https://github.com/redballoonsecurity/ofrak/pull/568))

Copy link
Member

Choose a reason for hiding this comment

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

Should we change line 51 of this file if we're writing about the deprecation here?

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.

Flush to disk with deprecation notice
2 participants