{"id":15704157,"url":"https://github.com/markerikson/git-js-repo-history-conversion-utils","last_synced_at":"2025-10-24T17:40:38.753Z","repository":{"id":83606651,"uuid":"158029584","full_name":"markerikson/git-js-repo-history-conversion-utils","owner":"markerikson","description":"Scripts for rewriting Git repo history and transforming JS source to ES6+","archived":false,"fork":false,"pushed_at":"2018-11-17T22:53:54.000Z","size":52,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T16:47:20.232Z","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/markerikson.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":"2018-11-17T22:17:47.000Z","updated_at":"2023-08-08T23:32:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2893ae9-556e-4fb8-a83a-05536961898b","html_url":"https://github.com/markerikson/git-js-repo-history-conversion-utils","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"2f3d3102fba9777fcdc06b12637ee2373ec668ca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markerikson/git-js-repo-history-conversion-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markerikson%2Fgit-js-repo-history-conversion-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markerikson%2Fgit-js-repo-history-conversion-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markerikson%2Fgit-js-repo-history-conversion-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markerikson%2Fgit-js-repo-history-conversion-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markerikson","download_url":"https://codeload.github.com/markerikson/git-js-repo-history-conversion-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markerikson%2Fgit-js-repo-history-conversion-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261169094,"owners_count":23119478,"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-03T20:10:34.482Z","updated_at":"2025-10-24T17:40:33.711Z","avatar_url":"https://github.com/markerikson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git and JS History Conversion Tools\n\nThese tools accompany my blog post [Rewriting Your Git History and JS Source for Fun and Profit](https://blog.isquaredsoftware.com/2018/11/git-js-history-rewriting/).\n\nThey are a slightly sanitized version of the scripts that I used to rewrite our Git repository, by converting all AMD/ES5 code to ES6 module syntax, and auto-formatting all JS and Python source throughout the entire history of the repository.\n\nIf you actually wanted to use this:\n\n**Setup**\n1. Tweak paths as needed:\n    1. Edit `repoFilterUtils.py` to define the source repo and output repo paths\n    2. Edit `js-codemods/transformJSFile.js` and fix the path to a temp folder for writing errors to disk\n2. Use `yarn` to install the JS dependencies under `js-codemods/`\n3. Install Black and Requests into your system's Python3 location\n\n**Running**\n\n1. Run `node js-codemods/jsTransformServer` in a separate shell.\n2. Run `python3 cloneAndProcessRepo.py` to kick this off.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkerikson%2Fgit-js-repo-history-conversion-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkerikson%2Fgit-js-repo-history-conversion-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkerikson%2Fgit-js-repo-history-conversion-utils/lists"}