Quantcast WoWInterface Git Repository - WoWInterface
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,111
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: 121
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 @[email protected]? 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,252
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,252
Originally Posted by evonder View Post
Can we expect anymore Git keyword substitutions other than @[email protected]? 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-16-11, 07:19 PM   #8
Cynyr
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 9
Originally Posted by Dolby View Post
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.
Aha! thanks for that, I skimmed the FAQ too quickly.
  Reply With Quote
01-17-11, 11:49 AM   #9
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 121
Thanks for all the hard work into the GIT repository Dolby. Your doing a great job!
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
  Reply With Quote
01-17-11, 09:47 PM   #10
Dolby
PPAP
 
Dolby's Avatar
WoWInterface Admin
Join Date: Feb 2004
Posts: 2,252
Originally Posted by Xruptor View Post
Thanks for all the hard work into the GIT repository Dolby. Your doing a great job!
Couldn't have done it with out all the help from Cladhaire.

Thanks
  Reply With Quote
01-18-11, 01:01 AM   #11
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured
Join Date: Dec 2005
Posts: 960
Very *very* nice, I think I can finally nix my fancy packaging and uploading script in favor of a tag, push and build. Is there a nice simple API for us to hit to trigger a build... or can we set it to automatically build all tags when they're pushed?
__________________
I have reached enlightment.
Thank you bacon!
  Reply With Quote
01-29-11, 06:18 PM   #12
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:

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
10-13-11, 02:42 AM   #13
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
We could possibly add these, but without knowing precisely what substitutions Curse is doing, they may not match what's being done on the other side. I don't know if that's a problem for you. Also, "all files" isn't descriptive at all, there's no sense in us scanning .tga files for substitution, so it would be better if you could be more specific.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
10-13-11, 08:10 AM   #14
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
I'll participate in the Thread Necromancy! The list of substitutions can be found here.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
10-13-11, 08:59 AM   #15
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Yes but the semantics of when they're being replaced and what they're being replaced is not exactly clear, especially for someone who needs to implement this sort of keyword substitution.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
10-13-11, 01:10 PM   #16
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 782
We'd be happy to clarify any of the substitutions.
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
  Reply With Quote

WoWInterface » Site Forums » News » WoWInterface Git Repository

Thread Tools
Display Modes

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