{"id":16752837,"url":"https://github.com/luser/firefox-rust-committers","last_synced_at":"2025-07-28T22:37:10.405Z","repository":{"id":137589884,"uuid":"172756181","full_name":"luser/firefox-rust-committers","owner":"luser","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-26T17:32:15.000Z","size":2179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T05:22:15.656Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-26T17:18:18.000Z","updated_at":"2019-02-26T17:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce873442-f5f5-4582-b563-c016ff0cb5d9","html_url":"https://github.com/luser/firefox-rust-committers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luser/firefox-rust-committers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luser%2Ffirefox-rust-committers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luser%2Ffirefox-rust-committers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luser%2Ffirefox-rust-committers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luser%2Ffirefox-rust-committers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luser","download_url":"https://codeload.github.com/luser/firefox-rust-committers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luser%2Ffirefox-rust-committers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267598456,"owners_count":24113636,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T02:48:17.465Z","updated_at":"2025-07-28T22:37:10.372Z","avatar_url":"https://github.com/luser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Firefox committers touching Rust code\n=====================================\n\nThis repository contains data about the number of Rust vs. C/C++ commits\nand commit authors in Firefox and instructions for reproducing the output. [See the output here.](https://luser.github.io/firefox-rust-committers/)\n\n\nInstructions\n============\n\n1. Clone the [`mozilla-central`](https://hg.mozilla.org/mozilla-central) Mercurial repository:\n\n   `hg clone https://hg.mozilla.org/mozilla-central`\n2. Clone the [`version-control-tools`](https://hg.mozilla.org/hgcustom/version-control-tools/) repository:\n\n   `hg clone https://hg.mozilla.org/hgcustom/version-control-tools/`\n3. Enable the `mozext` and `firefoxtree` extensions in `.hgrc`:\n\n   ```\n   [extensions]\n   mozext = /path/to/version-control-tools/hgext/mozext\n   firefoxtree = /path/to/version-control-tools/hgext/firefoxtree\n   ```\n\n4. Sync pushlog data:\n\n   ```\n   hg pushlogsync\n   ```\n\n5. Run queries (in mozilla-central clone):\n\n   ```\n   # List all commits that touched files ending in .rs.\n   TZ=UTC hg log -r 'filelog(\"glob:**.rs\")' --template '{firstpushdate|hgdate},{author|email},{node|short}\\n' \u003e firefox-rust-committers.csv\n   # List all commits that touched files ending in C/C++ file extensions,\n   # starting from 2015-05-09, when the first Rust code landed in Firefox.\n   TZ=UTC hg log -r 'filelog(\"re:\\.(c|cpp|cc|m|mm|h)\") \u0026 firstpushdate(\"\u003e2015-05-09\")' --template '{firstpushdate|hgdate},{author|email},{node|short}\\n' \u003e firefox-cpp-committers.csv\n   ```\n\n6. Create virtualenv:\n\n   ```\n   virtualenv venv\n   . venv/bin/activate\n   pip install arrow plotly\n   ```\n\n7. Run script to generate graphs:\n\n   ```\n   python committers.py firefox-rust-committers.csv firefox-cpp-committers.csv docs/index.html\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluser%2Ffirefox-rust-committers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluser%2Ffirefox-rust-committers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluser%2Ffirefox-rust-committers/lists"}