The aede-policy command is used to verify that a change set is
ready to end development. This is intended to be used by the
develop_end_policy_command field of the project
"aede-policy -p $project -c $change all";
If any of the pilies should fail, the aede-policy command will fail with
an exit status of 1. This, in turn, will cause the aede(1) command
to leave the change in the being developed state.
Note that the aede(1) command sets the appropriate environment
variables, so the
-Change options are rarely
There are a range of policies that can be selected.
This policy checks that each file in the change set contains a copyright notice of the form
Copyright (C) year something
where year is the current year (you can have a range of years, too). Binary files are ignored. Change sets marked with a foreign-copyright=true attribute are ignored, as are files similarly marked. The something part is either the project specific copyright-owner attribute, or the executing users full name.
This policy cheks that all files are using UNIX line termination (NL), not DOS line termination (CRLF). Binary files are ignored.
This policy checks that the change set
description attributes have been updated to something other than
This policy checks that each file in the change set contains only printable text characters and white space. The content-type file attribute is taken into account; if there is no content-type file attribute, or there is no charset specified by the content-type file attribute, plain 7-bit ASCII text is assumed.
This policy checks that each file in the change set contains only text, although international character sets are acceptable. This is basically a test for NUL characters, because everything else could be part of a valid character encoding of some international character set.
Check all of the above policies.
If no policy is specified, only the description policy will be checked.
The following options are understood:
This option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option.
This option may be used to obtain more information about how to use the aegis program.
List all of the available validations.
This option may be used to select the project of interest.
option is specified,
environment variable is consulted.
If that does not exist,
file is examined for a default project field (see
for more information).
If that does not exist,
when the user is only working on changes within a single project,
the project name defaults to that project.
it is an error.
See also aegis(1) for options common to all aegis commands.
All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters.
All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important.
the arguments "-project, "-PROJ" and "-p" are
all interpreted to mean the
The argument "-prj" will not be understood,
because consecutive optional characters were not supplied.
Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors.
The GNU long option names are understood.
Since all option names for
this means ignoring the extra leading '-'.
option=value" convention is also understood.
The aede-policy command will exit with a status of 1 on any error. The aede-policy command will only exit with a status of 0 if there are no errors.
See aegis(1) for a list of environment variables which may affect
aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for
all commands executed by Aegis.
aede-policy version 4.22 Copyright (C) 1991-2006 Peter Miller; All rights reserved.
The aede-policy program comes with ABSOLUTELY NO WARRANTY; for details use the 'aede-policy -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'aede-policy -VERSion License' command.