Sha256: bc6ade4cf6a05470d48511af71bc00ddf9613a5846d36bbce1cb719d61e9ccce

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 KB

Contents

---
title: Adding packages (for the impatient)
sort_info: 50
---

To register a package in autoproj, you need to basically do two things

 * declare it in an autobuild file
 * add VCS information for it (i.e. "where to get it")

A first step
------------

A quick thing that can be done to register a new package in your autoproj
installation is to add it to the local package set.

 * [register it](package_sets/autobuild.html) in
   <tt>autoproj/local.autobuild</tt>
 * [give version control information](package_sets/importers.html) for it in
   <tt>autoproj/overrides.yml</tt>

Alternatively to the last point, you can register it under the "type: none"
importer in autoproj/overrides.yml to make autoproj not care about updating that
package.

Sharing package definitions with the rest of the world
------------------------------------------------------

To do that, you will either have to move the package definition to a separate
package set (usually one of those that are in autoproj/remotes/), or to create
your own package set]

For the first solution, you will have to move the package definition from
autoproj/local.autobuild to an autobuild file in the package set directory (name
does not matter as long as it ends with .autobuild). Moreover, you will have to
move the importer definition from autoproj/overrides.yml to the package set's
source.yml file.

For the second solution, [read on](package_sets/index.html)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
autoproj-1.7.0.rc2 doc/guide/src/adding_packages.page
autoproj-1.7.0.rc1 doc/guide/src/adding_packages.page
autoproj-1.7.0.b3 doc/guide/src/adding_packages.page
autoproj-1.7.0.b2 doc/guide/src/adding_packages.page
autoproj-1.7.0.b1 doc/guide/src/adding_packages.page
autoproj-1.6.2 doc/guide/src/adding_packages.page