Commit 5530a82
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- supervisor
- addons
- api
- middleware
- backups
- discovery
- docker
- homeassistant
- host
- misc
- mounts
- plugins
- resolution
- checks
- evaluations
- fixups
- services
- modules
- store
- utils
- tests
- addons
- api
- middleware
- backups
- docker
- misc
- plugins
- resolution
- check
- evaluation
- fixup
- store
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments