Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
AIPS++ change log reporting utility.
alog [-archive]options for
[-file=file | -f file]
[-dorescind]
[-listall]
[-master | -m]
[-package=package | -p package]
[-noheader]
[
rlog]
[file1 [file2 ...]]
If any files are specified then alog simply runs rlog on them filtering the output to remove RCS-specific information. The filenames may be specified via a relative or absolute pathname, with or without the RCS ,v suffix.
If no files are specified on the command line, alog executes rlog for all AIPS++ sources, or for all sources within a particular AIPS++ (see §1.1.1) package as specified by the -package option. In this instance, apart from filtering the output of rlog to remove RCS-specific information, alog also removes all references to files for which no revisions were selected. It thus produces a concise, formatted change log.
alog normally consults the RCS repository pointed to by the $AIPSROOT/rcs symbolic link, but can optionally be made to consult the master or archive if it is available (see §1.1.4).
The long form POSIX style options are provided to help differentiate options intended for alog from those it passes to rlog.
Other options are passed directly to rlog without verification, check the manual page for rlog for an explanation. In particular, the -d option may be used to specify a range of dates, and -w to specify a list of users.
Status return values
0
: success
1
: initialization error
The following cron job is executed weekly on the AIPS++ master and the result e-mailed to interested parties:
# Report files currently checked out. 00 21 * * 0 (. $HOME/.profile ; alog -m -L -t) 2>&1 | \ mail -s "AIPS++ sources currently checked out" aips2-workers
The -L and -t options are recognized by rlog; -L causes it to ignore RCS files which have no locks set, and -t causes it to print the header information and descriptive text only (that is, basically everything except the change log entries). Much of the header information is then discarded by alog.
The unix manual page for cron(1).
The manual page for rlog(1), the RCS log command.
AIPS++ variable names (§1.2).
AIPS++ code management configuration (§1.1.4).
adate (p), AIPS++ time reporting utility.
mktree (p), create AIPS++ directory hierarchy.
Original: 1993/01/22 by Mark Calabretta, ATNF.