girar-clone-task-git(1)

girar-clone-task-git(1) girar-nmu utils girar-clone-task-git(1)

NAME

girar-clone-task-git - clone a git from a girar task

SYNOPSIS

girar-clone-task-git [-t|--task task] [-s|--subtask subtask] [-d|--local-git-branch local destination branch] [-f|--force] [-J|--restore-branches] [-L|--local-git-dir local repository name] [-o|--origin name][-I|--gitery-origin name] [-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]

[<task> [<subtask>]]

DESCRIPTION

girar-clone-task-git [<task> [<subtask>]] - clone a git from a girar task. Default subtask is 100.

OPTIONS

-t|--task task
Task number. Mandatory. By default, the first arg is considered a task number.
-s|--subtask subtask
Subtask number. Default is 100.
-d|--localbranch|--local-git-branch destination branch
Name of the local checked out git branch. Default is master.
-f|--force
Forcefully remove previous <name>.git and clone over even if <name>.git already exists.
-J|--restore-branches
Call gear-rules-restore-branches after cloning.
-L|--local-git-dir local repository name
The name of the local git repository to create. Default is name.git. Also it can be specified as the second argument.
-I|--gitery-origin=[remotes name]
The name of git remote remotes name that points to your remote repository on gitery gitery:packages/local repository name.git. Default is gitery.
-o|--origin remotes name
This option is passed to git-clone. remotes name is the name of git remote for the repository we are cloning from. By default, it is set to gears for girar-clone-build-commit and to task for girar-clone-task-git. It us to prevent git of using the remote name 'origin' to keep track of the repository we do cloning.
-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