Content-type: text/html Manpage of addpkg

addpkg

Section: User Commands (1)
Updated: April 27, 1999
Index Return to Main Contents
 

NAME

addpkg - Adds a package to a release.

 

SYNOPSIS

addpkg [-?, --help] [-t, --test] [-p, --production] [-h, --head] [-c, --current] [-d <cvsroot>] [-Q, --quiet] [-n, --no-cvs] [-l, --link]

<package_name>[/<subpackage_name>] [<version_string>]

 

DESCRIPTION

addpkg is used to include an existing software package in a release. It normally first checks out the package from CVS. It then makes the needed entries in the various subdirectories of the release. addpkg can also be used to make a link to an existing package version in a distribution or to copy an existing package version from a distribution.

The normal usage is "addpkg foo", which gives you the same foo version as was used in the actual production release on which your test release was based. "addpkg --head foo", will give you the most recent CVS revision (the HEAD) for the foo package to modify, which is probably what you want if making changes. "addpkg foo tag" will give you a specific tagged version of the foo package, which can be useful when an older version is desired.

To add the subpackage bar of the package foo, use "addpkg foo/bar", etc., as above.

 

OPTIONS

-?, --help


 Prints the usage message.

-t, --test


 Add a new package in a test release. This is the
 default behavior.

-p, --production


 Add a new package to a production release.

-h, --head


 Add the head version of <package>.

-c, --current


 Use the version from the distribution. This is
 the default behavior if no tag argument is
 given.

-d <cvsroot>


 Use <cvsroot> for the cvsroot. The -d option
 overrides the CVSROOT environment variable and
 the optional package-specified cvsroot.

-Q, --quiet


 Perform cvs actions quietly.

-n, --no-cvs


 Copy directly from distribution, bypassing cvs.
 This option is not intended for regular use. It
 should only be used in unusual circumstances.

-l, --link


 Make a link to the package area instead of
 checking out from cvs.

 

EXAMPLE

To add the Hello to a test release in the current directory:

example% addpkg Hello

 

MESSAGES

No version of XXX exists in the release YYY.

This usually means that a developer wants to add a package that is in CVS, but not in the base release he/she is using. In this situation the user needs to supply an explicit tag or the --head argument.

 

AUTHOR

Bob Jacobsen. (Bob_Jacobsen@lbl.gov) Updated for SoftRelTools version 2 by James Amundson. (amundson@fnal.gov)

 

ORIGIN

SoftRelTools version 2


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
MESSAGES
AUTHOR
ORIGIN

This document was created by man2html, using the manual pages.
Time: 01:07:57 GMT, January 04, 2001