 -Change_Attributes(1)

NAME
-Change_Attributes - modify the attributes of a change

SYNOPSIS
-Change_Attributes -File attr-file [ option... ]
-Change_Attributes -Edit [ option... ]
-Change_Attributes -Fix_ARchitecture
-Change_Attributes name=value
-Change_Attributes -List [ option... ]
-Change_Attributes -Help
-Change_Attributes -UUID string [ option... ]

DESCRIPTION
The -Change_Attributes command is used to set, edit or list the attributes of a change.

The output of the -List variant is suitable for use as input at a later time.

See aecattr(5) for a description of the file format.

The name=value form of the command may be used when you wish to add or modify change set attributes. If an attribute is already present, it will be modified; if there is more than one attribute with the same name, only the first will be modified. The name+=value form will always append the pair.

  Example
When you edit the file, you will see something like this:
    brief_description = "login(1) is too fussy";
    description = "When users type their password "
        "incorrectly, after three times the login(1) "
        "program should assume they have forgotten "
        "their password and automatically reset it "
        "for them.";
    cause = external_enhancement;
    attribute =
    [
        {
            name = "bugzilla";
            value = "666";
        },
        {
            name = "customer-priority";
            value = "high";
        },
        {
            name = "marketing-priority";
            value = "urgent-panic-headless-chicken";
        },
        {
            name = "engineering-priority";
            value = "after-heat-death-of-universe";
        }
    ];
Note the semicolons, you need to get them right. Edit the fields you want to change. When you quit the editor, they will be updated.

  Known Attribute Names
While many of the anticipated used of change attributes are to allow projects to attach their own specialized data to change sets, Aegis also uses some attributes for its own purposes (and arguably, should always have done so to maximize forwards compatibility across Aegis upgrades).

aeget:inventory:hide
    boolean. If true, this change set does not appear in aeget(1)'s change set inventory pages, used by aedist -replay to decide what to download and apply. Think of it as a "local only" flag.

foreign-copyright
    boolean. If true, none of the files in this change set will not be checked by the aede-policy(1) copyright validation.

original-uuid
    This is set by aedist -receive when an incoming change set is changed before it can end development. There may be more than one. The aeget(1) inventory "all" page will show these additional UUIDs, used by the aedist -pending command..

  Universal Unique Identifier
Each change set is assigned a unique universal identifier (UUID) at integrate pass time. This serves to identify the change across all sites when a geographically distributed development model is being used. This may be exploited to rapidly determine which change sets need to be downloaded.

The -Universal_Unique_IDentifier option is used by the aedist(1) and aepatch(1) commands to set the UUID of a change set. It should not be used by developers.

  Using Change Attributes in Scripts
There are several ways you can use the attributes of an Aegis change in a shell script:

aereport(1)
    The report generator is able to access change attributes. You can then have the report generator print the necessary data.

aesub(1)
    Many change attributes can be accessed via the aesub(5) command substitutions, and printed using the aesub(1) command.

aeca -l
    The list option of the aeca(1) command may be used to print the values of all editable change attributes. It can be groped using grep(1) or awk(1), or similar.

aexml(1)
    It is possible to get a great deal of information in XML format, including change attributes. This format can be parsed by a variety of packages.

Use the method best suited to your particular needs.

OPTIONS
The following options are understood:

-Description_Only
    This option may be used to specify that only the change description is the subject of this command. It will be presented as plain text, without any of the quotes or escapes present when this command is not used.

-Fix_ARchitecture
    This option may be used to replace change change's architecture list with all of the mandatory architectures from the project configuration file, plus any of the optional architectures that match the current machine. May not be used with -file or -edit options.

-Universal_Unique_IDentifier string
    This option may be used to set the UUID of change change.

RECOMMENDED ALIAS
The recommended alias for this command is
csh%	alias aeca ' -ca \!* -v'
sh$	aeca(){ -ca "$@" -v}

ERRORS
It is an error if the current user is not an administrator of the specified project.

SEE ALSO

tkaeca(1)
    GUI interface to the aeca(1) command.

aecattr(5)
    change attributes file format

aecstate(5)
    change state file format

aepa(5)
    modify the attributes of a project

aesub(5)
    available command substitutions

aeuconf(5)
    user configuration file format