{"id":17656412,"url":"https://github.com/darnir/scaling-octo-bugfixes","last_synced_at":"2025-03-30T09:43:56.941Z","repository":{"id":15854885,"uuid":"18595142","full_name":"darnir/scaling-octo-bugfixes","owner":"darnir","description":"A simple script to turn compiler warnings generated through clang into GitHub Issues.","archived":false,"fork":false,"pushed_at":"2014-04-09T12:21:48.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T11:47:50.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darnir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-09T11:41:53.000Z","updated_at":"2014-04-09T12:21:49.000Z","dependencies_parsed_at":"2022-09-07T15:41:32.654Z","dependency_job_id":null,"html_url":"https://github.com/darnir/scaling-octo-bugfixes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnir%2Fscaling-octo-bugfixes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnir%2Fscaling-octo-bugfixes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnir%2Fscaling-octo-bugfixes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnir%2Fscaling-octo-bugfixes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darnir","download_url":"https://codeload.github.com/darnir/scaling-octo-bugfixes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301954,"owners_count":20755512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-23T14:31:59.282Z","updated_at":"2025-03-30T09:43:56.920Z","avatar_url":"https://github.com/darnir.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ng-octo-bugfixes\n=====================\n\nFor want of a better name, 'scaling-octo-bugfixes' is a couple of simple\nhackish scripts I wrote when beginning my spring cleaning work on GNU Wget.\n\nWhat these scripts do is turn the warnings spewed by Clang into github issues.\nWhile new projects should ideally just set a bunch of warning flags and use\n-Werror, this isn't exactly possible on old and established projects. Hence, we\ntry and turn all warnings into issues. By running this script upon every\ncommit, we update the issues on GitHub and hence know who introduced bad coding\npractices in which commit.\n\nThis project is comprised of two separate scripts:\n   * clang-parse.sh: A shell script that compiles the project and parses the\nwarnings output by clang, storing them in a separate file called\nclang\\_warnings.txt. **IMPORTANT:** This script imports another config file\ncalled issuerc. issuerc is also a bash script which defines most of the\nwork that is to be done. Please ensure that the variables that have\ncurrent;y been defined in issuerc remain since no error checking has\ncurrently been implemented for missing variables.\n   * githubissue.py: This is a small Python3 script which uses the pyGithub\nlibrary to interface with GitHub and create issues. This script too uses a\nconfig file which is formatted like a INI file that can be ready by\nPython's configparser module. The structure of the file is explained\nbelow.\n\ngithubissuerc\n-------------\n\nThis is a simple INI file which contains currently only the credentials for the\nuser's GitHub account in plaintext. It should look like the following:\n```\n[Credentials]\n\nuser = your_username\npassword = your_password\n```\n\nToDo\n====\n\n    * Remove hardcoded variables from githubissue.py\n    * Use only one script for both tasks. Or use a master script to handle both\n        * Have a single config file for both\n    * Allow creating a commit and formatting a patch using the staging area of\n      git.\n\nAuthors\n=======\n\nDarshit Shah  \u003cdarnir@gmail.com\u003e\n\nLicense\n=======\n\nMIT License., If you face any licensing issues, please contact me directly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarnir%2Fscaling-octo-bugfixes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarnir%2Fscaling-octo-bugfixes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarnir%2Fscaling-octo-bugfixes/lists"}