Changelogs guide

Changelogs are small YAML files that developers create to add their pull requests' changes to the master changelog.html file. A python script run by a maintainer collects all the changes specified and generates the HTML necessary, merging changes by the same author during the same day.

The idea is to reduce merge conflicts caused by two PRs trying to edit the same file.

Pull Requests
PR changelogs are temporary and just get deleted after they're merged into the master changelog.


 * 1) Create.
 * 2) Go to   on your branch.
 * 3) Create file   in the folder, where 'BRANCHNAME' the name of the branch on your fork and 'USERNAME' is your github username.
 * 4) * Example:
 * 5) * File name is not super important but helps the maintainers know who made the file and which PR it is related to. Also prevents conflicts since two files won't have the same name.
 * 6) Copy the contents of this.
 * 7) Fill it out.
 * 8) * Make sure to set delete-after to true.
 * 9) * Also ensure you update the author name so you get credited appropriately.
 * 10) PROOFREAD. Changelog entries are final after they're merged.
 * 11) Add it to git so it's included with your PR.

File content example: author: Deantwo delete-after: True changes: - rscadd: "Added laser rifles for everyone." - rscdel: "Removed everyone's brains."

Maintainer Changelogs
Maintainers can have their own changelogs. Follow the same directions as above, but use USERNAME.yml and leave delete-after false.

Updating the Changelog

 * Only maintainers need to do this.


 * First, install python 2.7, pip, and PyYaml:
 * After installing python and ensuring it and its Scripts/ folder is in PATH, download and run get-pip.py with python.
 * Once pip is installed run the following commands in your terminal
 * With /tg/station's code, simply run makeChangelog.bat.
 * On Linux or other codebases, run
 * With /tg/station's code, simply run makeChangelog.bat.
 * On Linux or other codebases, run

Screwed up Changelog
If a changelog needs to be edited after merge, a maintainer will need to edit the html/changelogs/.all_changelog.yml file in order to fix the database. (This file is hidden on Linux and Mac OSX.)