Skip to content

generate napalm-skeleton from cookiecutter template #5

Open
@grizz

Description

@grizz

Did a quick template at https://github.com/grizz/cookiecutter-napalm-skeleton for creating new napalm drivers, welcome to take it over and use it to generate this repo if you'd like.

Current diff from generated to this repo is it only supports a single author and a couple case inconsistencies from the README, diff below.

Command:

rm -rf napalm-skeleton/ ; cookiecutter --no-input ../napalm-cc-skeleton/ ; diff -ur ../napalm-skeleton/ napalm-skeleton/

Results:

diff -ur ../napalm-skeleton/AUTHORS napalm-skeleton/AUTHORS
--- ../napalm-skeleton/AUTHORS  2016-11-07 18:56:12.628888695 +0000
+++ napalm-skeleton/AUTHORS     2016-11-07 19:37:59.182553001 +0000
@@ -1,2 +1 @@
 David Barroso <[email protected]>
-Elisa Jasinska <[email protected]>
diff -ur ../napalm-skeleton/README.md napalm-skeleton/README.md
--- ../napalm-skeleton/README.md        2016-11-07 18:56:12.628888695 +0000
+++ napalm-skeleton/README.md   2016-11-07 19:37:59.173552812 +0000
@@ -1,8 +1,8 @@
-[![PyPI](https://img.shields.io/pypi/v/napalm-SKELETON.svg)](https://pypi.python.org/pypi/napalm-SKELETON)
-[![PyPI](https://img.shields.io/pypi/dm/napalm-SKELETON.svg)](https://pypi.python.org/pypi/napalm-SKELETON)
-[![Build Status](https://travis-ci.org/napalm-automation/napalm-SKELETON.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-SKELETON)
+[![PyPI](https://img.shields.io/pypi/v/napalm-skeleton.svg)](https://pypi.python.org/pypi/napalm-skeleton)
+[![PyPI](https://img.shields.io/pypi/dm/napalm-skeleton.svg)](https://pypi.python.org/pypi/napalm-skeleton)
+[![Build Status](https://travis-ci.org/napalm-automation/napalm-skeleton.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-skeleton)
 
-# napalm-SKELETON
+# napalm-skeleton
 
 --- CUTTING_LINE: DELETE EVERYTHING STARTING FROM HERE BEFORE MERGING
 
Only in ../napalm-skeleton/: cookiesutter.json
diff -ur ../napalm-skeleton/setup.py napalm-skeleton/setup.py
--- ../napalm-skeleton/setup.py 2016-11-07 18:56:12.628888695 +0000
+++ napalm-skeleton/setup.py    2016-11-07 19:37:59.186553085 +0000
@@ -25,7 +25,7 @@
         'Operating System :: POSIX :: Linux',
         'Operating System :: MacOS',
     ],
-    url="https://github.com/napalm-automation/napalm-eos",
+    url="https://github.com/napalm-automation/napalm-skeleton",
     include_package_data=True,
     install_requires=reqs,
 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions