nautobot / nautobot-app-version-control

Version Control App that uses and requires a Dolt Database
Other
29 stars 6 forks source link

Cookie initialy baked by NetworkToCode Cookie Drift Manager Tool #206

Closed snaselj closed 4 months ago

snaselj commented 9 months ago

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-version-control.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-version-control",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-version-control",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@smith-ntc",
        "full_name": "Network to Code, LLC",
        "email": "opensource@networktocode.com",
        "github_org": "nautobot",
        "plugin_name": "nautobot_version_control",
        "verbose_name": "Nautobot Version Control",
        "plugin_slug": "nautobot-version-control",
        "project_slug": "nautobot-plugin-version-control",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-version-control",
        "base_url": "version-control",
        "min_nautobot_version": "1.2.4",
        "max_nautobot_version": "1.9999",
        "camel_name": "NautobotVersionControl",
        "project_short_description": "Nautobot Version Control with Dolt",
        "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/version-control/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-version-control.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
}
itdependsnetworks commented 4 months ago

@snaselj sorry, I had already been pretty far into #203 and that has merge conflicts here, I suspect easier to start over.