Commit aef7defd authored by Vitaly Lipatov's avatar Vitaly Lipatov

update QuickHelp

parent e28f2ddc
---------------------------
ginit [GEAR] - initialize repo in git.alt for current project
Use: ginit without parameters
aptU - update package and all it requires
Usage: aptU [-v] [-l] [package(s)]
Options:
-v verbose
-l print list of required packages
---------------------------
dmake [-t] [-p] - make with distcc using (distributed build)
-p run in plain mode (without pump)
-t run test compiler via ssh for build hosts
---------------------------
gacl - acl control for gear repo in git.alt
Usage: gacl [GIRAR] [-b REPONAME] [package] command [params]
Options:
GIRAR git.alt or git.eter
-b REPONAME binary repository name (4.1, p5, t6 and so on) (sisyphus by default)
Commands:
add USER add new user to ACL list for package
del USER del user from ACL list for package
show show current ACL list
Examples:
gacl package add newuser
gacl package del newuser
gacl -b p6 package show
Examples for git project from current dir:
gacl add newuser
gacl -b p6 show
---------------------------
ginit - initialize repo in git.alt for current project
Use: ginit [GIRAR]
ginit git.eter - for init in git.eter gear repo
---------------------------
gpull [args] - do git pull --rebase
Use: gpull without parameters
gitcam - do fast git commit amend (apply all current changes to the last commit)
Use: gitcam [-e]
-e - edit commit message
---------------------------
gpull - do git pull with fast forward only by default.
Usage: gpull [-a] [-n] [repo] [branch]
gpull without parameters or with branch name
gpull myrepo - for pull from remote myrepo gear repo (with --rebase by default)
Options:
-a pull all branches
-r rebase during pull
-m do merge if possible
-f pull with fast forward only (default)
-c return error status if repo was not uptodate (gpull || echo 'Was updated last time')
---------------------------
gpush - publish current project repo remote git repo
Use: gpush [-f|--force] [-a|--all] [project name] [target branch]
Usage: [GIRAR/remote alias] [-f|--force] [-a|--all] [-t|--tags] [tag]
Options:
-f - force push
-a - push all branches
-t - push all tags
---------------------------
grpmbs - multi repo rpmbs analogue (build packages via girar)
Run in dir contains subdirs
Usage: grpmbs [GIRAR] [-a|-u] [-f] package1... package2...
Options:
-a build all packages in one task
-u build packages separately (one package per task)
-f force set tags (see rpmbs)
---------------------------
grpmbsh - multi repo rpmbsh analogue (build packages in hasher)
Usage: grpmbs [GIRAR] package1... package2...
---------------------------
......@@ -22,14 +99,23 @@ jmake - make with ccache using and parallel build enabled
---------------------------
loginhsh - install package in hasher / take shell
Usage: [-t -i -h -r -c] [-M51] bin.rpm...
Usage: [-t -i -h -r -c -b -i] [package name] [package file bin.rpm] ...
Options:
-i - initialize hasher
-c - cleanup hasher
-o - log in as root user
-t - use test hasher dir
-r - remote login to hasher
-M?? - branch name
-i initialize hasher
-b REPONAME binary repository name (4.1, p5, t6 and so on)
-c cleanup hasher
-q quiet mode (don't run anything)
-r run command
-o log in as root user
-v verbose
-x allow run X program (set DISPLAY and use xauth)
-t use test hasher dir (different to build hasher)
Extra options:
-a auto test mode for post myhsh build checking
-d print hasher dir
-M?? branch name
---------------------------
......@@ -37,126 +123,190 @@ Options:
---------------------------
myhsh - build package via hasher
Usage: [-m -s -u -i -c] src.rpm...
Usage: [-m -s -u -i -c -l] src.rpm...
Options:
-i - install built packages in test hasher
-c - build without stuff (previous built packages)
-i install built packages in test hasher
-c build without stuff (without previous built packages)
-l lazy cleanup (before build, not after)
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmbb - build binary rpm from spec
Usage: [-c -p -i -r -R] spec...
Options:
-c - start from compile stage
-i - install and package
-p - packaging installed files into package
-r - find build requires
-R - find build requires with -bi
-i skip build, but do install and package
-r find build requires
-R find build requires with -bi
Ext. options:
-c start from compile stage
-p packaging installed files into package
-d build with dmake
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmbph - backports spec and rebuild it
Usage: [-r -u -U -n -i -m -v] [-M51] spec...
Use rpmbph -M51 for backport to ALT M51 and so on
Usage: [-r -u -U -n -i -m -v -q] [-M60] [-b REPONAME] spec...
Usage: rpmbph -b p6 for backport to ALT Linux p6 and so on
Options:
-r - remote build
-u/-U - sign and upload after build
-n - do not build in hasher (use first in the list)
-i - install built packages in test hasher
-v - more verbose
-u sign and upload after build
-n do not build in hasher
-i install built packages in test hasher
-b REPONAME binary repository name (4.1, p5, t6 and so on)
Ext. options:
-r remote build
-v more verbose
-q quiet
Set ROOTDIR variable for backport to the other system
---------------------------
rpmbs - make src.rpm from spec
Usage: [-s -u -c -n --nodeps] spec...
Using autodetected spec etersoft-build-utils.spec...
rpmbs - run git repo build or make src.rpm from spec
Usage: [GIRAR] [-s|-t|-u|-a|-c] [-o -z -n -p --nodeps] [-k [TARGETDIR]] [spec or src.rpm]...
Options:
-s - sign package(s) and move it to upload dir
-c - only sign package(s) with checking
-u - sign package(s), upload it and run build
-a TASK - sign package(s), update it and add to task TASK
-n - do not check with sisyphus_check before upload
-o - create nosrc.rpm package
-z - create src.rpm with compatible gzip compression
-u sign and run gear build task after build
-a TASK sign package(s)/repo, push/upload it and add to (shared) task TASK
-p POCKET build package in POCKET (supported on git.etersoft.ru only)
Ext. options:
-b REPONAME binary repository name (4.1, p5, t6 and so on)
-c only sign package(s) with checking
-f force operation (overwrite tag)
-s sign package(s) (and move it to dir ETERDESTSRPM if defined)
-t set tag with sign
-n do not check with sisyphus_check before upload
-o create nosrc.rpm package
-z create src.rpm with compatible gzip compression
---------------------------
rpmbsh - BSH - build source; use hasher
Usage: [-r -s -u -m -i -c] spec...
Using autodetected spec etersoft-build-utils.spec...
rpmbsh - BSH - build [from] source; use hasher
Usage: [-r -s -u -m -i -c] [-f] [spec or src.rpm]...
Options:
-r - remote build
-t - make temporary commit before build (rpmbb like behavior)
-u/-U - sign and upload after build
-s - sign and and copy to upload after build
-i - install built packages in test hasher
-c - build without stuff (previous built packages)
-r remote build (on builder64 host)
-u sign and run gear build task after build
-i install built packages in test hasher (via loginhsh -t)
Ext. options:
-c build without stuff (previous built packages)
-s sign (and move to dir ETERDESTSRPM if defined) after build
-t make temporary commit before build (rpmbb like behavior)
-l lazy cleanup (clean before build, not after)
-f force tag set (see rpmbs --help)
---------------------------
rpmbugs [-t] spec | bug number | package name | -qf command | /path/to/file - open bugs in BROWSER
rpmbugs - open bugs in BROWSER
rpmbugs [-t] spec | bug number | package name | -qf command_name | /path/to/file
Options:
-t list in text console
---------------------------
rpmcs spec - cleanup spec (like cleanup_spec command), adapted to ALT
rpmcs - cleanup spec (like cleanup_spec command)
Usage: rpmcs [specfile]
spec file can be autodetected from git repo
specfile - spec file (copy will be saved as specfile~)
---------------------------
rpmgp - various package download operations
Usage: [options] [system] pkgname
Usage: rpmgp [options] [-M60] [system] pkgname
pkgname - installed package name or src.rpm
system - name of system (ALT Linux by default if -a missed)
Options:
-a search pkgname in all known repositories
-c check if this package exists in the ALT Linux repository
-d download all matched packages
-g clone last built package repo
-gp clone last built package repo via public access
-gm remote clone repo to USER/packages and clone it locally
-m migrate to gear from spec/srpm
Ext. options:
-b install packages needed for build (use sudo apt-get) (need spec not package name)
-l list packages needed for build (in local pkg system notation) (experimental)
-r refresh package list (download it again)
-s list all known remote repositories
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmgs - get sources by spec / repository
Usage: [GIRAR] [-a -r ] spec [new_version]
You can run 'rpmgs file.spec new_version' for set new version and download it
Options:
rpmgp [options] [system] pkgname - download src.rpm from 'system' repository to RPM/SRPMS and install it
name - installed package name or src.rpm
system - name of system (ALT Linux by default if -a missed too)
-a search pkgname in all known repositories
-b install packages needed for build (use sudo apt-get) (need spec not package name)
-c check if this package exists in the ALT Linux repository
-d download all matched packages
-g remote clone repo to USER/packages and clone it locally
-l list packages needed for build (in local pkg system notation) (experimental)
-n do not install after download, just download in current dir
-r refresh package list (download it again)
-s list all known remote repositories
-a get all source (not only Source|Source0)
-f force download (remove source before download)
---------------------------
rpmgs - get sources for spec
Usage: [-a -r ] spec ... | spec new_version
You can run rpmgs file.spec new_version for set new version and download it
rpmlog - update changelog
Usage: rpmlog [-r|-s|-v] [-l|-t] [SPEC] [fromTAG] [toTAG]
Options:
-a - get all source (not only 0)
-f - force download (remove source before download)
-v increment version
-r increment release
-s increment subrelease
-l add changelog from git log (since last release tag or TAG)
-t test run (without change files and repo)
---------------------------
rpmpub - Etersoft specific script for publish gear repo to target ftp dir
Usage: rpmpub [-r PROJECTVERSION ] [SPEC] [TARGETDIR]
You can set default target dir in UPLOADDIR variable in config file
rpmpub - Etersoft specific script for publish gear repo to target ftp dir as src.rpm
Usage: rpmpub [-f] [-r PROJECTVERSION ] [SPEC] [TARGETDIR]
Options:
-f force set tag
-r PROJECTVERSION set other project version (PROJECTVERSION/sources)
TARGETDIR copy signed src.rpm package to TARGETDIR (f.i., /tmp/some_version/sources)
By default used path from Source: spec field.
Also you can set default target dir in ETERDESTSRPM variable.
---------------------------
rpmqf - the same as rpm -qf
rpmqf - the same as rpm -qf, but use which for search command place
---------------------------
rpmrb spec [vermajor][.verminor] [rel] - update spec to vermajor.verminor version, build %rel release
rpmrb - update spec to vermajor.verminor version, build %rel release
Usage: rpmrb spec [vermajor][.verminor] [rel]
Example: rpmrb name.spec 22.6 alt2
---------------------------
rpmU - the same as [sudo] rpm -Uvh - update package
Usage: rpmU [package(s)]
---------------------------
rpmunmets - tests unmets in build packages
Usage: [-M24 -M40]
Usage: [-M60] [-s]
Options:
-s - get all unmets
-M40 - test for distro ALT Linux 4.0
-M60 - test for distro ALT Linux M60
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmurl - open package Url in browser
Usage: [-c -f -p -s] spec or package...
Options:
-c - check URL
-f - print failed URL only
-p - open package page at sisyphus.ru
-s - open source dir in browser
Ext. options:
-f - print failed URL only
---------------------------
ginit [GEAR] - initialize repo in git.alt for current project
Use: ginit without parameters
aptU - update package and all it requires
Usage: aptU [-v] [-l] [package(s)]
Параметры:
-v verbose
-l print list of required packages
---------------------------
dmake [-t] [-p] - make with distcc using (distributed build)
-p run in plain mode (without pump)
-t run test compiler via ssh for build hosts
---------------------------
gacl - acl control for gear repo in git.alt
Usage: gacl [GIRAR] [-b REPONAME] [package] command [params]
Параметры:
GIRAR git.alt or git.eter
-b REPONAME binary repository name (4.1, p5, t6 and so on) (sisyphus by default)
Commands:
add USER add new user to ACL list for package
del USER del user from ACL list for package
show show current ACL list
Examples:
gacl package add newuser
gacl package del newuser
gacl -b p6 package show
Examples for git project from current dir:
gacl add newuser
gacl -b p6 show
---------------------------
ginit - initialize repo in git.alt for current project
Use: ginit [GIRAR]
ginit git.eter - for init in git.eter gear repo
---------------------------
gpull [args] - do git pull --rebase
Use: gpull without parameters
gitcam - do fast git commit amend (apply all current changes to the last commit)
Use: gitcam [-e]
-e - edit commit message
---------------------------
gpull - do git pull with fast forward only by default.
Usage: gpull [-a] [-n] [repo] [branch]
gpull without parameters or with branch name
gpull myrepo - for pull from remote myrepo gear repo (with --rebase by default)
Options:
-a pull all branches
-r rebase during pull
-m do merge if possible
-f pull with fast forward only (default)
-c return error status if repo was not uptodate (gpull || echo 'Was updated last time')
---------------------------
gpush - publish current project repo remote git repo
Use: gpush [-f|--force] [-a|--all] [project name] [target branch]
Usage: [GIRAR/remote alias] [-f|--force] [-a|--all] [-t|--tags] [tag]
Параметры:
-f - force push
-a - push all branches
-t - push all tags
---------------------------
grpmbs - multi repo rpmbs analogue (build packages via girar)
Run in dir contains subdirs
Usage: grpmbs [GIRAR] [-a|-u] [-f] package1... package2...
Параметры:
-a build all packages in one task
-u build packages separately (one package per task)
-f force set tags (see rpmbs)
---------------------------
grpmbsh - multi repo rpmbsh analogue (build packages in hasher)
Usage: grpmbs [GIRAR] package1... package2...
---------------------------
......@@ -22,14 +99,23 @@ jmake - make with ccache using and parallel build enabled
---------------------------
loginhsh - install package in hasher / take shell
Usage: [-t -i -h -r -c] [-M51] bin.rpm...
Usage: [-t -i -h -r -c -b -i] [package name] [package file bin.rpm] ...
Параметры:
-i - инициализировать hasher (создать заново каталог)
-c - cleanup hasher
-o - log in as root user
-t - использовать каталог hasher, предназначенный для тестов
-r - вход в hasher на удалённой машине
-M?? - branch name
-i initialize hasher
-b REPONAME binary repository name (4.1, p5, t6 and so on)
-c cleanup hasher
-q quiet mode (don't run anything)
-r run command
-o log in as root user
-v verbose
-x allow run X program (set DISPLAY and use xauth)
-t use test hasher dir (different to build hasher)
Extra options:
-a auto test mode for post myhsh build checking
-d print hasher dir
-M?? branch name
---------------------------
......@@ -38,129 +124,189 @@ Usage: [-t -i -h -r -c] [-M51] bin.rpm...
---------------------------
myhsh - build package via hasher
Usage: [-m -s -u -i -c -l] src.rpm...
Параметры:
-i - install built packages in test hasher
-c - build without stuff (previous built packages)
-l - lazy cleanup (before build, not after)
-i install built packages in test hasher
-c build without stuff (without previous built packages)
-l lazy cleanup (before build, not after)
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmbb - build binary rpm from spec
Usage: [-c -p -i -r -R] spec...
Параметры:
-c - start from compile stage
-i - установить файлы и упаковать
-p - packaging installed files into package
-r - искать сборочные зависимости (buildreq)
-R - find build requires with -bi
-i skip build, but do install and package
-r find build requires
-R find build requires with -bi
Ext. options:
-c start from compile stage
-p packaging installed files into package
-d build with dmake
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmbph - backports spec and rebuild it
Usage: [-r -u -U -n -i -m -v] [-M51] spec...
Use rpmbph -M51 for backport to ALT M51 and so on
Usage: [-r -u -U -n -i -m -v -q] [-M60] [-b REPONAME] spec...
Usage: rpmbph -b p6 for backport to ALT Linux p6 and so on
Параметры:
-r - удалённая сборка
-u/-U - sign and upload after build
-n - do not build in hasher (use first in the list)
-i - install built packages in test hasher
-v - more verbose
-u sign and upload after build
-n do not build in hasher
-i install built packages in test hasher
-b REPONAME binary repository name (4.1, p5, t6 and so on)
Ext. options:
-r remote build
-v more verbose
-q quiet
Set ROOTDIR variable for backport to the other system
---------------------------
rpmbs - make src.rpm from spec
Usage: [-s -u -c -n --nodeps] spec...
Using autodetected spec etersoft-build-utils.spec...
rpmbs - run git repo build or make src.rpm from spec
Usage: [GIRAR] [-s|-t|-u|-a|-c] [-o -z -n -p --nodeps] [-k [TARGETDIR]] [spec or src.rpm]...
Параметры:
-s - sign package(s) and move it to upload dir (ETERDESTSRPM)
-c - только подписать пакет(ы) и выполнить их проверку
-u - sign package(s), upload it and run build
-a TASK - sign package(s), update it and add to task TASK
-l - lazy cleanup (before build, not after)
-n - do not check with sisyphus_check before upload
-o - create nosrc.rpm package
-z - create src.rpm with compatible gzip compression
-u sign and run gear build task after build
-a TASK sign package(s)/repo, push/upload it and add to (shared) task TASK
-p POCKET build package in POCKET (supported on git.etersoft.ru only)
Ext. options:
-b REPONAME binary repository name (4.1, p5, t6 and so on)
-c only sign package(s) with checking
-f force operation (overwrite tag)
-s sign package(s) (and move it to dir ETERDESTSRPM if defined)
-t set tag with sign
-n do not check with sisyphus_check before upload
-o create nosrc.rpm package
-z create src.rpm with compatible gzip compression
---------------------------
rpmbsh - BSH - build source; use hasher
Usage: [-r -s -u -m -i -c] spec...
Using autodetected spec etersoft-build-utils.spec...
rpmbsh - BSH - build [from] source; use hasher
Usage: [-r -s -u -m -i -c] [-f] [spec or src.rpm]...
Параметры:
-r - удалённая сборка
-t - make temporary commit before build (rpmbb like behavior)
-u - sign and upload after build
-s - sign and and copy to upload dir (ETERDESTSRPM) after build
-i - install built packages in test hasher
-l - lazy cleanup (before build, not after)
-c - build without stuff (previous built packages)
-r remote build (on builder64 host)
-u sign and run gear build task after build
-i install built packages in test hasher (via loginhsh -t)
Ext. options:
-c build without stuff (previous built packages)
-s sign (and move to dir ETERDESTSRPM if defined) after build
-t make temporary commit before build (rpmbb like behavior)
-l lazy cleanup (clean before build, not after)
-f force tag set (see rpmbs --help)
---------------------------
rpmbugs [-t] spec | bug number | package name | -qf command | /path/to/file - open bugs in BROWSER
rpmbugs - открывает баги в браузере
rpmbugs [-t] spec | bug number | package name | -qf command_name | /path/to/file
Параметры:
-t list in text console
---------------------------
rpmcs spec - cleanup spec (like cleanup_spec command), adapted to ALT
rpmcs - cleanup spec (like cleanup_spec command)
Usage: rpmcs [specfile]
spec file can be autodetected from git repo
specfile - spec file (copy will be saved as specfile~)
---------------------------
rpmgp - various package download operations
Usage: [options] [system] pkgname
Usage: rpmgp [options] [-M60] [system] pkgname
pkgname - installed package name or src.rpm
system - name of system (ALT Linux by default if -a missed)
Параметры:
-a search pkgname in all known repositories
-c check if this package exists in the ALT Linux repository
-d download all matched packages
-g clone last built package repo
-gp clone last built package repo via public access
-gm remote clone repo to USER/packages and clone it locally
-m migrate to gear from spec/srpm
Ext. options:
-b install packages needed for build (use sudo apt-get) (need spec not package name)
-l list packages needed for build (in local pkg system notation) (experimental)
-r refresh package list (download it again)
-s list all known remote repositories
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmgs - get sources by spec / repository
Usage: [GIRAR] [-a -r ] spec [new_version]
You can run 'rpmgs file.spec new_version' for set new version and download it
Параметры:
rpmgp [options] [system] pkgname - download src.rpm from 'system' repository to RPM/SRPMS and install it
name - название установленного пакета или src.rpm
system - name of system (ALT Linux by default if -a missed too)
-a search pkgname in all known repositories
-b install packages needed for build (use sudo apt-get) (need spec not package name)
-c check if this package exists in the ALT Linux repository
-d download all matched packages
-g remote clone repo to USER/packages and clone it locally
-m migrate to gear from spec
-l list packages needed for build (in local pkg system notation) (experimental)
-n do not install after download, just download in current dir
-r refresh package list (download it again)
-s list all known remote repositories
-a get all source (not only Source|Source0)
-f force download (remove source before download)
---------------------------
rpmgs - get sources for spec
Usage: [-a -r ] spec ... | spec new_version
You can run rpmgs file.spec new_version for set new version and download it
rpmlog - update changelog
Usage: rpmlog [-r|-s|-v] [-l|-t] [SPEC] [fromTAG] [toTAG]
Параметры:
-a - получаем все исходники (не только основной (0))
-f - начать загрузку в любом случае
-v increment version
-r increment release
-s increment subrelease
-l add changelog from git log (since last release tag or TAG)
-t test run (without change files and repo)
---------------------------
rpmpub - Etersoft specific script for publish gear repo to target ftp dir
Usage: rpmpub [-r PROJECTVERSION ] [SPEC] [TARGETDIR]
You can set default target dir in UPLOADDIR variable in config file
rpmpub - Etersoft specific script for publish gear repo to target ftp dir as src.rpm
Usage: rpmpub [-f] [-r PROJECTVERSION ] [SPEC] [TARGETDIR]
Параметры:
-f force set tag
-r PROJECTVERSION set other project version (PROJECTVERSION/sources)
TARGETDIR copy signed src.rpm package to TARGETDIR (f.i., /tmp/some_version/sources)
By default used path from Source: spec field.
Also you can set default target dir in ETERDESTSRPM variable.
---------------------------
rpmqf - the same as rpm -qf
rpmqf - the same as rpm -qf, but use which for search command place
---------------------------
rpmrb spec [vermajor][.verminor] [rel] - update spec to vermajor.verminor version, build %rel release
rpmrb - update spec to vermajor.verminor version, build %rel release
Usage: rpmrb spec [vermajor][.verminor] [rel]
Example: rpmrb name.spec 22.6 alt2
---------------------------
rpmU - the same as [sudo] rpm -Uvh - update package
Usage: rpmU [package(s)]
---------------------------
rpmunmets - tests unmets in build packages
Usage: [-M24 -M40]
Usage: [-M60] [-s]
Параметры:
-s - get all unmets
-M40 - test for distro ALT Linux 4.0
-M60 - test for distro ALT Linux M60
---------------------------
Using autodetected spec etersoft-build-utils.spec...
rpmurl - open package Url in browser
Usage: [-c -f -p -s] spec or package...
Параметры:
-c - проверить доступность URL
-f - print failed URL only
-p - open package page at sisyphus.ru
-p - открыть страницу пакета на sisyphus.ru
-s - открыть в браузере тот каталог, где в Сети лежат исходники
Ext. options:
-f - print failed URL only
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment