gear-import(1)
| GEAR-IMPORT(1) | User Commands | GEAR-IMPORT(1) |
NAME
gear-import - import source code into repository
SYNOPSIS
gear-import [options] <archive> [<archive>...]
DESCRIPTION
The gear-import allows to import a project sources from the archives into gear repository. Each archive is added as subdirectory by individual commit and has the tag with its version. Subdirectory name and tag name is calculated from the archive name.
OPTIONS
- --dry-run
- show parser results and exit;
- --no-commit
- do not commit new changes;
- --no-tag
- do not add tag;
- --time=STR
- use time described by STR;
- --time=FILE
- use the last modification time of FILE;
- --ignore-exclude
- pass --ignore-exclude to gear-update;
- --honor-exclude
- pass --honor-exclude to gear-update;
- -C, --create
- pass --create to gear-update;
- -f, --force
- pass --force to gear-update;
- -a, --all
- pass --all to gear-update;
- -s, --sign
- add sign to commit and tag;
- -S, --subdir=DIR
- unpack archives into DIR;
- -c, --commit=MSG
- use MSG as commit message;
- -t, --tag=NAME
- use NAME as tag name;
- -T, --tag-message=MSG
- use MSG as tag message;
- -r, --rules=FILE
- override import rules file name;
- -v, --verbose
- print a message for each action;
- -V, --version
- print program version and exit;
- -h, --help
- show this text and exit.
CONFIGURATION
gear-import reads following configuration options from git-config:
gear.import.commit-message
gear.import.rules
gear.import.tag
gear.import.tag-message
gear.import.archive-pattern
gear.import.name-template
gear.import.version-template
gear.import.name-transform
gear.import.version-transform
gear.import.case-sense
ENVIRONMENT
- IMPORT_RULES
- Specifies a custom gear-import rules filename.
AUTHOR
Written by Alexey Gladkov <legion@altlinux.org>
REPORTING BUGS
Report bugs to http://bugzilla.altlinux.org/
COPYRIGHT
Copyright © 2009-2018 Alexey Gladkov
<legion@altlinux.org>
Copyright © 2009-2010 Alexey I. Froloff <raorn@altlinux.org>
Copyright © 2010-2017 Dmitry V. Levin <ldv@altlinux.org>
Copyright © 2019 Vladimir D. Seleznev <vseleznv@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
| March 2021 | gear 2.5.0 |
