Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@main
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98

- name: Check conformance to Black standards
uses: psf/black@e015af4a681dd2ac847188b13a81dc4a573d4dcb
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/manifest-modified.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@main
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98

- name: Setup Python
uses: actions/setup-python@main
uses: actions/setup-python@4f41a90a1f38628c7ccc608d05fbafe701bc20ae
with:
python-version: "3.12"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@main
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
path: netbox-plugin-dns

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
uses: actions/setup-python@4f41a90a1f38628c7ccc608d05fbafe701bc20ae
with:
python-version: ${{ matrix.python-version }}

- name: Checkout NetBox
uses: actions/checkout@main
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
repository: "netbox-community/netbox"
path: netbox
Expand Down
8 changes: 5 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Include the following information in your post:
* All code submissions should meet the following criteria, which are automatically checked by the GitHub CI workflow:
* Python syntax is valid
* `black` code formatting is enforced
* `/opt/netbox/venv/bin/manage.py test netbox_dns' successful
* ruff code checking is enforced.
* `/opt/netbox/venv/bin/manage.py test netbox_dns` must run successfully.
* Include a reference to the fixed bug or feature request in the description of the pull request, e.g. `fixes #23`. See the [GitHub documentation](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) for details
* If the main branch has moved on while you were working on a pull request, please __do not merge but rebase__ your branch. Merging normally isn't usually necessary, and it creates merge commits that unnecessarily clutter the project's history

Expand Down Expand Up @@ -86,8 +87,9 @@ PLUGINS = [

After these steps are completed successfully, you're all set up.

## Formatting your code with `black`
To achieve a consistent coding style, all code for the NetBox DNS plugin is formatted using the `black` utility. For more details, see the [documentation](https://black.readthedocs.io/en/stable/index.html) for `black`.
## Code formatting and linting

To achieve a consistent coding style, all code for the NetBox DNS plugin is formatted using the [`black` formatter](https://black.readthedocs.io/en/stable/index.html) and checked for inconsistencies such as unused imports and variables using the [`ruff` linter](https://docs.astral.sh/ruff/linter/).

```
$ /opt/netbox/venv/bin/black netbox_dns
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MIT License

Copyright (c) 2021-2023 Aurora Research Lab
Copyright (c) 2023 Peter Eckel
Copyright (c) 2026 Peter Eckel, sys4 AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# NetBox DNS

The NetBox DNS plugin enables NetBox to manage operational DNS data such as name servers, zones, records and views, as well as registration data for domains. It can automate tasks like creating PTR records, generating zone serial numbers, NS and SOA records, as well as validate names and values values for resource records to ensure zone data is consistent, up-to-date and compliant with to the relevant RFCs.

<div align="center">
<a href="https://pypi.org/project/netbox-plugin-dns/"><img src="https://img.shields.io/pypi/v/netbox-plugin-dns" alt="PyPi"/></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/stargazers"><img src="https://img.shields.io/github/stars/peteeckel/netbox-plugin-dns?style=flat" alt="Stars Badge"/></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/network/members"><img src="https://img.shields.io/github/forks/peteeckel/netbox-plugin-dns?style=flat" alt="Forks Badge"/></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/issues"><img src="https://img.shields.io/github/issues/peteeckel/netbox-plugin-dns" alt="Issues Badge"/></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/pulls"><img src="https://img.shields.io/github/issues-pr/peteeckel/netbox-plugin-dns" alt="Pull Requests Badge"/></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/graphs/contributors"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/peteeckel/netbox-plugin-dns?color=2b9348"></a>
<a href="https://github.com/peteeckel/netbox-plugin-dns/blob/master/LICENSE"><img src="https://img.shields.io/github/license/peteeckel/netbox-plugin-dns?color=2b9348" alt="License Badge"/></a>
<a href="https://github.com/sys4/netbox-plugin-dns/stargazers"><img src="https://img.shields.io/github/stars/sys4/netbox-plugin-dns?style=flat" alt="Stars Badge"/></a>
<a href="https://github.com/sys4/netbox-plugin-dns/network/members"><img src="https://img.shields.io/github/forks/sys4/netbox-plugin-dns?style=flat" alt="Forks Badge"/></a>
<a href="https://github.com/sys4/netbox-plugin-dns/issues"><img src="https://img.shields.io/github/issues/sys4/netbox-plugin-dns" alt="Issues Badge"/></a>
<a href="https://github.com/sys4/netbox-plugin-dns/pulls"><img src="https://img.shields.io/github/issues-pr/sys4/netbox-plugin-dns" alt="Pull Requests Badge"/></a>
<a href="https://github.com/sys4/netbox-plugin-dns/graphs/contributors"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/sys4/netbox-plugin-dns?color=2b9348"></a>
<a href="https://github.com/sys4/netbox-plugin-dns/blob/master/LICENSE"><img src="https://img.shields.io/github/license/sys4/netbox-plugin-dns?color=2b9348" alt="License Badge"/></a>
<a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style Black"/></a>
<a href="https://pepy.tech/project/netbox-plugin-dns"><img alt="Downloads" src="https://static.pepy.tech/personalized-badge/netbox-plugin-dns?period=total&left_color=BLACK&right_color=BLUE&left_text=Downloads"></a>
<a href="https://pepy.tech/project/netbox-plugin-dns"><img alt="Downloads/Week" src="https://static.pepy.tech/personalized-badge/netbox-plugin-dns?period=monthly&left_color=BLACK&right_color=BLUE&left_text=Downloads%2fMonth"></a>
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "netbox-plugin-dns"
version = "1.5.2"
description = "NetBox DNS is a NetBox plugin for managing DNS data."
authors = [
{name="Peter Eckel", email="pete@netbox-dns.org"},
{name="Peter Eckel", email="pe@sys4.de"},
]
license-files = [
"LICENSE"
Expand All @@ -23,10 +23,10 @@ dependencies = [
requires-python = ">=3.12"

[project.urls]
Homepage = "https://github.com/peteeckel/netbox-plugin-dns"
Documentation = "https://github.com/peteeckel/netbox-plugin-dns/blob/main/docs/using_netbox_dns.md"
Repository = "https://github.com/peteeckel/netbox-plugin-dns"
Issues = "https://github.com/peteeckel/netbox-plugin-dns/issues"
Homepage = "https://github.com/sys4/netbox-plugin-dns"
Documentation = "https://github.com/sys4/netbox-plugin-dns/blob/main/docs/using_netbox_dns.md"
Repository = "https://github.com/sys4/netbox-plugin-dns"
Issues = "https://github.com/sys4/netbox-plugin-dns/issues"

[build-system]
requires = ['setuptools']
Expand Down