Skip to content

Understanding the code of Agit

rtyley edited this page Aug 30, 2011 · 6 revisions

This page is intended to help you if you're looking at the code of Agit, thinking about contributing a patch, but need some pointers on what's going on...

Maven

Agit is a Maven-based project - check the Building-Agit guide for some information on how to build the project and download it's dependencies.

Guice and @Inject annotations

Agit uses Guice and RoboGuice for dependency injection, you'll probably want to read the Guice Getting Started guide if you're not familiar with Guice.

See AgitModule.java for the Guice bindings used in Agit. Agit uses custom scopes to provide Repository- and Operation- dependent bindings.

All dependencies...

For a full list of all the libraries used by Agit see the CREDITS file, which also provides links to many of those libraries.