mreg-cli 1.2.3__tar.gz → 1.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/CHANGELOG.md +6 -0
  2. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/PKG-INFO +2 -2
  3. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/_version.py +2 -2
  4. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/models.py +3 -3
  5. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/PKG-INFO +2 -2
  6. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/.github/workflows/publish.yml +0 -0
  7. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/.github/workflows/test.yml +0 -0
  8. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/.gitignore +0 -0
  9. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/.markdownlint.json +0 -0
  10. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/AUTHORS +0 -0
  11. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/CONTRIBUTING +0 -0
  12. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/LICENSE +0 -0
  13. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/README.md +0 -0
  14. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/Dockerfile +0 -0
  15. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/diff.py +0 -0
  16. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/docker-compose.yml +0 -0
  17. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/run_testsuite_and_record.sh +0 -0
  18. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/run_testsuite_and_record_V2.sh +0 -0
  19. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/testsuite +0 -0
  20. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/ci/testsuite-result.json +0 -0
  21. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/data/mreg-cli.conf +0 -0
  22. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/__about__.py +0 -0
  23. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/__init__.py +0 -0
  24. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/__main__.py +0 -0
  25. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/__init__.py +0 -0
  26. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/abstracts.py +0 -0
  27. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/endpoints.py +0 -0
  28. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/fields.py +0 -0
  29. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/api/history.py +0 -0
  30. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/cli.py +0 -0
  31. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/__init__.py +0 -0
  32. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/base.py +0 -0
  33. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/dhcp.py +0 -0
  34. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/group.py +0 -0
  35. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/help.py +0 -0
  36. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host.py +0 -0
  37. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/__init__.py +0 -0
  38. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/a_aaaa.py +0 -0
  39. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/bacnet.py +0 -0
  40. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/cname.py +0 -0
  41. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/core.py +0 -0
  42. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/host_submodules/rr.py +0 -0
  43. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/label.py +0 -0
  44. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/logging.py +0 -0
  45. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/network.py +0 -0
  46. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/permission.py +0 -0
  47. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/policy.py +0 -0
  48. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/recording.py +0 -0
  49. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/registry.py +0 -0
  50. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/root.py +0 -0
  51. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/commands/zone.py +0 -0
  52. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/config.py +0 -0
  53. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/errorbuilder.py +0 -0
  54. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/exceptions.py +0 -0
  55. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/help_formatter.py +0 -0
  56. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/main.py +0 -0
  57. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/outputmanager.py +0 -0
  58. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/prompt.py +0 -0
  59. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/py.typed +0 -0
  60. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/tags.txt +0 -0
  61. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/tokenfile.py +0 -0
  62. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/types.py +0 -0
  63. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/utilities/__init__.py +0 -0
  64. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/utilities/api.py +0 -0
  65. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/utilities/shared.py +0 -0
  66. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli/utilities/validators.py +0 -0
  67. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/SOURCES.txt +0 -0
  68. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/dependency_links.txt +0 -0
  69. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/entry_points.txt +0 -0
  70. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/requires.txt +0 -0
  71. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/mreg_cli.egg-info/top_level.txt +0 -0
  72. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/pyproject.toml +0 -0
  73. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/run.py +0 -0
  74. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/setup.cfg +0 -0
  75. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/__init__.py +0 -0
  76. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/api/__init__.py +0 -0
  77. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/api/test_fields.py +0 -0
  78. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/api/test_models.py +0 -0
  79. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/conftest.py +0 -0
  80. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_errorbuilder.py +0 -0
  81. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_exceptions.py +0 -0
  82. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_outputmanager.py +0 -0
  83. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_prompt.py +0 -0
  84. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_tokenfile.py +0 -0
  85. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/test_types.py +0 -0
  86. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/utilities/__init__.py +0 -0
  87. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tests/utilities/test_api.py +0 -0
  88. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/tox.ini +0 -0
  89. {mreg_cli-1.2.3 → mreg_cli-1.2.4}/uv.lock +0 -0
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  <!-- ## Unreleased -->
9
9
 
10
+ ## [1.2.4](https://github.com/unioslo/mreg-cli/releases/tag/1.2.4) - 2025-01-30
11
+
12
+ ### Fixed
13
+
14
+ - Reverse zone management was completely broken. This affected all zone-related commands when using reverse zones.
15
+
10
16
  ## [1.2.3](https://github.com/unioslo/mreg-cli/releases/tag/1.2.3) - 2024-12-16
11
17
 
12
18
  ### Added
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: mreg-cli
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: MREG interactive command line client
5
5
  Author: Others (see AUTHORS)
6
6
  Author-email: Øyvind Kolbu <oyvind.kolbu@usit.uio.no>, Safet A <amedov@usit.uio.no>, Magnus Hirth <mhmorgan42@gmail.com>, Nico <nicolaydmohebi@gmail.com>, Marius Bakke <marius.bakke@usit.uio.no>, Fredrik Larsen <fredrik.larsen@usit.uio.no>, Paal Braathen <paal.braathen@usit.uio.no>, Nils Hiorth <nils@nls.me>, Dmytro Karpenko <dmytrok@usit.uio.no>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.2.3'
16
- __version_tuple__ = version_tuple = (1, 2, 3)
15
+ __version__ = version = '1.2.4'
16
+ __version_tuple__ = version_tuple = (1, 2, 4)
@@ -588,7 +588,7 @@ class Zone(FrozenModelWithTimestamps, WithTTL, APIMixin):
588
588
 
589
589
  def is_reverse(self) -> bool:
590
590
  """Return True if the zone is a reverse zone."""
591
- return False
591
+ return is_reverse_zone_name(self.name)
592
592
 
593
593
  # Default to forward zone endpoints for the base class
594
594
  # This can be overridden in the subclasses
@@ -1064,7 +1064,7 @@ class Delegation(FrozenModelWithTimestamps, WithZone):
1064
1064
 
1065
1065
  @classmethod
1066
1066
  def is_reverse(cls) -> bool:
1067
- """Return True if the zone is a reverse zone."""
1067
+ """Return True if the delegation is for a reverse zone."""
1068
1068
  return False
1069
1069
 
1070
1070
  @classmethod
@@ -1094,7 +1094,7 @@ class ReverseZoneDelegation(Delegation, APIMixin):
1094
1094
 
1095
1095
  @classmethod
1096
1096
  def is_reverse(cls) -> bool:
1097
- """Return True if the zone is a reverse zone."""
1097
+ """Return True if the delegation is for a reverse zone."""
1098
1098
  return True
1099
1099
 
1100
1100
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: mreg-cli
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: MREG interactive command line client
5
5
  Author: Others (see AUTHORS)
6
6
  Author-email: Øyvind Kolbu <oyvind.kolbu@usit.uio.no>, Safet A <amedov@usit.uio.no>, Magnus Hirth <mhmorgan42@gmail.com>, Nico <nicolaydmohebi@gmail.com>, Marius Bakke <marius.bakke@usit.uio.no>, Fredrik Larsen <fredrik.larsen@usit.uio.no>, Paal Braathen <paal.braathen@usit.uio.no>, Nils Hiorth <nils@nls.me>, Dmytro Karpenko <dmytrok@usit.uio.no>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes