Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.2 #310

Merged
merged 113 commits into from
Mar 28, 2024
Merged

v3.0.2 #310

merged 113 commits into from
Mar 28, 2024

Conversation

smk4664
Copy link
Contributor

@smk4664 smk4664 commented Mar 28, 2024

Release v3.0.2

Added

  • #270 - Add run_job Nautobot subcommand, which initiates a job with kwargs or a job requiring no manual form input.
  • #270 - Add run_job_form Nautobot subcommand, which presents job's form widgets to the user.
  • #270 - Add get_jobs Nautobot subcommand, which returns all Nautobot jobs viewable to user.
  • #270 - Add filter_jobs Nautobot subcommand, which returns filtered set of Nautobot jobs viewable to user.
  • #288 - Added Cisco NSO integration

Changed

  • #265 - Aligned integrations documentation structure with SSoT.
  • #297 - Replaced pydocstyle with ruff.

Fixed

  • #293 - Fix Aristacv not disabling with the setting.

Housekeeping

  • #8, #307 - Re-baked from the latest template.
  • #293 - Add debug logs to msteams dispatcher and api view.

snaselj and others added 30 commits September 25, 2023 11:45
Update init_jobs for new pattern, tested and working
Add kwargs to init_jobs, untested but looks good
Add get_jobs which returns all Nautobot jobs viewable to user
Add filter_jobs which returns filtered set of Nautobot jobs viewable to user
Update markdown to URL
Template:

```
{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "develop",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-plugin-chatops.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-chatops",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-chatops",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@nautobot/plugin-chatops",
        "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",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/opt/ntc/drift-manager/outputs/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "develop"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "setup-cookie-chatops.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "develop",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": true
}
```
Cookie initialy baked by NetworkToCode Cookie Drift Manager Tool
Bug: job forms with only 1-item
prompt_for_job added to init-job subcommand
removed testing code blocks
todo: bug: single job forms wont submit properly with multi_input_dialog
notes: merge init-job and init-job-form seems best
Add back in the mkdocs include-markdown plugin.
snaselj and others added 25 commits March 7, 2024 11:47
Initiating Nautobot jobs, next-2.0 rebase
Cookie updated by NetworkToCode Cookie Drift Manager Tool
Template:

```
{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "refs/tags/nautobot-app-v2.2.1",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-app-chatops.git",
    "path": "/tmp/tmpq_ms8yry/nautobot-app-chatops",
    "repository_path": "/tmp/tmpq_ms8yry/nautobot-app-chatops",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@glennmatthews @jvanderaa @smk4664 @whitej6",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "app_name": "nautobot_chatops",
        "verbose_name": "Nautobot ChatOps App",
        "app_slug": "nautobot-chatops",
        "project_slug": "nautobot-app-chatops",
        "repo_url": "https://github.com/nautobot/nautobot-app-chatops",
        "base_url": "chatops",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotChatOpsApp",
        "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",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/tmp/tmpq_ms8yry",
        "_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "refs/tags/nautobot-app-v2.2.1"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "b221d6a21e9b9a07df4b85782af19053e5c6c624",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "",
    "output_dir": "",
    "push": true,
    "template": "",
    "template_dir": "",
    "template_ref": "refs/tags/nautobot-app-v2.2.1",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null
}
```
# Conflicts:
#	poetry.lock
#	pyproject.toml
Cookie updated by NetworkToCode Cookie Drift Manager Tool
Add debugs to ms teams. Fix Aristacv errors.
Copy link
Contributor

@whitej6 whitej6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smk4664 smk4664 merged commit 2216599 into main Mar 28, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants