Register new account
== Can anyone get a repository? == As long as you have an account on the Curse Network and are able to get a project approved, you'll be able to get your own repository. == How do I get my own code repository? == # Create a project if you haven't already, wait for an admin to approve your project. # On your project page, you should go to Repository Actions -> Edit Repository. # For "Repository Type", select the one you want. Currently Subversion, Git, and Mercurial are supported. # In "Package As", but the name of your project's main folder. For World of Warcraft, this will be the same as your Addon's TOC. # Wait roughly a minute, and your repository should be created. == How do I actually use my repository now? (Subversion) == # Go to [http://www.curseforge.com/users/current-profile/repository-authorization/edit/] # You have the option of using a simple SVN password. SSH keys are far more secure, but harder to set up. # Put in either your SVN password or SSH public key (or both). # Go to your project page and it will list your "Public url" and "Development url". If you supplied an SSH pubkey, you'll use the "Development url". Otherwise, you will use the "Public url". # Check out the repository as stated above. # Add in your files and try to commit. If you are using the "Public url" and SVN password, it should ask you for your username and password. Your username is your CurseForge login '''in lowercase'''. e.g. if your username is "HappyMan", your SVN username will be "happyman". == How do I actually use my repository now? (Git) == # Go to [http://www.curseforge.com/users/current-profile/repository-authorization/edit/] # Put in your SSH public key. # Go to your project page and it will list your "Development url". This is what you will be pushing to. ''Note: You can't clone this repository if it's empty, you have to push to it first.'' # <tt>mkdir MyProject</tt> (Or whatever your project's name is) # <tt>cd MyProject</tt> # <tt>git init</tt> # <tt>git remote add origin email@example.com:wow/my-project/mainline.git</tt> (Whatever your "Development url" actually is) # Add whatever files you want, commit it locally # <tt>git push origin master:refs/heads/master</tt> # Add some more files, commit locally # <tt>git push</tt> (You only have to do this from now on) == How do I actually use my repository now? (Mercurial) == # Go to [http://www.curseforge.com/users/current-profile/repository-authorization/edit/] # Put in your SSH public key. # Go to your project page and it will list your "Development url". This is what you will be pushing to. # <tt>hg clone ssh://hg.curseforge.net/wow/my-project/mainline MyProject</tt> (Replace with your "Development url" and project name) # <tt>cd MyProject</tt> # Edit whatever files you want, commit locally # <tt>hg push</tt> == How do I get the packager to make a release or beta == You need to create a tag with your repository. === Subversion === Something along the lines of svn cp svn://svn.curseforge.net/wow/my-project/mainline/trunk svn://svn.curseforge.net/wow/my-project/mainline/tags/v0.1 -m "Tagging as v0.1" Except replace <tt>svn://svn.curseforge.net/wow/my-project/mainline</tt> with your repository url and <tt>v0.1</tt> with the tag you want. === Git === cd MyProject git tag -a v0.1 -m "Tagging as v0.1" git push --tags === Mercurial === hg tag -m "Tagging as v0.1" v0.1 hg push === Through the website === Go to [http://wow.curseforge.com/projects/cartographer3/repositories/mainline/create-tag/], put in the name you want, and it will tag it for you. == How does the packager know whether a tag is a release or a beta? == It checks if the tag name matches the regex <tt>^v?[0-9\.\-_]+$|release|stable</tt>. In layman's terms, it is a release if either: * It optionally starts with "v" and has only numbers, dots, dashes, or underscores. * It has 'release' in the name * It has 'stable' in the name == How can I specify externals? (a.k.a. embeds/libraries) == See [http://www.curseforge.com/projects/curseforge/pages/pkgmeta-file/] == I tagged my project, but I don't see a file made! == Relax. The packager only runs on set intervals (approximately every 20 minutes), at which point it packages any new tags that were created since its last run. If you tag your project, give it up to 30 minutes or so (on the outside) to build the zip. Changes to packager settings won't affect whether the packager detects a tag or not - only whether it actually packages it. If you change your packager settings before a tag is built, the new packager settings will be in effect when it goes to build the tag. There's no need to recommit a tag if you change your packaging settings, unless the tag was already built.
The type of markup for this entry.
Click here for details
Curse Wiki (Deprecated)