Code Monkey home page Code Monkey logo

tooling's People

Contributors

dbarrosop avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tooling's Issues

Unable to create a new label

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.