Rinn
Developer
To prepare for github dropping svn support I've been thinking about how to deal with repos that don't update and the dependencies will no longer be able to be resolved and how we could work around that. I'd like some feedback before I make any additional changes.
I was thinking to add something like a property "remapScriptDependency" (or a data file? a property could get incredibly unwieldy due to the length), which is a comma separated list of kvp pairs that will be replaced when trying to install dependencies if one of the dependencies matches exactly which would allow you to use git instead or even remap it to a different repo entirely if the script needs to be forked.
For example https://github.com/Ezandora/Genie depends on an svn install https://github.com/Ezandora/Choice-Override/branches/Release/ which could be installed with git, and with a remapping I can change it to instead install the dependency with git:
I was thinking to add something like a property "remapScriptDependency" (or a data file? a property could get incredibly unwieldy due to the length), which is a comma separated list of kvp pairs that will be replaced when trying to install dependencies if one of the dependencies matches exactly which would allow you to use git instead or even remap it to a different repo entirely if the script needs to be forked.
For example https://github.com/Ezandora/Genie depends on an svn install https://github.com/Ezandora/Choice-Override/branches/Release/ which could be installed with git, and with a remapping I can change it to instead install the dependency with git:
Code:
> set remapScriptDependency=https://github.com/Ezandora/Choice-Override/branches/Release/=github Ezandora/Choice-Override Release
remapScriptDependency => https://github.com/Ezandora/Choice-Override/branches/Release/=github Ezandora/Choice-Override Release
> git checkout Ezandora/Genie Release
Starting
remote: Enumerating objects
Receiving objects
Resolving deltas
Updating references
Checking out files
Copying: scripts/genie.ash
Copying: images/genie/genie_shaq_colour.png
Copying: images/genie/genie_shaq.png
Copying: relay/genie.js
Copying: relay/choice.1267.ash
Installing dependencies
Starting
remote: Enumerating objects
remote: Counting objects
remote: Compressing objects
Receiving objects
Resolving deltas
Updating references
Checking out files
Copying: relay/choice.example.ash
Copying: relay/choice.ash
Cloned project Ezandora-Choice-Override-Release
Cloned project Ezandora-Genie-Release
Last edited: