{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":714038522,"defaultBranch":"main","name":"python-workflows","ownerLogin":"benjaminhwilliams","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-11-03T19:21:56.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/11389015?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1699039762.0","currentOid":""},"activityList":{"items":[{"before":"4566b15efb7583671d6c7a7a92cc09f97b968a17","after":"41b7f9f4d378740e14da81d742e1b6982ff61b56","ref":"refs/heads/check-service-name-valid","pushedAt":"2023-11-03T19:45:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"benjaminhwilliams","name":"Ben Williams","path":"/benjaminhwilliams","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11389015?s=80&v=4"},"commit":{"message":"Neaten up the if nots","shortMessageHtmlLink":"Neaten up the if nots"}},{"before":null,"after":"4566b15efb7583671d6c7a7a92cc09f97b968a17","ref":"refs/heads/check-service-name-valid","pushedAt":"2023-11-03T19:29:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"benjaminhwilliams","name":"Ben Williams","path":"/benjaminhwilliams","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11389015?s=80&v=4"},"commit":{"message":"Tidy up the service name resolution logic\n\nAt present, a user can grow accustomed to lazily providing lower-case\nservice names when invoking 'workflows.service' from the command line.\nThis works fine until you encounter the following situation:\n- Known services include \"DLSISPyB\" and \"DLSISPyBPIA\";\n- user specifies '-s dlsispyb', expecting this to be interpreted as\n'DLSISPyB', or else expecting an error;\n- not finding a perfect match, the current logic checks whether any\nknown service names, rendered in lower case, start with 'dlsispyb',\nfinds two such matches;\n- rather than selecting either of these two matches, the program quietly\n continues to open a frontend and doesn't start any service;\n- user sees so warning or error, program twiddles its thumbs until\nterminated.\n\nNew logic:\n1. Check for perfect match;\n2. Failing that, check for case-insensitive match;\n3. Failing that, check for case-sensitive partial matches. If\nambiguous, exit with error.\n4. Failing that, repeat 3 but now case-insensitive.\n5. If still no matches, exit with error.","shortMessageHtmlLink":"Tidy up the service name resolution logic"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADpwUQ4wA","startCursor":null,"endCursor":null}},"title":"Activity ยท benjaminhwilliams/python-workflows"}