I've migrated all my scripts from SVN on sourceforge to GIT on github.
Advantages of this:
- I can have a README.md - documentation - for each script.
- Instead of a "To Do" list inside the script, I can create Issues at github.
- You can still make suggestions on the threads here, but you can also open Issues to propose things. Be warned that I'm not used to that, so we'll see how often I respond, but the advantage is that unanswered suggestions will no longer disappear into previous pages of the forum thread.
- I'm open to user-authored pull requests - but you have to match my preferred code style, at least.
I will update the threads I have for each of them, but I figured I'd discuss this a bit here, since I will no longer be pushing updates to sourceforge, and I suggest you uninstall the SVN versions and install the GIT versions so that you can use "git update".
I did not transfer over the revision history because I sort of screwed up when I launched them on sourceforge: they were all under a single repository, so a change to any of them bumped the version number of all of them. That will no longer be the case; a change to VeracityMeatFarm will no longer "require" an update to the (unchanged) VeracitySpacegate script.
By and by, I will update the Script Registry to have the new repositories in place of the old ones.
If you have personal changes to any of my scripts, you'll be able to modify the script in the local git directory and updates from me should merge, just as they do for SVN, thanks to Ryo_Sangnoir's recent work.
So, I suggest the following:
For each script of mine you have installed:
1) (If you have local changes, stash the file somewhere)
2) From Script Manager, Delete the installed script -> make sure you have r27304 of KoLmafia first!
3) From the gCLI, Install the migrated script
4) (If you have local changes, merge them.)
5) (Save the merged files in your local git repository under the "git" directory.)
Scripts:
vprops.ash
This is a dependency for almost all of my other scripts. Delete the SVN version of this script before updating any other script, since they will install the GIT version and if you try to delete it later, it will disappear from your "scripts" folder.
vcon.ash
This is a dependency of VeracityMeatFarm. Delete the SVN version of this script before installing the GIT version of that script.
VeracityMeatFarm.ash
I added some changes to this which you will have to merge: For all external scripts that it calls, it checks for either a SVN or GIT version to see if it is installed. That includes both my scripts and "combo". I call the same function to check Ezandora's scripts, although they have not yet announced git access. That should be easy to fix, since they are hosted on github.
Garden Harvester.ash
I have some local changes for the Rock Garden which are incomplete. That will be an upcoming (soon) update.
Gingerbread City.ash
BeachComber.ash
Arrrbor Day.ash
VeracitySpacegate.ash
Spacegate Sounds
This depends on Ezandora's Choice-Override relay script utility.
I have verified that you can install that using git.
I have not yet changed the dependencies.txt to do it that way.
I'll be looking at that soon.
Advantages of this:
- I can have a README.md - documentation - for each script.
- Instead of a "To Do" list inside the script, I can create Issues at github.
- You can still make suggestions on the threads here, but you can also open Issues to propose things. Be warned that I'm not used to that, so we'll see how often I respond, but the advantage is that unanswered suggestions will no longer disappear into previous pages of the forum thread.
- I'm open to user-authored pull requests - but you have to match my preferred code style, at least.
I will update the threads I have for each of them, but I figured I'd discuss this a bit here, since I will no longer be pushing updates to sourceforge, and I suggest you uninstall the SVN versions and install the GIT versions so that you can use "git update".
I did not transfer over the revision history because I sort of screwed up when I launched them on sourceforge: they were all under a single repository, so a change to any of them bumped the version number of all of them. That will no longer be the case; a change to VeracityMeatFarm will no longer "require" an update to the (unchanged) VeracitySpacegate script.
By and by, I will update the Script Registry to have the new repositories in place of the old ones.
If you have personal changes to any of my scripts, you'll be able to modify the script in the local git directory and updates from me should merge, just as they do for SVN, thanks to Ryo_Sangnoir's recent work.
So, I suggest the following:
For each script of mine you have installed:
1) (If you have local changes, stash the file somewhere)
2) From Script Manager, Delete the installed script -> make sure you have r27304 of KoLmafia first!
3) From the gCLI, Install the migrated script
4) (If you have local changes, merge them.)
5) (Save the merged files in your local git repository under the "git" directory.)
Scripts:
vprops.ash
Code:
git checkout Veracity0/vprops
This is a dependency for almost all of my other scripts. Delete the SVN version of this script before updating any other script, since they will install the GIT version and if you try to delete it later, it will disappear from your "scripts" folder.
vcon.ash
Code:
git checkout Veracity0/vcon
This is a dependency of VeracityMeatFarm. Delete the SVN version of this script before installing the GIT version of that script.
VeracityMeatFarm.ash
Code:
git checkout Veracity0/meat-farm
I added some changes to this which you will have to merge: For all external scripts that it calls, it checks for either a SVN or GIT version to see if it is installed. That includes both my scripts and "combo". I call the same function to check Ezandora's scripts, although they have not yet announced git access. That should be easy to fix, since they are hosted on github.
Garden Harvester.ash
Code:
git checkout Veracity0/garden
I have some local changes for the Rock Garden which are incomplete. That will be an upcoming (soon) update.
Gingerbread City.ash
Code:
git checkout Veracity0/gingerbread
BeachComber.ash
Code:
git checkout Veracity0/beach
Arrrbor Day.ash
Code:
git checkout Veracity0/arrrbor-day
VeracitySpacegate.ash
Code:
git checkout Veracity0/spacegate
Spacegate Sounds
Code:
git checkout Veracity0/spacegate-sounds
This depends on Ezandora's Choice-Override relay script utility.
I have verified that you can install that using git.
I have not yet changed the dependencies.txt to do it that way.
I'll be looking at that soon.