napalm-automation / tooling Goto Github PK
View Code? Open in Web Editor NEWSome useful tools to manage the project
License: Apache License 2.0
Some useful tools to manage the project
License: Apache License 2.0
See details in the parent issue napalm-automation/napalm-base#65
Will debug this a bit later, pasting here the traceback:
(napalm-test)mircea@36netops3:~/tooling$ ./gh-tools.py label enhancement set "424242"
Skipping repo `napalm`.
Skipping repo `napalm-ansible`.
Label `enhancement` doesn't exist in repo `napalm-base`. Creating.
Traceback (most recent call last):
File "./gh-tools.py", line 38, in <module>
cli(obj={})
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/state/home/mircea/tooling/gh_tools/label.py", line 21, in set_label
ghm.set_label(ctx.obj['name'], color)
File "/state/home/mircea/tooling/gh_tools/github_helpers.py", line 88, in set_label
self._set_label_repo(repo, name, color)
File "/state/home/mircea/tooling/gh_tools/github_helpers.py", line 76, in _set_label_repo
label = repo.create_label(name, color)
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/github/Repository.py", line 932, in create_label
input=post_parameters
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/github/Requester.py", line 172, in requestJsonAndCheck
return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))
File "/state/home/mircea/napalm-test/local/lib/python2.7/site-packages/github/Requester.py", line 180, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.UnknownObjectException: 404 {u'documentation_url': u'https://developer.github.com/v3/issues/labels/#create-a-label', u'message': u'Not Found'}
Or is it a syntax error on my side @dbarrosop?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.