Skip to content

Commit

Permalink
Add script to get wrong mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Jan 23, 2023
1 parent ccea762 commit e9fe8ad
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
35 changes: 15 additions & 20 deletions .github/raycast2github.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
"heerthees": "heertheeswaran",
"KevinBatdorf": "KevinBatdorf",
"indykoning": "indykoning",
"eth0": "indykoning",
"aglipanci": "indykoning",
"eth0": "Erth0",
"aglipanci": "aglipanci",
"danyelkeddah": "danyelkeddah",
"rocksack": "Gitsack",
"dorukgunes": "dorukgunes",
Expand Down Expand Up @@ -204,7 +204,6 @@
"shubham": "ShubhamVerma1811",
"rkusa": "rkusa",
"peter-gy": "peter-gy",
"dre": "andreaselia",
"macbookandrew": "macbookandrew",
"DavidPascaud": "Dpblandin",
"Alex_": "AlexVanderbist",
Expand Down Expand Up @@ -264,7 +263,7 @@
"vishaltelangre": "vishaltelangre",
"dillionverma": "dillionverma",
"Flatroy": "Flatroy",
"nametake": "vishaltelangre",
"nametake": "nametake",
"Isaiah-Hamilton": "Isaiah-Hamilton",
"suth": "suth",
"dteare": "dteare",
Expand All @@ -273,7 +272,7 @@
"iammola": "iammola",
"robertguss": "robertguss",
"bjarocki": "BartoszJarocki",
"parabol": "BartoszJarocki",
"parabol": "parabol",
"Slus": "suarez-agu",
"danielbahl": "danielbahl",
"MiracleXYZ": "MiracleXYZ",
Expand All @@ -282,7 +281,7 @@
"francisfeng": "francisfeng",
"adambutler": "adambutler",
"gumbleliks": "gumbleliks",
"cy-98": "macbookandrew",
"cy-98": "cy-98",
"absir1949": "absir1949",
"dima-m711": "dima-m711",
"mohitkyadav": "mohitkyadav",
Expand All @@ -293,13 +292,13 @@
"fahl": "maxfahl",
"ThatNerd": "ThatNerdSquared",
"rickMcGavin": "rickMcGavin",
"sawhney17": "futantan",
"sawhney17": "sawhney17",
"kenan": "Kenan7",
"dru89": "Dru89",
"xeric": "xeric",
"alexstrnik": "AlexStrNik",
"djpowers": "djpowers",
"mafredri": "kudrykv",
"mafredri": "mafredri",
"reloadedhead": "reloadedhead",
"louison": "louison",
"danielroe": "danielroe",
Expand Down Expand Up @@ -364,7 +363,7 @@
"GastroGeek": "GastroGeek",
"sedghi": "sedghi",
"tiulpin": "tiulpin",
"skoch13": "tiulpin",
"skoch13": "skoch13",
"jonohewitt": "jonohewitt",
"itsmingjie": "itsmingjie",
"maximkrouk": "maximkrouk",
Expand All @@ -383,7 +382,7 @@
"JinShi": "404J",
"MaxLeiter": "MaxLeiter",
"devahschaefers": "devahschaefers",
"ploi-deploy": "Cannonb4ll",
"ploi-deploy": "ploi-deploy",
"robertn702": "robertn702",
"basil": "gBasil",
"dgrcode": "dgrcode",
Expand Down Expand Up @@ -415,7 +414,7 @@
"willian": "willianhf",
"gregskril": "gskril",
"daikaiyu": "daikaiyu",
"robert": "pindab0ter",
"robert": "robertvanhoesel",
"pindab0ter": "pindab0ter",
"HelloImSteven": "SKaplanOfficial",
"PineappleRind": "PineappleRind",
Expand Down Expand Up @@ -450,7 +449,7 @@
"Idered": "Idered",
"raffeyang": "raffeyang",
"islamessam": "zOxta",
"diokhan": "hmarr",
"diokhan": "diokhan",
"http.james": "httpjamesm",
"yemilgr": "yemilgr",
"evilhex": "techvlad",
Expand Down Expand Up @@ -482,7 +481,6 @@
"MatthewStanciu": "MatthewStanciu",
"niall-maloney": "niall-maloney",
"mackopes": "mackopes",
"vladinski": "VladCuciureanu",
"aerobless": "aerobless",
"pyronaur": "pyronaur",
"ipiranhaa": "ipiranhaa",
Expand All @@ -492,7 +490,7 @@
"piotrzaborow": "piotrzaborow",
"ViGeng": "ViGeng",
"felixthehat": "blackspike",
"bfirsh": "KevinBatdorf",
"bfirsh": "bfirsh",
"felixhaeberle": "felixhaeberle",
"frugoman": "frugoman",
"AnishDe12020": "AnishDe12020",
Expand All @@ -504,16 +502,13 @@
"ChrisKohler": "ChristianKohler",
"ronglecat": "RongleCat",
"rude": "rudeayelo",
"SeanKeenan-Airtable": "marks",
"SeanKeenan-Airtable": "SeanKeenan-at",
"marks": "marks",
"emircanerkul": "emircanerkul",
"yoyoyeti": "yoyoyeti",
"hughlaw": "hughlaw",
"axp-dev": "axp-dev",
"pantajoe": "pantajoe",
"Jax0rz": "raffeyang",
"torben030": "haackt",
"haackt": "haackt",
"cheslip": "cheslip",
"yossizahn": "yossizahn",
"cpenned": "cpenned",
Expand Down Expand Up @@ -544,14 +539,14 @@
"bascomb": "bascomb",
"mhossain": "itsrifat",
"jasonbarry": "jasonbarry",
"philibea": "flozdra",
"philibea": "philibea",
"enkia": "enkia",
"noppefoxwolf": "noppefoxwolf",
"elijahs": "elijah-scott",
"popalay": "Popalay",
"adelowo": "adelowo",
"bix": "m-hall",
"0xChain": "VishwasShashidhar",
"0xChain": "Spl0itable",
"VishwasShashidhar": "VishwasShashidhar",
"zan": "cernezan",
"ewgenius": "ewgenius",
Expand Down
19 changes: 19 additions & 0 deletions scripts/find-wrong-raycast-to-github-mapping.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env node

const path = require("path");
const mapping = require("../.github/raycast2github.json");

const duplicated = {};
Object.entries(mapping).forEach(([raycast, github]) => {
if (duplicated[github]) {
duplicated[github].push(raycast);
} else {
duplicated[github] = [raycast];
}
});

Object.entries(duplicated).forEach(([github, raycasts]) => {
if (raycasts.length > 1) {
console.log(`${github} is duplicated in ${raycasts.join(", ")}`);
}
});

0 comments on commit e9fe8ad

Please sign in to comment.