{"push_id":594589491,"size":3,"distinct_size":3,"ref":"refs/heads/wait","head":"728245360acb09a7c2d4042f68edebeae2d2c4ca","before":"632d5397c43d7dd65a11a1589185ea7175b5e26b","commits":[{"sha":"cfefd79975e2642914e349fedc829cc054272fc3","author":{"email":"b87ce3122d951f51fcc3593ba54a3239f1f5c07d@redhat.com","name":"Ken Gaillot"},"message":"Refactor: tools: functionize working set logic in crm_resource\n\nThis adds two new functions, update_working_set_xml() and update_working_set_from_cib(),\nto separate code that will be needed by the planned --wait option. As part of the\nrefactoring, an error message previously sent to stdout is now correctly sent to stderr.","distinct":true,"url":"https://api.github.com/repos/kgaillot/pacemaker/commits/cfefd79975e2642914e349fedc829cc054272fc3"},{"sha":"37fde40dd62b868199086f1f66707fb531154fb0","author":{"email":"b87ce3122d951f51fcc3593ba54a3239f1f5c07d@redhat.com","name":"Ken Gaillot"},"message":"Refactor: tools: guard crm_resource actions with booleans rather than comparing rsc_cmd\n\nPreviously, crm_resource's main() decided whether to perform certain actions\n(such as ensure --resource exists) by checking rsc_cmd directly. Because the\nplanned --wait option will not have a distinct rsc_cmd, these comparisons\nwould get unwieldy, so instead it now checks booleans, and each command\ncan set the booleans it needs.\n\nBy its nature this also gets rid of some dead code; some of the previous\nguards checked whether rsc_cmd != 'P', but that was always true (the 'P'\nflag sets rsc_cmd = 'C', and nothing sets rsc_cmd = 'P'). The new booleans\nmaintain the actual behavior of the previous code.","distinct":true,"url":"https://api.github.com/repos/kgaillot/pacemaker/commits/37fde40dd62b868199086f1f66707fb531154fb0"},{"sha":"728245360acb09a7c2d4042f68edebeae2d2c4ca","author":{"email":"b87ce3122d951f51fcc3593ba54a3239f1f5c07d@redhat.com","name":"Ken Gaillot"},"message":"Feature: tools: add crm_resource --wait option\n\n\"crm_resource --wait\" will wait until the cluster is stable\n(i.e. the policy engine does not intend to perform any further actions)\nor a timeout is reached.","distinct":true,"url":"https://api.github.com/repos/kgaillot/pacemaker/commits/728245360acb09a7c2d4042f68edebeae2d2c4ca"}]}