Skip to content

Commit 5530a82

Browse files
mdegat01Copilot
andcommitted
Refactor internal addon references to app/apps
Rename all internal code references from addon/addons to app/apps to align with the rebranding initiative. This covers: - Variable and argument names - Function and method names - Class names and attributes - Docstrings and comments External API contracts (JSON keys, error codes, discovery protocol fields) are preserved unchanged. File and directory names under supervisor/addons/ are also unchanged as those are filesystem paths. Additionally fixes the backup/restore partial API endpoints which use **body to forward request data to do_backup_partial and do_restore_partial. Since the external API key remains addons (ATTR_APPS = "addons") but the internal parameter was renamed to apps, a remapping step is added before the **body expansion. A test for partial restore with the addons request key is also added to cover this path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 941f7cd commit 5530a82

File tree

120 files changed

+3536
-3648
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+3536
-3648
lines changed

supervisor/addons/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Init file for Supervisor add-ons."""
1+
"""Init file for Supervisor apps."""

0 commit comments

Comments
 (0)