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
c75f4910
Commit
c75f4910
authored
Mar 17, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
2a3fb68f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
rpmbs
bin/rpmbs
+5
-4
rpmgp
bin/rpmgp
+1
-1
rpmgs
bin/rpmgs
+2
-0
No files found.
bin/rpmbs
View file @
c75f4910
...
...
@@ -344,6 +344,7 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
# if more then one spec, use common task
if
[
"
$PREPARETASK
"
=
"internal"
]
||
[
-n
"
$RUNTASK
"
]
;
then
docmd ssh
$GEARHOST
task run
$TESTONLY
$TASKNUMBER
res
=
$?
fi
if
[
-n
"
$TASKNUMBER
"
]
;
then
...
...
@@ -351,7 +352,7 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
GIT_ALT
=
$GEARHOST
girar-show
"
$TASKNUMBER
@"
fi
exit
exit
$res
fi
pack_src_rpm
$LISTRPMARGS
...
...
@@ -374,9 +375,9 @@ fi
#pkg_release_check $LISTBUILT
# if only one file
if
[
-r
"
$LISTBUILT
"
]
;
then
check_gear_and_tag
fi
#
if [ -r "$LISTBUILT" ] ; then
#
check_gear_and_tag
#
fi
echog
"Will try to sign follow packages with GPG:
\$
LISTBUILT"
...
...
bin/rpmgp
View file @
c75f4910
...
...
@@ -46,7 +46,7 @@ list_systems()
html_filter
()
{
grep
"src.rpm"
|
sed
-e
"s|.*href=
\"
||g"
|
sed
-e
"s|
\"
.*||g"
grep
"src.rpm"
|
sed
-e
"s|.*href=
\"
||g"
|
sed
-e
"s|
\"
.*||g"
|
grep
"rpm$"
}
list_filter
()
...
...
bin/rpmgs
View file @
c75f4910
...
...
@@ -175,6 +175,8 @@ function get_source_git()
local
HGIT
=
"
$(
grep
-B1
"^
$SN
:"
"
$1
"
|
head
-n1
|
grep
"^# "
|
sed
-e
"s|#[[:space:]]*||"
-e
"s|[[:space:]]*
$|
|"
)
"
if
echo
"
$HGIT
"
|
grep
-q
-E
"(git|https|http)://.*
\.
git$"
||
echo
"
$HGIT
"
|
grep
-q
"https://github.com/.*"
;
then
GETSOURCEGIT
=
"
$(
echo
"
$HGIT
"
|
sed
-e
"s|.*[[:space:]]
\(
.*://
\)
|
\1
|"
)
"
#"
else
return
1
fi
}
...
...
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