1compose-write-repo-file(1)  General Commands Manual compose-write-repo-file(1)
2
3
4

NAME

6       compose-write-repo-file - write .repo file pointing to a compose
7

SYNOPSIS

9       compose-write-repo-file [OPTIONS...]  COMPOSE_PATH
10

DESCRIPTION

12       compose-write-repo-file  loads  metadata  from  a compose and creates a
13       YUM/DNF configuration file with entries for repositories  in  the  com‐
14       pose.
15

OPTIONS

17       -h, --help
18              Print help and exit.
19
20       --arch=ARCH
21              Use  URLs with this hardcoded architecture. By default $basearch
22              is used.
23
24       --include-debuginfo
25              Create entries for debuginfo repositories.
26
27       --include-source
28              Create entries for source repositories.
29
30       --variant=VARIANT
31              Create entries only for listed variants. Can  be  used  multiple
32              times. Variants that do not include repositories are skipped au‐
33              tomatically.
34
35       --disabled=VARIANT
36              Make entries for this variant disabled. By default all reposito‐
37              ries are created as enabled.
38
39       --output=FILE_PATH
40              Write output to this file instead of to stdout.
41
42       --translate=PATH_PREFIX,URL_PREFIX
43              By  default  local filepaths are created. With this option it is
44              possible to generate URLs. The path prefix will be stripped from
45              path, and replaced with URL prefix.
46
47       --name-pattern=PATTERN
48              Customize  name for the repositories. These fragments are avail‐
49              able:
50
51              - release_id, release_short, release_name, release_version,  re‐
52              lease_type, release_major_version
53              -  base_product_short,  base_product_name, base_product_version,
54              base_product_type (these are only available for layered  product
55              composes)
56              - compose_id, compose_type, compose_date, compose_respin, label
57              - variant (should always be used unless a single variant is pro‐
58              cessed)
59              - arch (only makes sense if --arch is used)
60
61              The default is {release_short}-{release_version}-{variant}
62
63              --gpgcheck
64                     Enable gpgcheck = 1. Default is gpgcheck = 0.
65
66              --gpgkey=GPGKEY
67                     gpgkey value (public key URL). Multiple key  URLs  should
68                     be comma-separated. Use --gpgcheck with this option.
69

EXIT CODE

71       Exit  code  is  always 0 on success and non-zero if there was a problem
72       loading the compose.
73

BUGS

75       Please report bugs at
76       https://pagure.io/compose-utils/issues
77
78
79
80                                                    compose-write-repo-file(1)
Impressum