Actions
Bug #8519
closedrudder-dev KeyError: 'master'
Pull Request:
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'
Updated by Benoît PECCATTE over 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
Updated by Benoît PECCATTE over 8 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE over 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
Updated by Benoît PECCATTE over 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
Updated by Jonathan CLARKE over 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.
Updated by Benoît PECCATTE over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-tools|ea83a24303142f65cd6b946a24dbc239928b0e0c.
Updated by Benoît PECCATTE about 8 years ago
- Status changed from Pending release to Released
Actions