Project

General

Profile

Actions

Bug #8519

closed

rudder-dev KeyError: 'master'

Added by Jonathan CLARKE almost 8 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Rudder dev tools
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

~/rudder-plugin-windows$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean

~/rudder-plugin-windows$ rudder-dev subtask --base=3635 --bug --title "+- logic error in test" 
Looking for Redmine ticket #3635...  Done
Fetching upstream origin to detect lifecycle
 $ git fetch --force origin
Next version will be master
Cloning ticket #3635
Traceback (most recent call last):
  File "/usr/local/bin/rudder-dev", line 2003, in <module>
    subtask(arguments['<next_branch>'], arguments['--title'], arguments['--base'], arguments['--bug'])
  File "/usr/local/bin/rudder-dev", line 1477, in subtask
    ticket = clone_ticket(info, next_version, new_title, bug)
  File "/usr/local/bin/rudder-dev", line 759, in clone_ticket
    new_info['fixed_version_id'] = all_versions_id[version]
KeyError: u'master'
Actions #1

Updated by Benoît PECCATTE almost 8 years ago

Yes, this is a case that is not handled yet.
From rudder-dev source code of clone_ticket: # clone/subtask will fail but everything else will work

Actions #2

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by Benoît PECCATTE almost 8 years ago

And please note that it should have probably been i3635 and not 3635, rudder-dev is not yet able to autodetect on which redmine it should work

Actions #4

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-tools/pull/175
Actions #5

Updated by Jonathan CLARKE almost 8 years ago

Benoît PECCATTE wrote:

And please note that it should have probably been i3635 and not 3635, rudder-dev is not yet able to autodetect on which redmine it should work

Yes indeed it was. I tried that too.

Actions #6

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF