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

18535 skip incompatible plugins #18536

Closed
wants to merge 121 commits into from
Closed

Conversation

bctiemann
Copy link
Contributor

Closes: #18535

Changes the behavior of the PluginConfig.validate method so that if a plugin with incompatible min or max version specified, it raises an IncompatiblePluginError which is caught in settings.py and registering the plugin is skipped, allowing NetBox to launch cleanly with the plugin disabled.

jeremystretch and others added 30 commits January 6, 2025 14:02
* Closes #13366: Update documentation for main branch

* Clarify wording
* Fix PrefixIndex reference to 'site'

* Fix ClusterIndex reference to 'site' and add 'scope' to WirelessLANIndex
… object, to enable more useful sorting by VLAN ID rather than site-grouped VLAN objects
* Release v4.2.1

* Add changelog for #18282
…API (#18367)

* Fixes #18363: Fix assignment of MAC addresses to interfaces via REST API

* Add missing API & view tests
…inationIndex.display_attrs (#18351)

* Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs

* Use '_site' and '_provider_network' in display_attrs

* Replace private fields with 'termination'
…ow (#18375)

* Fix validation of site in Assign Device to Cluster flow

* Validate Location as well as Site scope
…ng_unit on rack_type if present (#18395)

* Perform Rack object validation of u_height and starting_unit on rack_type if present

* Calculate effective values before doing validation
jeremystretch and others added 28 commits January 29, 2025 18:23
* Remove the json filter for protection rules

* Configure PROTECTION_RULE config attribute to use ConfigJSONEncoder as serializer

* Tweak getattr()

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Disable sorting by `mac_address` for legacy `mac_address` field for Device and VM Interfaces
* Ensure `primary_mac_address` field is included in field list for Device and VM Interfaces
When no Redis server is reachable management commands failed without
this try...except block.
… into 18535-skip-incompatible-plugins

# Conflicts:
#	netbox/dcim/models/devices.py
@bctiemann bctiemann closed this Jan 29, 2025
@bctiemann bctiemann deleted the 18535-skip-incompatible-plugins branch January 29, 2025 23:30
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.

7 participants