WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   News (https://www.wowinterface.com/forums/forumdisplay.php?f=5)
-   -   WoWInterface Git Repository (https://www.wowinterface.com/forums/showthread.php?t=38372)

Cairenn 01-13-11 07:07 PM

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.

Xruptor 01-14-11 07:15 AM

Woot git! :banana: Thanks for all the hard work Dolby and all the others have done to give this great service to addon authors at wowinterface.com.

dafire 01-14-11 08:48 AM

very nice :)

evonder 01-15-11 05:19 PM

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.

Cynyr 01-16-11 06:29 PM

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.

Dolby 01-16-11 06:46 PM

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.

Dolby 01-16-11 06:47 PM

Quote:

Originally Posted by evonder (Post 226813)
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.

Cynyr 01-16-11 07:19 PM

Quote:

Originally Posted by Dolby (Post 226883)
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.

Xruptor 01-17-11 11:49 AM

Thanks for all the hard work into the GIT repository Dolby. Your doing a great job!

Dolby 01-17-11 09:47 PM

Quote:

Originally Posted by Xruptor (Post 226947)
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

Tekkub 01-18-11 01:01 AM

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?

evonder 01-29-11 06:18 PM

Quote:

Originally Posted by Dolby (Post 226884)
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.

Cladhaire 10-13-11 02:42 AM

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.

Torhal 10-13-11 08:10 AM

I'll participate in the Thread Necromancy! The list of substitutions can be found here.

Cladhaire 10-13-11 08:59 AM

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.

Kaelten 10-13-11 01:10 PM

We'd be happy to clarify any of the substitutions. :)


All times are GMT -6. The time now is 06:08 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI