Skip to content

Commit

Permalink
Merge pull request #286 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
smk4664 authored Oct 23, 2023
2 parents 3368843 + 3101d03 commit 511ac7d
Show file tree
Hide file tree
Showing 63 changed files with 1,383 additions and 570 deletions.
6 changes: 3 additions & 3 deletions .bandit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
skips:
- "B404" # Ignore subprocess
# No need to check for security issues in the test scripts!
exclude_dirs:
- "./nautobot_chatops/tests/"

skips:
- "B404"
- "./.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": "@glennmatthews @jvanderaa @smk4664 @whitej6",
"full_name": "Network to Code, LLC",
"email": "[email protected]",
"github_org": "nautobot",
"plugin_name": "nautobot_chatops",
"verbose_name": "Nautobot ChatOps App",
"plugin_slug": "nautobot-chatops",
"project_slug": "nautobot-plugin-chatops",
"repo_url": "https://github.com/nautobot/nautobot-plugin-chatops/",
"base_url": "chatops",
"min_nautobot_version": "2.0.0",
"max_nautobot_version": "2.9999",
"camel_name": "NautobotChatOpsPlugin",
"project_short_description": "Nautobot ChatOps App",
"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/chatops/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": "f7199da166a77ef00af4347535a1e09f939a711a"
}
}
}
30 changes: 23 additions & 7 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# Docker related
development/Dockerfile
development/docker-compose*.yml
development/*.env
*.env
environments/

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


# Other
docs/_build
FAQ.md
.git/
.github/
.gitignore
Dockerfile
docker-compose.yml
.env
docs/_build
__pycache__/
.github
tasks.py
LICENSE
**/*.log
**/.vscode/
invoke*.yml
tasks.py
14 changes: 11 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[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, F811, F401
ignore =
F401, # Module imported but unused
F811, # Redefinition of unused name from line N
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
22 changes: 11 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
---
name: 🐛 Bug Report
about: Report a reproducible bug in the current release of nautobot-plugin-chatops
about: Report a reproducible bug in the current release of nautobot-chatops
---

### Environment
* Python version: <!-- Example: 3.7.7 -->
* Nautobot version: <!-- Example: 1.0.0 -->
* nautobot-plugin-chatops version: <!-- Example: 1.0.0 -->
* Python version: <!-- Example: 3.11.4 -->
* Nautobot version: <!-- Example: 2.0.0 -->
* nautobot-chatops version: <!-- Example: 1.0.0 -->

<!-- What did you expect to happen? -->
### Expected Behavior


<!-- What happened instead? -->
### Observed Behavior

<!--
Describe in detail the exact steps that someone else can take to reproduce
Expand All @@ -16,10 +23,3 @@ about: Report a reproducible bug in the current release of nautobot-plugin-chato
1.
2.
3.

<!-- What did you expect to happen? -->
### Expected Behavior


<!-- What happened instead? -->
### Observed Behavior
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: 1.0.0 -->
* nautobot-plugin-chatops version: <!-- Example: 1.0.0 -->
* Nautobot version: <!-- Example: 2.0.0 -->
* nautobot-chatops version: <!-- Example: 1.0.0 -->

<!--
Describe in detail the new functionality you are proposing.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<!--
Thank you for your interest in contributing to Nautobot ChatOps! Please note
Thank you for your interest in contributing to Nautobot! 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.
Please indicate the relevant feature request or bug report below.
-->

# Closes: #<ISSUE NUMBER GOES HERE>

## What's Changed

<!--
Please include:
- A summary of the proposed changes
Expand All @@ -19,13 +21,15 @@
- Using a new feature
-->

## TODO
## 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/chatops/en/latest/dev/contributing/#creating-changelog-fragments))
- [ ] Added change log fragment(s) (for more information see [the documentation](https://docs.nautobot.com/projects/core/en/stable/development/#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 511ac7d

Please sign in to comment.