Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
Some future release
-
None
-
Gemini sprint 3
Description
Traceback (most recent call last): File "C:\Users\asshakun\Documents\venv-global\Scripts\qtci-run-plugin-script.py", line 33, in <module> sys.exit(load_entry_point('qtci', 'console_scripts', 'qtci-run-plugin')()) File "c:\users\asshakun\documents\gitprojects\qtcloud\src\qtci_bin\run_plugin.py", line 94, in main qtci.modules.qt_server.local_git_obj = qtci.modules.qt_git_local.QtGeminiGit(local_project_path) File "c:\users\asshakun\documents\gitprojects\qtcloud\src\qtci\modules\_git_local.py", line 55, in __init__ self.current_tracking_branch = self.get_current_tracking_branch_name() File "c:\users\asshakun\documents\gitprojects\qtcloud\src\qtci\modules\_git_local.py", line 610, in get_current_tracking_branch_name return self.repo.git.rev_parse("@{u}", symbolic_full_name=True, abbrev_ref=True) File "C:\Users\asshakun\Documents\venv-global\lib\site-packages\git\cmd.py", line 638, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) File "C:\Users\asshakun\Documents\venv-global\lib\site-packages\git\cmd.py", line 1183, in _call_process return self.execute(call, **exec_kwargs) File "C:\Users\asshakun\Documents\venv-global\lib\site-packages\git\cmd.py", line 983, in execute raise GitCommandError(redacted_command, status, stderr_value, stdout_value) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git rev-parse --symbolic-full-name --abbrev-ref @{u} stderr: 'fatal: no upstream configured for branch 'cloud-115''
If there is no upstream configured, the qtci-run-plugin fails. THis should be fixed and we should be able to run the plugin in all situations:
- Has upstream branch
- Does not have upstream branch
- Branch is in detached state