Commit Graph

60 Commits

Author SHA1 Message Date
eaf8f03dfd Merge pull request #36 from dmcken/add-repo-branch-option
Add repo branch option
2021-11-10 11:07:53 +00:00
58be6126d6 Update README.md
Added documentation for REPO_BRANCH environment variable.
2021-10-31 18:14:09 -04:00
c0fbe76247 Update settings.py
Fixed quotes to be consistent with the rest of settings.py
2021-10-31 18:09:54 -04:00
46e71fdc62 Update .env.example
Added REPO_BRANCH default env variable.
2021-10-31 18:07:25 -04:00
bee2eb7776 Add branch support
Set default branch name of 'master' in settings.py and then checkout the branch as appropriate.
2021-10-31 17:54:46 -04:00
3aaf98bfe4 Merge pull request #32 from rsp2k/master
Import all YAML files
2021-10-04 13:27:28 +01:00
85b868c12e Import all YAML files
Add list of YAML extensions. The netbox device type library excepts both *.yaml and *.yml files
2021-10-02 10:07:38 -06:00
17e2bf9c50 Merge pull request #30 from dalrrard/add-ssl-verify-setting
Added IGNORE_SSL_ERRORS option
2021-09-07 05:24:42 -04:00
dcb5caf542 Merge pull request #29 from dalrrard/speed-up-import
Increase import speed
2021-09-07 05:24:23 -04:00
39cd57c527 Merge pull request #31 from dalrrard/bump-requests-version
Bumped requests version
2021-09-07 05:22:25 -04:00
6afd05b11f Bumped requests library to 2.25.1 to keep compatibility with Python 3.5 and work with urllib3-1.26.5 2021-08-25 14:29:47 -05:00
269d5abb48 Added IGNORE_SSL_ERRORS option to settings and .env and refactored a few things 2021-08-25 11:57:38 -05:00
3f09512256 Refactored import functions to use bulk POSTs and list GETs instead of individual ones 2021-08-25 09:52:50 -05:00
3d0c95158b Merge pull request #24 from k0rventen/master
docker image CI
2021-07-28 10:55:43 -04:00
21ed48b36f Merge pull request #25 from minitriga/dependabot/pip/urllib3-1.26.5
build(deps): bump urllib3 from 1.25.8 to 1.26.5
2021-07-28 10:55:34 -04:00
3c12cb5bb0 build(deps): bump urllib3 from 1.25.8 to 1.26.5
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.8...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 01:04:37 +00:00
e091a22e81 add manual trigger 2021-05-25 17:47:19 +02:00
89e8c9c92f add docker CI 2021-05-25 17:40:09 +02:00
e8ac3e779c Merge pull request #23 from k0rventen/master
docker build  + add vendors choices as env var
2021-05-25 12:24:55 +01:00
76821c11f8 add docker documentation 2021-05-25 11:50:42 +02:00
039e4c0fd7 docker 2021-05-16 14:46:38 +02:00
315dce530b add vendors as an env var 2021-05-16 14:46:09 +02:00
4f1455f330 Merge pull request #20 from minitriga/dependabot/pip/pyyaml-5.4
build(deps): bump pyyaml from 5.3 to 5.4
2021-04-28 21:31:21 +01:00
b7d636b724 Merge pull request #22 from eN0Rm/master
Update requirements.txt
2021-04-28 21:31:01 +01:00
0a0c8a8746 Update requirements.txt
Missing package for installing.
2021-04-15 09:36:36 +02:00
4c1a412a44 build(deps): bump pyyaml from 5.3 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 23:25:48 +00:00
c7af91c175 Merge pull request #19 from lordwolf2004/patch-1
Update nb-dt-import.py
2021-03-24 22:14:00 +00:00
91e78f36e7 Update nb-dt-import.py
fixed AttributeError when using --vendors switch
2021-03-20 19:22:35 -05:00
5cb2b033a3 Merge pull request #15 from FlorianHeigl/patch-2
match 'vendors' arg between docs and code
2021-03-19 09:04:59 +00:00
b499a9770b Merge pull request #17 from ndom91/update-readme-env
Update readme env
2021-03-02 21:34:07 +00:00
965ad5cc65 fix: wording 2021-02-27 15:18:42 +01:00
602f9d4389 fix: remove old versions that dont work anymore 2021-02-27 11:28:15 +01:00
c8279ff878 update: README 2021-02-27 10:48:05 +01:00
ef4c0fa515 add: script timer + devicetype library repo url to .env 2021-02-27 01:02:03 +01:00
f8a078220c update: README and added dotenv other small stuff 2021-02-26 23:26:32 +01:00
17cc30f6a3 match 'vendors' arg between docs and code
the arg was called vendor (singular), while most of the code and the readme mentioned 'vendors' (plural) and the arg in fact supports multiple vendors.
2021-02-09 02:26:59 +01:00
0da2558b6d Merge pull request #10 from mayafox/master
pep8 formatting and fix for vendors with spaces in names
2021-01-04 11:22:58 +00:00
73b605275b pep8 formatting and fix for vendors with spaces in names 2020-12-11 10:37:00 -08:00
a2d2fa3c02 Merge pull request #7 from mtinberg/master
Add CLI option for custom git URL
2020-11-13 18:11:39 +00:00
d57b93faae Strip invalid spaces from Manufacturer slug generation 2020-11-13 09:36:53 -06:00
a78df75074 Switch early return so readYAML can continue with other files 2020-11-12 13:44:11 -06:00
00e9b3d73f Update output messages with git remote and local path
so it's clear what data is being used
if a non-default git url is specified
2020-11-12 13:38:48 -06:00
0d9773c0e0 Add VSCode tmp files to gitignore 2020-11-12 13:22:46 -06:00
2188ac7a62 Return empty deviceTypes in readYAML on error
instead of continuing with uninitilized data
2020-11-12 13:22:35 -06:00
54907aaffb Add CLI options for git URL
help text to CLI options
2020-11-12 13:20:21 -06:00
1f31c11eda Merge pull request #4 from ndom91/multiple-powerport-fix
fix: error on unambigious powerport when trying to create power outlets
2020-10-30 06:59:54 +00:00
16b922b383 fix: create poweroutlet with unambiguous powerport 2020-10-10 21:12:53 +02:00
c6bc1fbbc8 add: fix for missing powerport when multiple are available i.e. AP7721 template 2020-10-10 21:02:56 +02:00
0d9e8d0c05 Merge pull request #2 from ndom91/counter
Counter
2020-10-09 10:17:16 +01:00
ee033cc1e0 Merge pull request #1 from ndom91/master
Update power-port/power-ports check
2020-10-09 10:16:01 +01:00