Polish (Poland)English (United Kingdom)

What is tabs?

TABS (Tcl Automated Build System) is a tool for building cookfs, mk4 and zip archives. It is loosely based on idea of SDX (Starkit Developer eXtension) and Makefile-like approach. It is mainly used to create starkits, zipkits, starpacks and cookfs-based archives and binaries. Initially it was developed mainly for cookfs, however, all jobs now support all major archive formats used in Tcl world.

Latest version: 1.2.1 (released 2011-05-22) | download files


TABS documentation: repack
Tcl/Tk - TABS

Job repack mounts an archive and repacks it under same or different file name. It can be used to optimize an archive - for example removing space occupied by previously removed files.

The following table shows all options accepted by repack job:

Option Default value Description
-checkuptodatefalseWhether check if job is up to date should be done; otherwise job is always run
-driver VFS type to use - supports mk4, zip and cookfs; defaults to input driver if not specified
-driveroptions Additional options to pass to VFS driver; type dependant
-excludedirectoriesCVS .svnList of directories to exclude from including
-excludefilescoreList of filenames to exclude
-failtrueFail entire build if job fails
-file File to repack
-output File to write to; defaults to same as -file if not specified
-skiptags Currently unused

To repack an archive:

Repacking an archive or binary
tabs repack -file app.exe

This will repack the archive and keep it under same name, overwriting original archive. It will also retain the head of the archive - for example repacking a tclkit will not break it in any way.

 

It's also possible to repack an archive as a different driver - for example repack a package from zip to mk4 or cookfs by doing:

Converting to cookfs
tabs repack -file app.zip -driver cookfs -output app.cfs

 
Tcl 8.5 Network Programming book
Learning Nagios 3.0 book