packit / upsint

Upstream Integration: work better with your upstream project.
GNU General Public License v3.0
2 stars 9 forks source link

unable to open a PR against origin master #47

Open TomasTomecek opened 4 years ago

TomasTomecek commented 4 years ago

upstream remote is not defined

$ upsint create-pr origin master
fatal: No such remote 'upstream'
falling back to origin
Traceback (most recent call last):
  File "/home/tt/.local/bin//upsint", line 11, in <module>
    load_entry_point('upsint', 'console_scripts', 'upsint')()
  File "/usr/lib/python3.7/site-packages/click/core.py", line 763, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 716, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1136, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/core.py", line 955, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 554, in invoke
    return callback(*args, **kwargs)
  File "/home/tt/g/user-cont/upsint/upsint/cli.py", line 88, in create_pr
    git_project = app.get_git_project(url)
  File "/home/tt/g/user-cont/upsint/upsint/core.py", line 78, in get_git_project
    return get_project(url, custom_instances=self.git_services)
  File "/home/tt/g/user-cont/ogr/ogr/factory.py", line 92, in get_project
    f"Instance of type {kls.__name__} "
ogr.exceptions.OgrException: Instance of type GithubService matching instance url 'git@github.com:TomasTomecek/speaks.git' was not provided.

$ git remote -v
origin  git@github.com:TomasTomecek/speaks.git (fetch)
origin  git@github.com:TomasTomecek/speaks.git (push)
upstream