Skip to content

Commit

Permalink
Merge pull request #240 from nautobot/drift-manager/pr
Browse files Browse the repository at this point in the history
Cookie initialy baked by NetworkToCode Cookie Drift Manager Tool
  • Loading branch information
bradh11 authored Oct 31, 2023
2 parents f9506c1 + 3c892d4 commit c17fb34
Show file tree
Hide file tree
Showing 50 changed files with 1,306 additions and 929 deletions.
1 change: 1 addition & 0 deletions .bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ skips: []
# No need to check for security issues in the test scripts!
exclude_dirs:
- "./tests/"
- "./.venv/"
35 changes: 35 additions & 0 deletions .cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"cookiecutter": {
"codeowner_github_usernames": "@josh5276 @jvanderaa @progala",
"full_name": "Network to Code, LLC",
"email": "[email protected]",
"github_org": "nautobot",
"plugin_name": "nautobot_device_lifecycle_mgmt",
"verbose_name": "Device Lifecycle Management",
"plugin_slug": "nautobot-device-lifecycle-mgmt",
"project_slug": "nautobot-plugin-device-lifecycle-mgmt",
"repo_url": "https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt",
"base_url": "nautobot-device-lifecycle-mgmt",
"min_nautobot_version": "2.0.0",
"max_nautobot_version": "2.9999",
"camel_name": "NautobotDeviceLifecycleManagement",
"project_short_description": "Device Lifecycle Management",
"model_class_name": "None",
"open_source_license": "Apache-2.0",
"docs_base_url": "https://docs.nautobot.com",
"docs_app_url": "https://docs.nautobot.com/projects/device-lifecycle/en/latest",
"_drift_manager": {
"template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"template_dir": "nautobot-app",
"template_ref": "develop",
"cookie_dir": "",
"branch_prefix": "drift-manager",
"pull_request_strategy": "create",
"post_actions": [
"black"
],
"draft": true,
"baked_commit_ref": "a07609a3fcfaab9b8b2d8d54ce60a293d68d8720"
}
}
}
16 changes: 16 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@
development/Dockerfile
development/docker-compose*.yml
development/*.env
*.env
environments/

# Python
**/*.pyc
**/*.pyo
**/__pycache__/
**/.pytest_cache/
**/.venv/


# Other
docs/_build
FAQ.md
.git/
.gitignore
.github
tasks.py
LICENSE
**/*.log
**/.vscode/
invoke*.yml
tasks.py
12 changes: 9 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
[flake8]
# E501: Line length is enforced by Black, so flake8 doesn't need to check it
# W503: Black disagrees with this rule, as does PEP 8; Black wins
ignore = E501, W503
ignore =
E501, # Line length is enforced by Black, so flake8 doesn't need to check it
W503 # Black disagrees with this rule, as does PEP 8; Black wins
exclude =
migrations,
__pycache__,
manage.py,
settings.py,
.venv
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: 🐛 Bug Report
about: Report a reproducible bug in the current release of nautobot-plugin-device-lifecycle-mgmt
about: Report a reproducible bug in the current release of nautobot-device-lifecycle-mgmt
---

### Environment
* Python version: <!-- Example: 3.7.7 -->
* Nautobot version: <!-- Example: 2.8.4 -->
* nautobot-plugin-device-lifecycle-mgmt version: <!-- Example: 1.0.0 -->
* Python version: <!-- Example: 3.11.4 -->
* Nautobot version: <!-- Example: 2.0.0 -->
* nautobot-device-lifecycle-mgmt version: <!-- Example: 1.0.0 -->

<!-- What did you expect to happen? -->
### Expected Behavior
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ about: Propose a new feature or enhancement
---

### Environment
* Nautobot version: <!-- Example: 2.8.4 -->
* nautobot-plugin-device-lifecycle-mgmt version: <!-- Example: 1.0.0 -->
* Nautobot version: <!-- Example: 2.0.0 -->
* nautobot-device-lifecycle-mgmt version: <!-- Example: 1.0.0 -->

<!--
Describe in detail the new functionality you are proposing.
Expand Down
39 changes: 32 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
## New Pull Request
<!--
Thank you for your interest in contributing to Device Lifecycle Management! Please note
that our contribution policy recommends that a feature request or bug
report be opened for approval prior to filing a pull request. This
helps avoid wasting time and effort on something that we might not
be able to accept.
Have you:
- [ ] Updated the README if necessary?
- [ ] Updated any configuration settings?
- [ ] Written a unit test?
Please indicate the relevant feature request or bug report below.
-->

## Change Notes
# Closes: #<ISSUE NUMBER GOES HERE>

## Justification
## What's Changed

<!--
Please include:
- A summary of the proposed changes
- A sectioned breakdown for larger features under ## subheadings
- Screenshots, example payloads where relevant:
- Before/After for bugfixes
- Using a new feature
-->

## To Do

<!--
Please feel free to update todos to keep track of your own notes for WIP PRs.
-->
- [ ] Explanation of Change(s)
- [ ] Added change log fragment(s) (for more information see [the documentation](https://docs.nautobot.com/projects/core/en/stable/development/core/#creating-changelog-fragments))
- [ ] Attached Screenshots, Payload Example
- [ ] Unit, Integration Tests
- [ ] Documentation Updates (when adding/changing features)
- [ ] Example Plugin Updates (when adding/changing features)
- [ ] Outline Remaining Work, Constraints from Design
Loading

0 comments on commit c17fb34

Please sign in to comment.