|
NAMEaetar - remotely distribute a change via tarSYNOPSISaetar -Send [ option... ]aetar -Receive [ option... ] aetar -List [ option... ] aetar -Help aetar -VERSion DESCRIPTIONThe aetar command is used to send and receive change sets via tar(1) to facilitate geographically distributed development.The basic function is to reproduce a change, so a command like aetar -send | aetar
-receive
may be used to clone a change, though less efficiently than aeclone(1).
The file format used is an ordinary gzip(1) compressed tar(1)
archive.
SENDThe send variant takes a specified change, or baseline, and constructs a distribution package containing all of the source file contents. No change meta‐data is included.It is not necessary for the recipient to have the aetar(1) command. It is possible to use the regular tar xzf command to extract the files from the archive. OptionsThe following options are understood by the send variant:
This option may be used to specify the compression to be
used. They are listed on order of compression effeciency.
More compression algorithms may be added in the future.
RECEIVEThe receive variant takes a tarball and creates an Aegis change (see aenc(1)) to implement the change within. Files are added to the change (see aenf(1), aecp(1), aerm(1), aent(1)) and then the file contents are unpackaged into the development directory.It is not necessary for the sender to have the aetar(1) command. It is possible to use the regular tar czf command to create the the tarball. You may want to use the tardy(1) command to manipulate the filenames before extraction. File NamesIt is common for tar files generated to distribute open source projects to contain a path prefix.
If you have a complex project directory structure, from time to time people may send you tarballs relative to a sub‐directory, rather than relative to the project root.
NotificationThe aetar command invokes various other Aegis commands. The usual notifications that these commands would issue are issued.OptionsThe following options are understood by the receive variant:
This option may be used to specify which directory is to
be used. It is an error if the current user does not have appropriate
permissions to create the directory path given. This must be an absolute path.
Caution: If you are using an automounter do not use `pwd` to make an absolute path, it usually gives the wrong answer.
This option may be used to exclude certain files in the
tarball from consideration.
You can also add more exclusions using the project_specific field of the project configuration, using the aetar:exclude attribute listing file names to exclude separated by spaces.
This option may be used to exclude files common to
tarballs of open source projects which used GNU Autoconf or GNU Automake. This
is triggered by the presence of configure.ac, configure.in or
Makefile.am files. This only works for simple projects, more complex
projects will need to use the project exclude attributes.
You can set this automatically using the boolean aetar:exclude‐auto‐tools attribute in the project_specific field of the project configuration file.
This option may be used to exclude files common to CVS
repositories, which implement the repository functions, rather than contain
source code. It will also look inside .cvsignore files
for additional files to ignore.
You can set this automatically using the boolean aetar:exclude‐cvs attribute in the project_specific field of the project configuration file.
Read the change set from the specified file. The default
is to read it from the standard input. The filename `-' is understood to mean
the standard input.
If your system has libcurl(3), and Aegis was configured to use it at compile time (this is the default if it is available) you will also be able to specify a Uniform Resource Locator (URL) in place of the file name. The relevant data will be downloaded. (The -Verbose option will provide a progress bar.)
SecurityDownloading a tarball and automatically committing it to the baseline without checking it would be a recipe for disaster. A number of safeguards are provided:
LISTThe list variant can be used to list the contents of a tarball without actually unpacking it first.OptionsThe following options are understood by the list variant:
Read the change set from the specified file. The default
is to read it from the standard input. The filename `-' is understood to mean
the standard input.
If your system has libcurl(3), and Aegis was configured to use it at compile time (this is the default if it is available) you will also be able to specify a Uniform Resource Locator (URL) in place of the file name. The relevant data will be downloaded. (The -Verbose option will provide a progress bar.)
OPTIONSThe following options to this command haven't been mentioned yet:
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 aetar are long, this means ignoring the extra leading '-'. The “--option=value” convention is also understood. FILE FORMATThe file format re‐uses existing formats, rather than introduce anything new. This means it is possible to extract the contents of a package even when aetar is unavailable.
EXIT STATUSThe aetar command will exit with a status of 1 on any error. The aetar 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.COPYRIGHTaetar version 4.25.D510Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Peter Miller The aetar program comes with ABSOLUTELY NO WARRANTY; for details
use the 'aetar -VERSion License' command. This is free software and
you are welcome to redistribute it under certain conditions; for details use
the 'aetar -VERSion License' command.
AUTHOR
Visit the GSP FreeBSD Man Page Interface. |