Browse Source

Merge branch 'main' into filter-net

pull/1094/head
Ross McFarland 2 years ago
committed by GitHub
parent
commit
cbeaf031d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 19 deletions
  1. +11
    -2
      CHANGELOG.md
  2. +2
    -1
      octodns/__init__.py
  3. +1
    -16
      setup.py

+ 11
- 2
CHANGELOG.md View File

@ -1,9 +1,18 @@
## v1.3.0 - 2023-??-?? - ???
* Added ZoneNameFilter processor to enable ignoring/alerting on type-os like
octodns.com.octodns.com
#### Noteworthy changes
* Added octodns.__version__ to replace octodns.__VERSION__ as the former is more
of a standard, per pep-8. __VERSION__ is deprecated and will go away in 2.x
* Fixed issues with handling of chunking large TXT values for providers that use
the in-built `rrs` method
* Removed code that included sha in module version number when installing from
repo as it caused problems with non-binary installs.
#### Stuff
* Added ZoneNameFilter processor to enable ignoring/alerting on type-os like
octodns.com.octodns.com
* NetworkValueAllowlistFilter/NetworkValueRejectlistFilter added to
processors.filter to enable filtering A/AAAA records based on value. Can be
useful if you have records with non-routable values in an internal copy of a


+ 2
- 1
octodns/__init__.py View File

@ -1,3 +1,4 @@
'OctoDNS: DNS as code - Tools for managing DNS across multiple providers'
__VERSION__ = '1.2.1'
# TODO: remove __VERSION__ w/2.x
__version__ = __VERSION__ = '1.2.1'

+ 1
- 16
setup.py View File

@ -1,9 +1,7 @@
#!/usr/bin/env python
from io import StringIO
from os import environ
from os.path import dirname, join
from subprocess import CalledProcessError, check_output
import octodns
@ -49,19 +47,6 @@ def long_description():
return buf.getvalue()
def version():
# pep440 style public & local version numbers
if environ.get('OCTODNS_RELEASE', False):
# public
return octodns.__VERSION__
try:
sha = check_output(['git', 'rev-parse', 'HEAD']).decode('utf-8')[:8]
except (CalledProcessError, FileNotFoundError):
sha = 'unknown'
# local
return f'{octodns.__VERSION__}+{sha}'
tests_require = ('pytest>=6.2.5', 'pytest-cov>=3.0.0', 'pytest-network>=0.0.1')
setup(
@ -102,5 +87,5 @@ setup(
python_requires='>=3.8',
tests_require=tests_require,
url='https://github.com/octodns/octodns',
version=version(),
version=octodns.__version__,
)

Loading…
Cancel
Save