girar-import(1)

GIRAR-IMPORT(1) User Commands GIRAR-IMPORT(1)

NAME

girar-import - import package from archive.

SYNOPSIS

girar-import [Options] <repository> <package> [<target branch>]

DESCRIPTION

girar-import imports package from girar server archive.

First it will try to fetch branch, that corresponds to binary repository from /gears/p/package.git into <target branch> (defaults to master). If that fails, /srpms/p/package.git is tried.

It is highly recommended (in appropriate cases) to invoke it with --people option. Additionally to a plain girar-import, this option similarly clones the Git repo into your remote people directory at git.alt, too. (This will make subsequent email notifications about your pushed changes more interesting to read.)

It is possible to update existing git repository with --update option.

List of valid binary repositories may be obtained by command:

girar-remote acl --list

girar-import uses the git configuration file. The following variables are read:

* girar.remote, corresponding to --remote;

OPTIONS

-R,--remote=NAME
girar server alias, defaults to git.alt;
-p,--people[=DIR]
import to your remote git.alt:DIR, too (and set it up as origin);
-G,--gears
only try /gears/ hierarchy;
-S,--srpms
only try /srpms/ hierarchy;
-u,--update
update into current repository;
-q,--quiet
try to be more quiet;
-v,--verbose
print a message for each action;
-V,--version
print program version and exit;
-h,--help
show this text and exit.

AUTHOR

Written by Alexey I. Froloff <raorn@altlinux.org>

REPORTING BUGS

Report bugs to http://bugs.altlinux.ru/

COPYRIGHT

Copyright © 2009 Alexey I. Froloff <raorn@altlinux.org>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

git-config(1).

July 2023 girar-utils 1.5.14