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

Rename diagram_cache to diagram_image_cache #353

Closed
wants to merge 1 commit into from

Conversation

dahbar
Copy link
Contributor

@dahbar dahbar commented Oct 31, 2023

Closes #247

Added a deprecation warning for diagram_cache and diagram_cache_subdir in the MelodyLoader and for the update_diagram_cache function.

@dahbar dahbar marked this pull request as ready for review October 31, 2023 17:39
Comment on lines -241 to +257
(
"The 'jupyter_untrusted' argument is no longer needed and"
" will be removed soon. Please remove it from your calls."
),
"The 'jupyter_untrusted' argument is no longer needed and"
" will be removed soon. Please remove it from your calls.",
DeprecationWarning,
stacklevel=2,
)
Copy link
Member

Choose a reason for hiding this comment

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

Has nothing to do with the diagram_cache rename but still good catch. Mixing these things into one commit can be annoying in the future. Keep that in mind. Even though, I forget this from time to time,...

Copy link
Member

Choose a reason for hiding this comment

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

What's the "good catch"? As far as I can see, the only thing that changed was some formatting (no parenthesis around the string anymore).

Copy link
Contributor Author

@dahbar dahbar Nov 1, 2023

Choose a reason for hiding this comment

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

I believe these formatting changes were made by running black --preview capellambse/model/__init__.py and not really by me, since I don't recall removing those parenthesis at all.

@Wuestengecko
Copy link
Member

We determined that we won't be doing this after all. The name "diagram cache" has already been established too well, and is also used in other places and projects (like DSD-DBS/capella-collab-manager), changing it now would just cause unnecessary headache downstream.

@Wuestengecko Wuestengecko deleted the rename-diagram-cache branch December 8, 2023 12:50
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.

Rename "diagram cache" to "diagram image cache"
3 participants