Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
4f8dad7b
Commit
4f8dad7b
authored
Jan 31, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update helps
parent
df27b3bc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
25 deletions
+36
-25
loginhsh
bin/loginhsh
+3
-3
rpmbb
bin/rpmbb
+10
-6
rpmbph
bin/rpmbph
+7
-4
rpmbs
bin/rpmbs
+2
-2
rpmbsh
bin/rpmbsh
+3
-3
rpmlog
bin/rpmlog
+5
-0
rpmurl
bin/rpmurl
+6
-7
No files found.
bin/loginhsh
View file @
4f8dad7b
...
...
@@ -35,13 +35,13 @@ phelp()
echog
" -r run command"
echog
" -o log in as root user"
echog
" -v verbose"
echog
" -x allow run X program (set DISPLAY and
use
xauth)"
echog
" -t use test hasher dir (different to
build hashe
r)"
echog
" -x allow run X program (set DISPLAY and
install
xauth)"
echog
" -t use test hasher dir (different to
usual build di
r)"
echo
echog
"Extra options:"
echog
" -a auto test mode for post myhsh build checking"
echog
" -d print hasher dir"
echog
" -M?? b
ranch name
"
echog
" -M?? b
inary repository name (obsoleted)
"
}
while
getopts
:chitoadvqr:b:x opt
;
do
...
...
bin/rpmbb
View file @
4f8dad7b
...
...
@@ -22,11 +22,11 @@ fi
#############################
Usage
=
"Usage:
$name
[-c -p -i -r -R]
spec...
"
Usage
=
"Usage:
$name
[-c -p -i -r -R]
[spec]
"
function
mygetopts
()
{
name
=
${
0
##*/
}
Descr
=
"
$name
- build binary rpm from spec"
Descr
=
"
$name
- build binary rpm from spec
or from git
"
phelp
()
{
...
...
@@ -34,13 +34,17 @@ phelp()
echog
"
$Usage
"
echo
echog
"Options:"
echog
" -i skip build, but do install and package"
echog
" -r find build requires"
echog
" -R find build requires with -bi"
if
is_alt
;
then
echog
" -i skip build stage, but do install files and package it"
echog
" -p only packaging installed files into package"
fi
echog
" -r find build requires (run buildrequires)"
echog
" -R find build requires during install (run buildrequires with -bi)"
echo
echog
"Ext. options:"
if
is_alt
;
then
echog
" -c start from compile stage"
echog
" -p packaging installed files into package"
fi
echog
" -d build with dmake"
}
...
...
bin/rpmbph
View file @
4f8dad7b
...
...
@@ -5,7 +5,7 @@
#
# BPH - backport; use hasher
# Used ROOTDIR if defined
# Used ROOTDIR if defined
(for non ALT systems)
# Makes backport package to any target platfrom (RPM, DEB, TGZ)
# Релиз строится на основе релиза из Сизифа. Если там был alt4, то здесь будет alt0.M24.4
# TODO: use RPMBUILDARG
...
...
@@ -315,7 +315,7 @@ phelp()
{
echog
"
$Descr
"
echog
"
$Usage
"
echo
"Usage: rpmbph -b
$EXAMPLEALTDISTRVERSION
for backport to ALT Linux
$EXAMPLEALTDISTRVERSION
and so on"
echo
"Usage: rpmbph
[GIRAR]
-b
$EXAMPLEALTDISTRVERSION
for backport to ALT Linux
$EXAMPLEALTDISTRVERSION
and so on"
echo
echog
"Options:"
echog
" -u sign and upload after build"
# will pass to rpmbs/rpmbsh
...
...
@@ -324,10 +324,13 @@ phelp()
echog
" -b REPONAME binary repository name (4.1, p5, t6 and so on)"
echo
echog
"Ext. options:"
echog
" -r remote build"
# will pass to rpmbs/rpmbsh
#
echog " -r remote build" # will pass to rpmbs/rpmbsh
echog
" -v more verbose"
echog
" -q quiet"
echog
"Set ROOTDIR variable for backport to the other system"
echo
echog
"Examples:"
echog
"
$
rpmbph -b p6 -n -u - backport to p6 and ask to build it"
# echog "Set ROOTDIR variable for backport to the other system"
# echog " -m - send result via e-mail"
}
...
...
bin/rpmbs
View file @
4f8dad7b
...
...
@@ -47,19 +47,19 @@ phelp()
echog
" -u sign and run gear build task after build"
echog
" -a TASK sign package(s)/repo, push/upload it and add to (shared) task TASK"
echog
" -p POCKET build package in POCKET (supported on git.etersoft.ru only)"
echog
" -b REPONAME binary repository name (4.1, p5, t6 and so on)"
echo
#echog "Korinf options:"
#echog " -k [TARGET] - generate src.rpm and publish to TARGET dir (from Source: by default)"
#echog " -r [RELEASE] - publish to RELEASE target dir version"
echog
"Ext. options:"
echog
" -b REPONAME binary repository name (4.1, p5, t6 and so on)"
echog
" -c only sign package(s) with checking"
echog
" -f force operation (overwrite tag)"
echog
" -s sign package(s) (and move it to dir ETERDESTSRPM if defined)"
echog
" -t set tag with sign"
echog
" -n do not check with sisyphus_check before upload"
echog
" -o create nosrc.rpm package"
echog
" -z create src.rpm with compatible gzip compression"
echog
" -z create src.rpm with compatible gzip compression
(obsoleted)
"
# echog " -U - sign package(s) and upload it to Incoming (updates)"
# echog " -d - remove package(s) from SRPMS and Incoming"
}
...
...
bin/rpmbsh
View file @
4f8dad7b
...
...
@@ -28,16 +28,16 @@ phelp()
echog
"
$Usage
"
echo
echog
"Options:"
echog
" -r remote build (on
$BUILDSERVER
host)"
echog
" -u sign and run gear build task after build"
echog
" -i install built packages in test hasher (via loginhsh -t)"
echog
" -f force tag set (see rpmbs --help)"
echo
echog
"Ext. options:"
echog
" -c build without stuff (previous built packages)"
echog
" -c build without stuff (
without
previous built packages)"
echog
" -s sign (and move to dir ETERDESTSRPM if defined) after build"
echog
" -t make temporary commit before build (rpmbb like behavior)"
echog
" -l lazy cleanup (clean before build, not after)"
echog
" -f force tag set (see rpmbs --help
)"
# echog " -r remote build (on $BUILDSERVER host
)"
}
while
getopts
:hrulsimt opt
;
do
...
...
bin/rpmlog
View file @
4f8dad7b
...
...
@@ -18,7 +18,12 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echog
" -r increment release"
echog
" -s increment subrelease"
echog
" -l add changelog from git log (since last release tag or TAG)"
echo
echog
"Ext. options:"
echog
" -t test run (without change files and repo)"
echo
echog
"Example:"
echog
"
$
rpmlog -v -l - typical build new version"
exit
0
fi
...
...
bin/rpmurl
View file @
4f8dad7b
...
...
@@ -4,8 +4,6 @@
# Public domain
#
# Open package Url in BROWSER
# Параметры:
# - название спек-файла
#
# load common functions, compatible with local and installed script
...
...
@@ -20,18 +18,19 @@ Usage="Usage: $name [-c -f -p -s] spec or package..."
function
mygetopts
()
{
name
=
${
0
##*/
}
Descr
=
"
$name
- open package Url in browser"
Descr
=
"
$name
- open package Url in
the default
browser"
phelp
()
{
echog
"
$Descr
"
echog
"
$Usage
"
echog
"Options:"
echog
" -c - check URL"
echog
" -p - open package page at sisyphus.ru"
echog
" -s - open source dir in browser"
echog
" -c check if package URL is accessible"
echog
" -p open package page on http://sisyphus.ru"
echog
" -s open source dir in the default browser"
echo
echog
"Ext. options:"
echog
"
-f -
print failed URL only"
echog
"
-f
print failed URL only"
}
while
getopts
:hcfsp opt
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment