{"id":16062650,"url":"https://github.com/mte90/wp-trac-stats","last_synced_at":"2025-04-19T12:48:03.777Z","repository":{"id":143335177,"uuid":"475543057","full_name":"Mte90/wp-trac-stats","owner":"Mte90","description":"Statistics from core.trac.wordpress.org","archived":false,"fork":false,"pushed_at":"2023-04-02T13:10:42.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T14:48:04.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mte90.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-29T17:09:56.000Z","updated_at":"2023-01-06T08:16:17.000Z","dependencies_parsed_at":"2023-04-09T06:19:59.029Z","dependency_job_id":null,"html_url":"https://github.com/Mte90/wp-trac-stats","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/Mte90%2Fwp-trac-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2Fwp-trac-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2Fwp-trac-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mte90%2Fwp-trac-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mte90","download_url":"https://codeload.github.com/Mte90/wp-trac-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249201117,"owners_count":21229004,"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-09T04:41:36.580Z","updated_at":"2025-04-16T05:31:28.404Z","avatar_url":"https://github.com/Mte90.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Trac Stats\n[![License](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)   \n\nA way to understand how much the core contributions to WordPress impact with numbers to contributors experience.\n\nCheck the blog post for the [full analysis 2022 edition](https://daniele.tech/wordpress-core-contributions-by-tickets-numbers/), [2023 edition](https://daniele.tech/2023/04/wordpress-core-contributions-by-tickets-numbers-2023-edition)!\n\n## How to use it\n\nRequires PHP CLI available in the machine and a shell.\n\n### 1st step\n\n`./total-for-months.php`\n\nIt will generate the `total-for-months.csv` file (already available in the repo to avoid multiple requests to the server).  \nThe script take on average 16 minutes considering when is not crashing because the Trac WordPress server reject a single request.\n\n### 2nd step\n\n```\nwget -O tickets.csv \"https://core.trac.wordpress.org/query?status=accepted\u0026status=assigned\u0026status=closed\u0026status=new\u0026status=reopened\u0026status=reviewing\u0026format=csv\u0026col=id\u0026col=summary\u0026col=status\u0026col=owner\u0026col=type\u0026col=priority\u0026col=milestone\u0026col=component\u0026col=version\u0026col=time\u0026col=changetime\u0026col=resolution\u0026col=reporter\u0026col=keywords\u0026order=time\"\n```\n\nThis command will download the whole tickets collection (excluding the hidden for security reasons and spam removed during the years).  \n**Also the \"Last Modified date/changetime\" doesn't means the closed date** as it is not possible to get this value from the export of [Trac](https://trac.edgewall.org/).\n\n### 3rd step\n\n`./tickets-analysis.php \u003e report.txt`\n\n## Where are the JSONs?\n\nAfter executing the script in the json folder you will find them.\n\n## TODO (maybe)\n\n* Script to generate analysis using https://github.com/WordPress/wordpress-develop/graphs/contributors automatically\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmte90%2Fwp-trac-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmte90%2Fwp-trac-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmte90%2Fwp-trac-stats/lists"}