fetch_dev_inner_version – fetch inner version of a package and write it down.

Description

The method calculates automatically the inner version of a package, basing on state of development sources. It may be the history in revision control system, quantity of patches or some another heuristic. Saved file may be stored as permanent etalon with a call of fetch_store_mint(3) method.

The method is normally called within fetch_dev(3).

The method does not have default implementation and can be effectively used with modules.

The final result is inner version, written to file T/inner_version.

Writing

The method must write to T.

Variables

The method is expected to use any-api(7) variables:
T
P
ANYDEVSRCDIR
DISTDIR

Options

The options are expected to affect the method:
any_local_src_hashing

See also