Allow Cog Creators to override the repository name present in Index installation commands #134
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows for Cog Creator to specify the
name
key in their repository'sinfo.json
file, to override the name retrieved from the repository's URL. This changes the repository install command listed underneath cog descriptions on the Index.For example, the repository install command for
https://coastalcommits.com/Sea/Cogs
on the Index would change from:repo add cogs https://coastalcommits.com/Sea/Cogs
torepo add SeaCogs https://coastalcommits.com/Sea/Cogs
.I've compiled a list of repositories that would be affected by this change below (small changes like capitalization differences or a missing/present
-
won't be listed here):cogs
->SeaCogs
discord_cogs
->Malarne - discord_cogs
mr42-cogs
->Mr42
Toxic-Cogs
->Toxic Cogs
predacogs
->Predä Cogs
Jumper-Plugins
->JumperCogs
Flare-Cogs
->Flare's Cogs
Flapjack-Cogs
->FlapJack Cogs
pokecord-red
->Pokecord
bounty-cogs
->cray-cogs.
cray-cogs
->cray-cogs.
kennnyshiwa-cogs
->Kennnyshiwa's Cogs
FalcomBot-cogs
->Falcogs
palmtree5-cogs
->palmtree5's cogs
phen-cogs
->Phen-Cogs.
wizard-cogs
->Space Wizards Cogs
tmerc-cogs
->tmerc cogs