MCPcopy Create free account
hub / github.com/apache/solr / new_rc

Method new_rc

dev-tools/scripts/releaseWizard.py:480–491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

478 self.save()
479
480 def new_rc(self):
481 if ask_yes_no("Are you sure? This will abort current RC"):
482 maybe_remove_rc_from_svn()
483 dict = {}
484 for g in list(filter(lambda x: x.in_rc_loop(), self.todo_groups)):
485 for t in g.get_todos():
486 if t.applies(self.release_type):
487 dict[t.id] = copy.deepcopy(t.state)
488 t.clear()
489 self.previous_rcs["RC%d" % self.rc_number] = dict
490 self.rc_number += 1
491 self.save()
492
493 def to_dict(self):
494 tmp_todos = {}

Callers 1

start_new_rcFunction · 0.80

Calls 7

saveMethod · 0.95
ask_yes_noFunction · 0.85
maybe_remove_rc_from_svnFunction · 0.85
in_rc_loopMethod · 0.80
get_todosMethod · 0.80
appliesMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected