This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Revision of Purpose from Mon, 02/07/2011 - 20:53

Help

Purpose

Contexts are simply a way for Aegir to store certain pieces of information that it thinks may be useful later. They are named so that they can be referred to easily.

Every server, platform and site in Aegir has an associated context. Each one of these contexts stores information about the associated entity. So, for example, a site context stores the base URI of the site. Later, the code responsible for informing the web server of the site's existence can look at this context and determine the requested URI.

In theory they allow most of the back-end commands in Aegir to operate just on the name of the context. This is an important concept, the alternative would be to try to guess everything that the command being invoked might want to know and pass it in as a series of command line arguments. For example, the command that Aegir uses to clone a site just needs to be given the context of the site to clone and the platform to clone it to, from there the code can work out where the destination platform actually is, what servers it needs to talk to, and with what credentials.

Need help?

Documentation

The notebook section provides a way for you to store and share information with your group members. With the book feature you can:

  • Add book pages and organize them hierarchically into different books.
  • Attach files to pages to share them with others.
  • Track changes that others have made and revert changes as necessary.
  • Archive books that are no longer of interest to the group. Archived books can be reactivated later if needed.

The revisions let you track differences between multiple versions of a post.