vhistory - Show the version history of a Vesta package
vhistory [-v] package
The vhistory command is a small shell script that prints the version history of a Vesta package.
In more detail, vhistory enumerates the versions of the specified package, sorts them from newest to oldest, and prints the message attribute of each one. If the name package does not begin with "/", it is interpreted relative to the site's default parent directory for packages, DefaultPackageParent.
- -v
- Verbose; print all the attributes of each version, not just its message attribute.
The following values are obtained from the [UserInterface] section of the Vesta configuration file (vesta.cfg).
- DefaultPackageParent
- The default directory to look for packages in. Ordinarily a subdirectory of the appendable root, named with an Internet domain name belonging to the local site.
This program should probably be reimplemented in C, using the skeleton of vlatest(1). Limitations of the shell script version:
- Should have an -m flag to look in the master repository. Without this, you see only the versions that happen to be in your repository.
- Should have a -b flag to control whether to recurse into branches. Currently it always recurses into branches.
- The sorting is crude.
- It would be nice to be able to print different subsets of the attributes.
This page was generated automatically by mtex software.