View Single Post
05-30-09, 08:02 PM   #58
Tekkub
A Molten Giant
 
Tekkub's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 960
Originally Posted by Alfuin View Post
I like to make slight personal edits of some addons, to customize them to my needs, and now I have to go through those addons again.
You're an addon author, so you should be used to version control... here's what I do:

* Install the "pure" addon, make it a git repo, commit with the version number for the note
* Make another branch named "mine", check it out
* Make my tweaks, commit them

Then when the author updates...
* Checkout master
* Download update
* Commit with version number
* Checkout mine
* Merge master

Unless there's a direct conflict, I never have to go around re-applying all my tweaks, and the minionion sees that it's a git repo and ignores it.

Another option, of course, would be to make a second addon, set it to LoadWith the the original, and apply the tweaks to the addon on load. Might not work for all stuff though, but is probably a better approach if possible.
__________________
I have reached enlightment.
Thank you bacon!
  Reply With Quote