Factor-packman:pkg-pack
From Zen/-/ackers
The pkg-pack command is used to create a Factor package from the source files, which can then be easily uploaded to a public repository or distributed manually.
The pkg-pack word has the following signature:
pkg-pack ( pkg-location seq -- )
:: pkg-location: the local path to the package source root directory as a string. :: seq: a sequence (list) of options to be used by the pkg-pack word.
This command automates the process of building a Factor package. It performs the following tasks:
o) Add any META-DATA that it can gather from the source files and environment
to the package-spec.factor file.
o) Compute the MD5 / SHA256 hashes for all the source files and the
package-spec.factor file.
o) Create a tarball (.tar.bz2) of the source files, package-spec, and file
hashes.
o) Optionally: automatically upload the package to a repository.
The above-mentioned steps can be done manually, but it is better to use the pkg-pack command because it eliminates common errors.
It is not needed to manually add the source files of the package to the package-spec.factor file because the pkg-pack command automatically does this for you. This elminates the need to type hundreds of filenames if you are creating a package with a large number of source files.
Open Issue : Should the packages have .fpkg extension or just normal .tar.bz2

