[PR #18561] [MERGED] Closes #18540: Track installed plugins in registry #15379

Closed
opened 2025-12-30 00:21:35 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18561
Author: @jeremystretch
Created: 2/3/2025
Status: Merged
Merged: 2/3/2025
Merged by: @jeremystretch

Base: featureHead: 18540-registry-plugins


📝 Commits (1)

📊 Changes

7 files changed (+21 additions, -8 deletions)

View changed files

📝 netbox/core/plugins.py (+2 -1)
📝 netbox/core/views.py (+2 -1)
📝 netbox/netbox/plugins/__init__.py (+1 -0)
📝 netbox/netbox/plugins/urls.py (+2 -2)
📝 netbox/netbox/plugins/utils.py (+3 -1)
📝 netbox/netbox/plugins/views.py (+7 -3)
📝 netbox/netbox/settings.py (+4 -0)

📄 Description

Fixes: #18540

  • Populate registry['plugins']['installed'] with the name of each plugin
  • Replace all references to settings.PLUGINS with the registry key

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/18561 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/3/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `18540-registry-plugins` --- ### 📝 Commits (1) - [`fd1dd70`](https://github.com/netbox-community/netbox/commit/fd1dd702b1e2d710291ff89d94d1906ae6d8647b) Closes #18540: Track installed plugins in registry ### 📊 Changes **7 files changed** (+21 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/plugins.py` (+2 -1) 📝 `netbox/core/views.py` (+2 -1) 📝 `netbox/netbox/plugins/__init__.py` (+1 -0) 📝 `netbox/netbox/plugins/urls.py` (+2 -2) 📝 `netbox/netbox/plugins/utils.py` (+3 -1) 📝 `netbox/netbox/plugins/views.py` (+7 -3) 📝 `netbox/netbox/settings.py` (+4 -0) </details> ### 📄 Description ### Fixes: #18540 - Populate `registry['plugins']['installed']` with the name of each plugin - Replace all references to `settings.PLUGINS` with the registry key --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:21:35 +01:00
adam closed this issue 2025-12-30 00:21:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15379