{"push_id":1461877309,"size":1,"distinct_size":1,"ref":"refs/heads/structure-driverc","head":"84cf87bec4363963871916875c85261cb3992e24","before":"10d06d9d6c8d1b92942a77027147e7627d2a6ea4","commits":[{"sha":"84cf87bec4363963871916875c85261cb3992e24","author":{"name":"Emmanuel Odeke","email":"9698d2678cf6e25d4a37a65698435b69b9bf58da@gmail.com"},"message":"structured/sectioned .driverc configuration\n\nFixes https://github.com/odeke-em/drive/issues/778.\n\nNow allows you to restructure your .driverc separating\ncommands into sections and having different clauses.\n\nPlease note:\n* You can put multiple commands in the same\nsection by using separator \"/\". See the rules at\nhttps://github.com/odeke-em/namespace/blob/0ab79ba44f1328b1ec75ea985ad5c338ba3d56a6/ns.go#L3-L14\n\n* Overwriting of command rules is\ncommand_section > global\nand\ncommandX_higher_line > commandX_lower_line\nwhere lines are natural numbers that are ascending\n\n* Exhibits:\nThis is a sample of a .driverc that I've just defined that has flexible\nbehavior in different sections.\n\n```\nid=true # Will be applied globally unless overwritten in a command\n\n[global]\ndepth=10 # The depth to use if not defined\n\n[pull/list]\ndepth=2 # The depth to be used for pull or list\n\n[push]\nverbose=true # verbose is only true for push\n\n[list]\nlong=true # Allow long output for list\n```\n\nAnd see the tests in src/rc_test.go that lock in the promised behavior.","distinct":true,"url":"https://api.github.com/repos/odeke-em/drive/commits/84cf87bec4363963871916875c85261cb3992e24"}]}
{"actor":{"display_login":"odeke-em"}}