{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":657225321,"defaultBranch":"master","name":"console_app","ownerLogin":"PiotrKnutel","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-06-22T15:32:11.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/100705000?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1687448265.1999109","currentOid":""},"activityList":{"items":[{"before":"0497b119584fa1ca5d4ea49d7b9f6e3b1b110ebc","after":"0fa1018c75246883b376db9d6391df5dd7469b42","ref":"refs/heads/master","pushedAt":"2023-06-26T12:19:20.571Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"modification of README file","shortMessageHtmlLink":"modification of README file"}},{"before":"9fd0991ba6f3c4e5e4e34ce3d427d576b98baac1","after":"0fa1018c75246883b376db9d6391df5dd7469b42","ref":"refs/heads/develop","pushedAt":"2023-06-26T12:18:58.971Z","pushType":"push","commitsCount":5,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"modification of README file","shortMessageHtmlLink":"modification of README file"}},{"before":"4810e4e4c9ab371912362feeb4aa0904b99ae902","after":"0497b119584fa1ca5d4ea49d7b9f6e3b1b110ebc","ref":"refs/heads/master","pushedAt":"2023-06-26T12:07:58.077Z","pushType":"push","commitsCount":3,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Merge branch 'develop' after fixed bug \"no reading from a file with one number\"\n\nChanged function 'param_read_from_file()'.\nThe function goes to end of file. Next, on the loop 'do-while', the function read previous char and checks, it is correct char. If char is corrent, 'num_detection_flag' is set up. When the loop finds uncorrect char (e.g. space, ';' or '\\n'), the start of the last number in the file has been detected. Next, the function copies the string of last number to str_nr[] and return the result.\n\nAdded checking, that chars are correct ('0'-'9', '-', '.').","shortMessageHtmlLink":"Merge branch 'develop' after fixed bug \"no reading from a file with o…"}},{"before":"bff17bcd7ead4a2012792fc89f5403e8af966970","after":"9fd0991ba6f3c4e5e4e34ce3d427d576b98baac1","ref":"refs/heads/develop","pushedAt":"2023-06-26T11:55:29.610Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Fixed bug: no reading from a file with one number\n\nChanged function 'param_read_from_file()'.\nThe function goes to end of file. Next, on the loop 'do-while', the function read previous char and checks, it is correct char. If char is corrent, 'num_detection_flag' is set up. When the loop finds uncorrect char (e.g. space, ';' or '\\n'), the start of the last number in the file has been detected. Next, the function copies the string of last number to str_nr[] and return the result.\n\nAdded checking, that chars are correct ('0'-'9', '-', '.').","shortMessageHtmlLink":"Fixed bug: no reading from a file with one number"}},{"before":"1722d28bd5dd955703f86138c3bee14ce04a1732","after":"4810e4e4c9ab371912362feeb4aa0904b99ae902","ref":"refs/heads/master","pushedAt":"2023-06-24T21:08:32.135Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"bff17bcd7ead4a2012792fc89f5403e8af966970","after":"1722d28bd5dd955703f86138c3bee14ce04a1732","ref":"refs/heads/master","pushedAt":"2023-06-24T21:08:00.695Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Create README.md\n\ndetected bug","shortMessageHtmlLink":"Create README.md"}},{"before":"7964905eba63851db603b9733f35457acb7df0ce","after":"bff17bcd7ead4a2012792fc89f5403e8af966970","ref":"refs/heads/master","pushedAt":"2023-06-24T20:47:11.568Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"improve code aesthetics\n\nFix comments and aesthetics","shortMessageHtmlLink":"improve code aesthetics"}},{"before":"7964905eba63851db603b9733f35457acb7df0ce","after":"bff17bcd7ead4a2012792fc89f5403e8af966970","ref":"refs/heads/develop","pushedAt":"2023-06-24T20:46:46.662Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"improve code aesthetics\n\nFix comments and aesthetics","shortMessageHtmlLink":"improve code aesthetics"}},{"before":"f5a06eb69f9204e42bde071e69f1f93efac247d9","after":"7964905eba63851db603b9733f35457acb7df0ce","ref":"refs/heads/master","pushedAt":"2023-06-24T20:12:09.901Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Added support for option --args\n\nOption --args show number of arguments and return a list of all arguments.\nUsed argc and *argv.","shortMessageHtmlLink":"Added support for option --args"}},{"before":"f5a06eb69f9204e42bde071e69f1f93efac247d9","after":"7964905eba63851db603b9733f35457acb7df0ce","ref":"refs/heads/develop","pushedAt":"2023-06-24T20:11:50.499Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Added support for option --args\n\nOption --args show number of arguments and return a list of all arguments.\nUsed argc and *argv.","shortMessageHtmlLink":"Added support for option --args"}},{"before":"27c3cf8ecb7b5dadbaeb1ffd32bb078464b48415","after":"f5a06eb69f9204e42bde071e69f1f93efac247d9","ref":"refs/heads/master","pushedAt":"2023-06-24T19:16:35.808Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Added support for option --data\n\nParametr --data gets argument [DMMYY] and write on screen text \"day_of_week month year\", e.g. \"71223\" is converted to \"niedziela grudzien 2023\". Now, program writes polish name of day and month. This feature is realised by function 'data()'.\nFunction 'data()' is invoked at 'main()', if data_flag is set.","shortMessageHtmlLink":"Added support for option --data"}},{"before":"27c3cf8ecb7b5dadbaeb1ffd32bb078464b48415","after":"f5a06eb69f9204e42bde071e69f1f93efac247d9","ref":"refs/heads/develop","pushedAt":"2023-06-24T19:15:52.151Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Added support for option --data\n\nParametr --data gets argument [DMMYY] and write on screen text \"day_of_week month year\", e.g. \"71223\" is converted to \"niedziela grudzien 2023\". Now, program writes polish name of day and month. This feature is realised by function 'data()'.\nFunction 'data()' is invoked at 'main()', if data_flag is set.","shortMessageHtmlLink":"Added support for option --data"}},{"before":"e48c7847fb1d519d88c31c388a962b946926e42f","after":"27c3cf8ecb7b5dadbaeb1ffd32bb078464b48415","ref":"refs/heads/master","pushedAt":"2023-06-23T16:59:01.693Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Change getopt to getopt_long\n\nProgram can get options short [-v -h -p] and long [--help --param].\nWhen user writes --param, getopt_long() return 'p'.\nWhen user writes --help, getopt_long() return 'h'.\nWhen user write -p or --param without any argument, getopt_long() return ':' and case ':' checks 'optopt' value.\n\nThe function main.c doesn't work corectly, when 'optional_argument' is set in struct getopt_long_options[], for \"param\". It work, when 'required_argument' is seted.\n\nWhen user writes --args or --data, the flag 'args_flag' or 'data_flag' is set up, by writing '1' to flag's variable.","shortMessageHtmlLink":"Change getopt to getopt_long"}},{"before":"e48c7847fb1d519d88c31c388a962b946926e42f","after":"27c3cf8ecb7b5dadbaeb1ffd32bb078464b48415","ref":"refs/heads/develop","pushedAt":"2023-06-23T16:58:43.732Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Change getopt to getopt_long\n\nProgram can get options short [-v -h -p] and long [--help --param].\nWhen user writes --param, getopt_long() return 'p'.\nWhen user writes --help, getopt_long() return 'h'.\nWhen user write -p or --param without any argument, getopt_long() return ':' and case ':' checks 'optopt' value.\n\nThe function main.c doesn't work corectly, when 'optional_argument' is set in struct getopt_long_options[], for \"param\". It work, when 'required_argument' is seted.\n\nWhen user writes --args or --data, the flag 'args_flag' or 'data_flag' is set up, by writing '1' to flag's variable.","shortMessageHtmlLink":"Change getopt to getopt_long"}},{"before":"445c169e8be71b91404f99f91fc2aac96c5c182e","after":"e48c7847fb1d519d88c31c388a962b946926e42f","ref":"refs/heads/develop","pushedAt":"2023-06-23T14:08:56.308Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Edited help text\n\nAdded information about type of argument VALUE for '-p' option.","shortMessageHtmlLink":"Edited help text"}},{"before":"445c169e8be71b91404f99f91fc2aac96c5c182e","after":"e48c7847fb1d519d88c31c388a962b946926e42f","ref":"refs/heads/master","pushedAt":"2023-06-23T14:08:31.032Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Edited help text\n\nAdded information about type of argument VALUE for '-p' option.","shortMessageHtmlLink":"Edited help text"}},{"before":"4ed1fd295c179bff54534ac79d09d690b3e078b3","after":"445c169e8be71b91404f99f91fc2aac96c5c182e","ref":"refs/heads/master","pushedAt":"2023-06-23T12:46:45.449Z","pushType":"push","commitsCount":2,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Support for opction '-p' without argument\n\nIf opcion -p has not any argument, then program show last number from 'dane.txt'.\nProgram show information if file doesn't exist or file is empty.","shortMessageHtmlLink":"Support for opction '-p' without argument"}},{"before":"c10b94fa39b4ce00277821f7da367b48f15053a3","after":"445c169e8be71b91404f99f91fc2aac96c5c182e","ref":"refs/heads/develop","pushedAt":"2023-06-23T12:46:22.574Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Support for opction '-p' without argument\n\nIf opcion -p has not any argument, then program show last number from 'dane.txt'.\nProgram show information if file doesn't exist or file is empty.","shortMessageHtmlLink":"Support for opction '-p' without argument"}},{"before":"4ed1fd295c179bff54534ac79d09d690b3e078b3","after":"c10b94fa39b4ce00277821f7da367b48f15053a3","ref":"refs/heads/develop","pushedAt":"2023-06-23T08:28:34.162Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"Added support for option -p\n\nDelete unnecessery files 'set_opt.c' and 'set_opt.h'.\nAll functions for support '-p' are on new file 'work_with_param.c'.\nIf argument of option '-p' is a number, then the number (as string) is writing on'dane.txt'. If argument is string, then it is printing on the screen.","shortMessageHtmlLink":"Added support for option -p"}},{"before":"46560f529e523993a93e78d70a68db103232aaf8","after":"4ed1fd295c179bff54534ac79d09d690b3e078b3","ref":"refs/heads/develop","pushedAt":"2023-06-22T17:58:12.805Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"better help text","shortMessageHtmlLink":"better help text"}},{"before":"46560f529e523993a93e78d70a68db103232aaf8","after":"4ed1fd295c179bff54534ac79d09d690b3e078b3","ref":"refs/heads/master","pushedAt":"2023-06-22T17:57:30.894Z","pushType":"push","commitsCount":1,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"better help text","shortMessageHtmlLink":"better help text"}},{"before":null,"after":"46560f529e523993a93e78d70a68db103232aaf8","ref":"refs/heads/master","pushedAt":"2023-06-22T15:37:45.199Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"added options -v and -h, fixed .gitignore\n\nUsed getopt() function in while loop.\nParameter -v set version_flag and parameter -h set help_flag.\nIf corresponding flag is set, program shows version or help text.\n\nFixed .gitignore file. Add new line at the end of the file.","shortMessageHtmlLink":"added options -v and -h, fixed .gitignore"}},{"before":null,"after":"46560f529e523993a93e78d70a68db103232aaf8","ref":"refs/heads/develop","pushedAt":"2023-06-22T15:33:53.615Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"PiotrKnutel","name":"Piotr","path":"/PiotrKnutel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100705000?s=80&v=4"},"commit":{"message":"added options -v and -h, fixed .gitignore\n\nUsed getopt() function in while loop.\nParameter -v set version_flag and parameter -h set help_flag.\nIf corresponding flag is set, program shows version or help text.\n\nFixed .gitignore file. Add new line at the end of the file.","shortMessageHtmlLink":"added options -v and -h, fixed .gitignore"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADSQ13twA","startCursor":null,"endCursor":null}},"title":"Activity · PiotrKnutel/console_app"}