Thread Tools Display Modes
01-13-11, 07:07 PM   #1
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
WoWInterface Git Repository

WowInterface.com has recently added support for git repositories for addon developers. This allows you to now choose between Git and SVN, using whichever version control system you are most comfortable with.

The Git system works in a very similar way to the SVN system that you may already be familiar with. You can create repositories for projects that already exist or you can even create a development repository for an unreleased addon, creating the actual addon project later on. You can push new files from the web interface, allowing you to easily package up new versions of your addon without any fuss or mess.

You can check out our FAQ for it here.
  Reply With Quote
01-14-11, 07:15 AM   #2
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 137
Woot git! Thanks for all the hard work Dolby and all the others have done to give this great service to addon authors at wowinterface.com.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
  Reply With Quote
01-14-11, 08:48 AM   #3
dafire
Premium Member
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 216
very nice
  Reply With Quote
01-15-11, 05:19 PM   #4
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 2
Can we expect anymore Git keyword substitutions other than @project-version@? also will it only be limited to .toc files or will this be expanded in the future?

Thanks for all the work so far.
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
  Reply With Quote
01-16-11, 06:29 PM   #5
Cynyr
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 9
existing repos

So do I need to do anything to my existing repos, or can i just add a remote and push to it?

Code:
git remote add ${NAME} ${URI AS SHOW IN GIT CONTROL INTERFACE}
git push ${NAME} master
the code above seems to be working.

Is there a way to remove git from an addon, should the author want to stop using git?

Also, shouldn't the generate zip thing prefix the addon name to the path? like "foo/foo.toc"?
Code:
git archive --prefix="${name}/" -o ${name}-${tag}.zip ${tag}
Otherwise, this is awesome. I'll no longer have to rely on linking to github for "experimental" builds.
  Reply With Quote
01-16-11, 06:46 PM   #6
Dolby
PPAP
 
Dolby's Avatar
WoWInterface Admin
Join Date: Feb 2004
Posts: 2,341
You can remove a git by PMing an admin with the git name (just like SVN or even removing an addon).

You set your own prefix in the misc options. Should be in the FAQ.

Last edited by Dolby : 01-16-11 at 06:49 PM.
  Reply With Quote
01-16-11, 06:47 PM   #7
Dolby
PPAP
 
Dolby's Avatar
WoWInterface Admin
Join Date: Feb 2004
Posts: 2,341
Originally Posted by evonder View Post
Can we expect anymore Git keyword substitutions other than @project-version@? also will it only be limited to .toc files or will this be expanded in the future?

Thanks for all the work so far.
What other keyword subs would you like to see? I believe its limited to the .toc but will ask Clad to make sure.
  Reply With Quote
01-29-11, 06:18 PM   #8
evonder
A Defias Bandit
 
evonder's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 2
Originally Posted by Dolby View Post
What other keyword subs would you like to see? I believe its limited to the .toc but will ask Clad to make sure.
I would like to be able to commit to both here and WowAce but don't want to keep two local copies. I don't like asking that you copy WowAce but here are the keywords I personally use:

Code:
@project-author@
@file-author@
@project-date-iso@
@file-abbreviated-hash@
I use these across all files too not just .toc's so it would be nice to have substitutions work with them too.
__________________
Author: TradeFilter, CheckFearWard, Bloodsurge and more
  Reply With Quote

WoWInterface » Site Forums » News » WoWInterface Git Repository


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off