1. The moderator of this forum is OrdA.
  2. Welcome to Smogon Forums! Please take a minute to read the rules.
  3. Click here to ensure that you never miss a new SmogonU video upload!

Programming How to contribute to the site code

Discussion in 'Technical Projects' started by Cathy, Dec 7, 2009.

Thread Status:
Not open for further replies.
  1. Cathy

    Cathy Banned deucer.

    Jul 11, 2007
    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

    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.
  2. Seven Deadly Sins

    Seven Deadly Sins ~hallelujah~
    is a Site Staff Alumnusis a Forum Moderator Alumnusis a Tiering Contributor Alumnusis a Contributor Alumnusis a Smogon Media Contributor Alumnusis a Battle Server Moderator Alumnus

    May 29, 2008
    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.
  3. monkfish

    monkfish what are birds?
    is a Forum Moderator Alumnus

    May 31, 2006
    also needs updating (svn -> hg)
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)