Onemind-Services-LLC / netbox-secrets

Enhance your secret management with encrypted storage and flexible, user-friendly features.
Apache License 2.0
96 stars 8 forks source link

Mismatch in PluginConfig Attributes and Update descriptions in setup.py file #124

Closed yash-pal1 closed 9 months ago

yash-pal1 commented 9 months ago

NetBox Version

v3.5.9

NetBox Plugin Version

v1.10.1

Steps to Reproduce

The current implementation of the PluginConfig class in the __init__.py file shows a mismatch between the defined attributes (verbose_name and description).

Expected Behavior

Specifically, the following corrections should be made in the __init__.py file:

Additional Context:

Example for Setup.py

import os

# ...

# Set long description from README.md
readme = os.path.join(os.path.dirname(__file__), 'README.md')
with open(readme) as fh:
    long_description = fh.read()

# ...

setup(
    description=`'Plugin Description'`,
    long_description=long_description,
    long_description_content_type="text/markdown",
)

Observed Behavior

The observed behaviour indicates that these attributes are being set as follows: verbose_name = metadata.get("Summary") description = metadata.get("Long-Description")

Resolve By

2021-01-04

kprince28 commented 9 months ago

The reported issue has been successfully resolved with the following commit:: https://github.com/Onemind-Services-LLC/netbox-secrets/commit/611083e5876c07761f2770447a1d1f8787c77fff

This issue is being closed.