Programming How to contribute to the site code

Status
Not open for further replies.

Cathy

Banned deucer.
The code that smogon.com runs on is publicly available (excluding the forum, which is vBulletin) and we encourage you to contribute to improving the site infrastructure.

To get a development environment set up, follow the instructions in this thread. If you have questions about setting up the development environment, post in that thread. For information on how to use the Smogon framework itself, see this thread.

Once you've made some changes to the site code, and want to contribute them, you must export those changes as an svn patch. Using the command-line svn client, change into the base svn directory and try

Code:
svn diff > ~/smogon-patch.txt
If you use a graphical svn client, you will have to find the export diff option in its menus.

Send your patch via email to one of the maintainers listed below, and also send that person a PM on the forums. That person will vet your patch and give you feedback as required.

Some simple projects that you could implement for the site:
  • Adding a mechanism to specify a category for each item, and to allow sorting items by their category.
  • Minor tweaks to the pokedex pages for Little Cup pokemon.
  • Last edited data for analyses
  • Add Tier tabs for Pokemon that work in more than one tier.
  • More to be listed
If you have an idea for something to implement not in the above list, post a thread about it before getting started, in case it turns out we don't need it at this time.

Site code maintainers:
As mentioned above, if you want to submit a patch, send it via PM to one of these people.

  • Articuno64

If you have further questions about the logistics of how to contribute, please post.
 

Seven Deadly Sins

~hallelujah~
is a Site Content Manager Alumnusis a Forum Moderator Alumnusis a Tiering Contributor Alumnusis a Top Contributor Alumnusis a Top Smogon Media Contributor Alumnusis a Battle Simulator Moderator Alumnus
I'm working on getting the Pokedex tweaks for LC working.

In the future, since we're going to have manually editable XML files as teams and (possibly) boxes for SB2, I'm looking into parsing analyses into teamfiles (being able to choose a combination of 6 analysis sets and automatically generate a team file), or creating a "box" for each Pokemon to make things more immediately and readily available.

Also, something similar to the Marriland Team Builder would be nice, simply because it's often useful to be able to see common weaknesses/resistances at a glance.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top