Chapter 5. Recipe Actions, Macros, and Variables

Table of Contents

5.1 -- Package and Group Recipe Classes
5.2 -- Package Variables and Actions
5.3 -- Group Variables and Actions
5.4 -- Macros

When you're creating packages and groups for Conary package management, such as for appliances in rBuilder, you can use the Conary Application Programming Interface (API) Documentation as a reference for the actions you can include as part of each recipe. All recipes start by inheriting from these basic recipe actions, even if you load and use another recipe or superclass.

How can you navigate the Conary API to find all these actions?

No worries. This chapter outlines the recipe actions you can use, along with links to the Conary API Docs for a complete listing of arguments and examples. Use the following sections as a reference, and keep in mind the following important points:

Quick reference with cvc explain

If you need a quick glance at the API documentation for a particular recipe action, you don't have to open the Web pages to find what you want. Just use the cvc explain command followed by the recipe action, such as in the following example:

$> cvc explain addSource

Scroll through the documentation as needed to find the information you need, and then press "q" to quit.