1compose-update-latest-symlinkGse(n1e)ral Commands Mcaonmupaolse-update-latest-symlinks(1)
2
3
4

NAME

6       compose-update-latest-symlinks - Create the symbolic links of minor and
7       major version to the given latest compose
8

SYNOPSIS

10       compose-update-latest-symlinks [OPTIONS...]  COMPOSE_PATH
11

DESCRIPTION

13       compose-update-latest-symlinks creates and updates  symbolic  links  of
14       minor and major version pointing to the latest generated compose.
15
16       The  required path should point to a directory where symlinks should be
17       updated.
18
19       The tool finds all symlinks of form latest-<NAME>-X.Y.Z with the  long‐
20       est version. It than creates shorter symlinks with fewer version compo‐
21       nents.
22
23       If the directory contains latest-X-1.0.0,  latest-X-1.0.1  and  latest-
24       X-1.1.0, it will create latest-X-1.0 -> latest-X-1.0.1, latest-X-1.1 ->
25       latest-X-1.1.0 and latest-X-1 -> latest-X-1.1.
26
27       The is an expectation that only one product will be present in the  di‐
28       rectory.
29

OPTIONS

31       -h, --help
32              Print help and exit.
33
34       -n, --dry-run
35              Only  print what symlinks would be created, do not actually per‐
36              form any actions.
37

EXIT CODE

39       This tool exits with status code of 0 on success and non-zero value  on
40       failure.
41

BUGS

43       Please report bugs at
44       https://pagure.io/compose-utils/issues
45
46
47
48                                             compose-update-latest-symlinks(1)
Impressum