girar-task-add-srpm(1)

girar-task-add-srpm(1) girar-nmu utils girar-task-add-srpm(1)

NAME

girar-task-add-srpm - girar helper for building a src.rpm.

SYNOPSIS

girar-task-add-srpm, girar-task-for-each-srpm, girar-build-srpm [-n | -g | -r | -F | -N] [-a|--add-to-task|--task task ID] [-A|--add] [-B|--before|--before-subtask before_subtask_id] [-D|--deps comma separated list] [-S|--share] [--gm|--girar-message|--gyle-message message] [-O|--no-test-only] [--test-only] [--unhurry] [--hurry] [--fail-early|--fail-late] [-H|--gitery ssh gitery alias] [-R|--girar ssh girar(gule) alias] [-W|--webery tasks web site] [--web-tasks-url tasks web site url] [-b|--branch repository] [--dry-run] [-P|--profile profile] [-h|--help] [-v|--verbose] [-q|--quiet]

srpm ...

DESCRIPTION

girar-task-add-srpm, girar-task-for-each-srpm, girar-build-srpm does all necessary work for building a set of src.rpm - including signing the rpms, uploading to girar incoming, and adding to task(s).

The scripts differ in their default behaviour depending on their name. girar-task-add-* add the arguments to the specified or to the last task, girar-task-for-each-* create and run separate tasks for each argument, girar-build-* create and run the arguments in one big task.

OPTIONS

-F | -g | -n | -N | -r
select a rpm sign command to sign a src.rpm.
-g) rpm-sign-gpg-agent - use gpg agent to cache passphrase
-F) rpm-sign-forwarded-gpg-agent - use forwarded gpg agent to cache passphrase
-n) rpm-sign-no-passphrase - useful when key has no passphrase.
-r) rpm use plain rpm.
-N) do not sign rpm - useful when rpm is already signed
Add to task options.
-a|--add-to-task|--task [task ID]
Specifies the girar task to add. Also enables "task add" mode, see below.
-A|--add
Enables "task add" mode. In this mode, the argument(s) are added to the current or the specified task. This disables "for each" mode and stops "build" mode from creating a separate task.
[-B|--before|--before-subtask before_subtask_id]
before_subtask_id is used in the extended format of girar-task add command: girar-task add [<task_id> [<before_subtask_id>]] srpm <filename>
Run task options.
-D|--deps dep1,...,depN
Comma separated list of task dependencies to add.
-S|--share
Create and run a shared task. Disabled by default. Also, --no-share disables it.
--gm|--girar-message|--gyle-message message
Specifies a girar task message.
--test-only
Run task --test-only
--commit|-O|--no-test-only
Do not run task --test-only (default).
--hurry
Run task with --hurry (undocumented girar option)
--no-hurry
Remove --hurry from run command line, --no-hurry option does not set --unhurry.
--unhurry
Run task with --unhurry (undocumented girar option)
--fail-early
Stop building the task after the first error.
--fail-late
Do not stop building the task after the first error.
-b|--branch repository branch
Name of the repository branch. Values: sisyphus|p8|.. Default is sisyphus.
-R|--girar girar(gyle) ssh alias
By default, gyle.altlinux.org account should be configured as girar or gyle in ~/.ssh/config. If you do not follow that convention, use -R <your girar ssh alias> option.
-H|--gitery gitery ssh alias
Alternative gitery or ssh alias for gitery, for example, git.e2k. If not specified, by default, gitery is used where ssh account is required and git.altlinux.org is used where http:// is enough.
-W|--webery tasks web site
Alternative site that hosts girar tasks. If not specified, by default, git.altlinux.org is used.
[--web-tasks-url tasks web site url]
The default URL for web task site is http://tasks web site. See --webery for details. --web-tasks-url overrides this URL.
--dry-run
Echo state-changing commands instead of doing them. An extra safety. Also a bit useful for debugging.
-P|--profile profile
Name of the configuration profile. The profile is loaded as /etc/girar-nmu/profile and $HOME/.config/girar-nmu/profile. Note that default configuration is stored in /etc/girar-nmu/default and $HOME/.config/girar-nmu/default.
-V|--version
Print version and exit.
-v|--verbose
Verbose. Prints extra information. Multiple -v accumulate. -v -v -v set debug mode (set -x).
-q|--quiet
Quiet. Print no warnings.
-h|--help
Display this help and exit.

AUTHOR

Written by Igor Vlasenko <viy@altlinux.org>.

COPYING

Copyright (c) 2010-2023 Igor Vlasenko, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

2023-11-08 2.015.3