FelixRDL / Anonymize-Repo-Authors

Small tool used for stripping off author identities from git projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anonymize Repo Authors

This little tool was created for my Master's Thesis in order to clear out any personal information from git log history and replacing them with funky animal names!

Prerequisites

  • git installation
  • npm/node installation

How to use

  • Create a repos.txt, in which you collect repository names (such as $REPOOWNER/$REPONAME)
  • Execute npm run lsauthors
  • Open the file authors.idd.json and manualy unify associated author aliases by replacing the E-Mail Address with a number
    • Look out for duplicate entries in dupes.json
  • Run npm run aliasize to create authors.aliased.json
  • Run npm run anonymize to anonymize pulled repositories with alias file
  • Now you can push the altered repositories to an empty repository
  • The End!

About

Small tool used for stripping off author identities from git projects


Languages

Language:JavaScript 100.0%