LateralGM:Developing

From ENIGMA

Jump to: navigation, search

Before helping to develop LateralGM (or LGM), it helps to understand what it is first, so be sure to read the LateralGM page, and especially read the LateralGM:Building page, as that will give you instructions on how to obtain the necessarily development tools, and how to set it up the officially recognized way that actually lets you Build it (in other words, if you do it another way, you're pretty much on your own for figuring out how to build it).

LateralGM's lead developer is User:IsmAvatar. For developing LateralGM, she is invaluable for understanding the internal workings, assigning or recommending specific areas that need to be worked on, helping develop certain areas, applying patches, or obtaining Commit privileges to the repository.

Contents

Prerequisites

Notice that developers do not necessarily need to be able to Build LateralGM, so many of the build tools, like Batik and Ant, are entirely optional. What is necessary, however, is Eclipse and the Java JDK, and some way to fetch the LGM source code, such as Git.

Getting LateralGM into Eclipse

There are a few ways to load LGM into Eclipse.

Package Hierarchy

Once you have the prerequisites and have checked out LateralGM, you will now need to be able to navigate it. We've designed a page on LateralGM:Packages just for that purpose.

Making Changes

Once you are familiar with LateralGM and ready to start making changes, it would be wise to fork the project. This gives you your own copy of the repository that you can commit and push your changes to without interfering with the developers. Once you have a set of changes that you are happy with, you can then submit those changes from your fork to the original repository for review, where they may be accepted.

Alternatively, you may submit a diff of your changes to one of the developers responsible for the project. This is useful for smaller changes, and if you don't plan to develop much. Otherwise, you're generally encouraged to go the Github route because it makes this process a lot more modular.

Fork

First, you will need a Github account, if you don't already have one. Creating an account is simple, and it means that Github will allow you to host project repositories (and forks) on their site.

Once you are logged in, forking is as simple as visiting our repository: https://github.com/IsmAvatar/LateralGM and then clicking the "Fork" button. Now you have your very own fork.

Near the top of the page, you will see a URI that looks like git@github.com:UserName/enigma-dev.git. This is your fork's repository URI, which you will be using very shortly.

Switching your working copy to the fork


I don't know how to do this. Someone who figures out how to do this should update this section.

It probably involves something with git remote set-url origin git@github.com:Username/LateralGM.git

Submitting

Submitting changes from your fork to the main repository is called a Pull Request. Github has instructions for how to do it here: http://help.github.com/send-pull-requests/

Please make sure that you have committed *AND* pushed your changes to your forked Github repository. Otherwise, there won't be any changes to submit!


If you become a frequent and trusted developer, you'll probably even be granted access to the main LateralGM repository. We would love to have you on board.

Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox