{"push_id":618155788,"size":2,"distinct_size":2,"ref":"refs/heads/service","head":"b0c4b6b217e3e41f937420490d133748427b6682","before":"c41e478794f0ab13a7c1387f1d2f888239015af0","commits":[{"sha":"f9d964b08568b30dd1d42388f58deadb3186e4d3","author":{"email":"7e2902aa60333e9f1d5381a7fc8e7bdb732e710a@cn.fujitsu.com","name":"Wei,Jiangang"},"message":"staging/service: refactor parser for SysVInit/Systemd\n\nThe parser function looks very massive and messy, and\nhasn't an unclean structure.\nOne function do one thing at a time and do well,\nwhich is a golden rule.\nso it's necessary to refactor them and make it tidy,\nreadable and easier to understand...\n\nModifications includes the following,\n* sys_v_init_result_parser()\n  |-> SysVInit_result_parser()  (keep uniform prefix)\n  |-> Split it into smaller functions\n      |- SysVInit_status_parser (service status)\n      |- SysVInit_list_parser   (service list)\n      |- raw_status_parser      (shared by Systemd&SysVInit)\n      |- _ServiceResultParser.default_method (default)\n* systemd_result_parser()\n  |-> Systemd_result_parser()  (keep uniform prefix)\n  |-> The same as sys_v_init_result_parser()\n* polish the docstring and comments\n\nThis commit allows people add new feature easily,\nAs follow,\n1) Just coding the new parser function at first\n2) and then, declare this function at parser-dict[]","distinct":true,"url":"https://api.github.com/repos/PandaWei/virt-test/commits/f9d964b08568b30dd1d42388f58deadb3186e4d3"},{"sha":"b0c4b6b217e3e41f937420490d133748427b6682","author":{"email":"7e2902aa60333e9f1d5381a7fc8e7bdb732e710a@cn.fujitsu.com","name":"Wei,Jiangang"},"message":"staging/service: use uniform prefix for command generator\n\ns/sys_v_init_command_generator/SysVInit_command_generator/g\ns/systemd_command_generator/Systemd_command_generator/g","distinct":true,"url":"https://api.github.com/repos/PandaWei/virt-test/commits/b0c4b6b217e3e41f937420490d133748427b6682"}]}