From 0bedda50b64a5a8ef0b7d21172aa4891aa69ffb4 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 29 Sep 2021 15:30:15 -0600 Subject: [PATCH 1/4] Replace enable_golden with enable_intended in default settings. --- nautobot_golden_config/__init__.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nautobot_golden_config/__init__.py b/nautobot_golden_config/__init__.py index 133f8c98..b87e84bb 100644 --- a/nautobot_golden_config/__init__.py +++ b/nautobot_golden_config/__init__.py @@ -15,19 +15,15 @@ class GoldenConfig(PluginConfig): author_email = "opensource@networktocode.com" description = "A plugin for managing Golden Configurations." base_url = "golden-config" - required_settings = [] - # min_version = "0" - # max_version = "100" default_settings = { "enable_backup": True, - "enable_golden": True, "enable_compliance": True, + "enable_intended": True, "enable_sotagg": True, + "per_feature_bar_width": 0.3, "per_feature_width": 13, "per_feature_height": 4, - "per_feature_bar_width": 0.3, } - caching_config = {} config = GoldenConfig # pylint:disable=invalid-name From bbc73bc0bf76a2c97193f3cb683ed5a078a1abc1 Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Fri, 1 Oct 2021 10:29:14 -0500 Subject: [PATCH 2/4] add Jeff to maintainer (#137) * add to maintainer --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2b433811..4938ac82 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ # Default owners for all files in this repository -* @itdependsnetworks \ No newline at end of file +* @itdependsnetworks @jeffkala From 76903f6e84e22f2125285d98f9aea55b3e68e5d1 Mon Sep 17 00:00:00 2001 From: nniehoff Date: Tue, 5 Oct 2021 15:25:25 -0600 Subject: [PATCH 3/4] Fixing missing and extra fields --- nautobot_golden_config/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nautobot_golden_config/models.py b/nautobot_golden_config/models.py index 3e77c9de..57e5df8b 100644 --- a/nautobot_golden_config/models.py +++ b/nautobot_golden_config/models.py @@ -227,8 +227,8 @@ def save(self, *args, **kwargs): else: self.compliance_int = 0 self.ordered = value["ordered_compliant"] - self.missing = null_to_empty(value["missing"]) - self.extra = null_to_empty(value["extra"]) + self.missing = null_to_empty(value["missing"]) + self.extra = null_to_empty(value["extra"]) super().save(*args, **kwargs) @staticmethod From eb97568b257dc6303717042a9c8b74cffdebcd9e Mon Sep 17 00:00:00 2001 From: Jeff Kala Date: Wed, 6 Oct 2021 08:54:52 -0500 Subject: [PATCH 4/4] prep for release 0.9.8 --- CHANGELOG.md | 7 +++++++ nautobot_golden_config/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebbc248b..82aea732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.9.8 - 2021-10 + +### Fixed + +- Fixing missing and extra fields, for edge cases. +- Replace enable_golden with enable_intended in default settings. + ## v0.9.7 - 2021-09 ### Fixed diff --git a/nautobot_golden_config/__init__.py b/nautobot_golden_config/__init__.py index b87e84bb..6422b384 100644 --- a/nautobot_golden_config/__init__.py +++ b/nautobot_golden_config/__init__.py @@ -1,6 +1,6 @@ """Plugin declaration for nautobot_golden_config.""" -__version__ = "0.9.7" +__version__ = "0.9.8" from nautobot.extras.plugins import PluginConfig diff --git a/pyproject.toml b/pyproject.toml index 86e9ad23..496dfa71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot-golden-config" -version = "0.9.7" +version = "0.9.8" description = "A plugin for configuration on nautobot" authors = ["Network to Code, LLC", ""]