![]() |
![]()
| ![]() |
![]()
NAMEaegis integrate begin - begin integrating a change SYNOPSISaegis -Integrate_Begin change‐number [
option... ]
DESCRIPTIONThe aegis -Integrate_Begin command is used to begin the integration of a change into the baseline of a project. The change will advance from the awaiting integration state to the being integrated state. boxwid = 1 down S4: box "awaiting" "integration" arrow " integrate" ljust " begin" ljust S5: box "being" "integrated" move to S5.w T4: spline -> left 0.5 then up 1 then to S4.w " integrate" ljust " begin" ljust " undo" ljust at T4.c - (0.5,0) A (logical) copy of the baseline is created in an integration directory and the the files of the change are added to the integration directory. The time stamps of files copied from the baseline are preserved, time stamps on the files copied from the development directory are all set to the time of the beginning of the integration. The 'aegis -Change_Directory' command may be used to locate the integration directory. The change will be assigned to the current user. Please note that only regular files and symbolic links are copied (linked) from the baseline to the integration directory. This has some implications:
The link_integration_directory field of the project configuration file (see aepconf(5) for more information) controls whether the copy of the baseline is done by copying the files or by creating hard links to the files. The hard links are just one of the constraints on the location of the integration directory. The integrate begin will abort with an error if this copy operation fails, e.g. by running out of disk space. If this should happen, the change will remain in the awaiting integration state, and the integration directory will be removed. The change will be assigned a delta number. Delta numbers are incremented once for each aegis -Integrate_Begin command for the project. If an integration is subsequently aborted with either the aegis -Integrate_Begin_Undo or aegis -Integrate_FAIL command, the delta number will not be re‐used. It is not possible to choose the integration directory, as there are many constraints upon it, including the fact that it must be on the same device as the baseline directory, and that many UNIX implementations don't allow renaming directories up and down the trees. The integration directory will be in the project directory, and named for the delta number. NotificationOn successful completion of this command, the integration_begin_command field of the project config file is run, if set. See aepconf(5) for more information. Minimum IntegrationsAegis provides a minimum integration capability which may be used for various reasons. The term minimum may be a bit counter intuitive. One might think it means to the minimum amount of work, however it actually means use a minimum of files from the baseline in populating the delta directory. This normally leads to actually building everything in the project from sources and, as such, might be considered the most robust of builds. Note that any change which removes a file, whether by aerm, aemv or aemt, results in an implicit minimum integration. This is intended to ensure nothing in the project references the removed file. A project may adopt a policy that a product release should be based on a minimum integration. Such a policy may be a reflection of local confidence, or lack thereof, in the project's DMT (Dependency Maintenance Tool) or build system. Or it may be based on a validation process wishing to make a simple statement on how the released package was produced. Another, more transient, reason a to require a minimum integration might be when upgrading a third party library, compiler or maybe even OS level. Any of these events would signal the need for a minimum integration to ensure everything is rebuilt using the new resources. The cost of a minimum integration varies according to type and size of the project. For very large projects, especially those building large numbers of binaries, the cost can be large. However large projects also require significant time to fully populate the delta directory. A minimum integration only copies those files under Aegis control, skipping all “produced” files. In the case where a file upon which everything depends is changed, everything will be built anyway so the copy of the already built files is a waste of time. This means that sometimes a minimum can be as cheap as a normal integration. Change Set AttributesThe follwoing user‐defined change set attributes are understood:
All other user defined change set attributes are ignored. OPTIONSThe following options are understood:
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. For example: the arguments “-project”, “-PROJ” and “-p” are all interpreted to mean the -Project option. 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 aegis are long, this means ignoring the extra leading '-'. The “--option=value” convention is also understood. RECOMMENDED ALIASThe recommended alias for this command is csh% alias aeib 'aegis -ib \!* -v' sh$ aeib(){aegis -ib "$@" -v} ERRORSIt is an error if the change is not in the awaiting
integration state.
EXIT STATUSThe aegis command will exit with a status of 1 on any error. The aegis command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLESSee aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. SEE ALSO
COPYRIGHTaegis version 4.25.D510
The aegis program comes with ABSOLUTELY NO WARRANTY; for details
use the 'aegis -VERSion License' command. This is free software and
you are welcome to redistribute it under certain conditions; for details use
the 'aegis -VERSion License' command.
AUTHOR
|