zoryn-gen-environment(1)

ZORYN-GEN-ENVIRONMENT(1) Zoryn Manual ZORYN-GEN-ENVIRONMENT(1)

NAME

zoryn-gen-environment - Initialize ALT Linux development environment.

SYNOPSIS

zoryn gen environment [OPTION]…

DESCRIPTION

Initialize configuration files for ALT Linux package development. Creates ~/.zoryn, ~/.ssh/config entries for gitery/gyle, ~/.hasher/config, ~/.rpmmacros, and sets up git user.name/user.email.

In interactive mode, asks for your name, email and gitery/gyle login. Uses values from git config as defaults if available.

For non-interactive mode, specify --name and --email options. The --login option is optional.

Checks for required packages and prompts to install if missing.

Use --update-config to add missing default settings to an existing ~/.zoryn file without overwriting existing values or comments.

OPTIONS

-C DIR
Change to directory DIR before running.
-d, --debug
Enable debug output.
--email=EMAIL
Your email for changelog (e.g., 'ivanov@altlinux.org'). Required for non-interactive mode.
--login=LOGIN
Your login for gitery/gyle. Optional, skip to omit gitery/gyle configuration.
--name=NAME
Your name in English (e.g., 'Ivan Ivanov'). Required for non-interactive mode.
--skip-keys
Skip SSH and GPG key generation.
--update-config
Update existing ~/.zoryn by adding missing default settings. Preserves existing values and comments.

COMMON OPTIONS

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
--version
Show version information.

EXIT STATUS

zoryn gen environment exits with:

0
on success.
123
on indiscriminate errors reported on standard error.
124
on command line parsing errors.
125
on unexpected internal errors (bugs).

EXAMPLES

Initialize development environment interactively:


zoryn gen environment

Initialize non-interactively:


zoryn gen environment --name 'Ivan Ivanov' --email ivanov@altlinux.org --login ivanov

Initialize without gitery/gyle access:


zoryn gen environment --name 'Ivan Ivanov' --email ivanov@example.org

Update existing config with missing defaults:


zoryn gen environment --update-config

SEE ALSO

zoryn(1)

Zoryn 0.46.0