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
866d366b
Commit
866d366b
authored
Nov 05, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: add support for git url in the comment before Source line
parent
6e6d53ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
rpmgs
bin/rpmgs
+8
-1
No files found.
bin/rpmgs
View file @
866d366b
...
...
@@ -166,6 +166,13 @@ function get_source_svn()
# Source-git: http://git.altlinux.org/people/lav/packages/rpm-build-fonts.git
function
get_source_git
()
{
local
SN
=
"
$2
"
# hack for git url under Source
local
HGIT
=
"
$(
grep
-B1
"^
$SN
:"
"
$1
"
|
head
-n1
|
grep
"^# "
|
sed
-e
"s|#[[:space:]]*||"
-e
"s|[[:space:]]*
$|
|"
)
"
if
echo
"
$HGIT
"
|
grep
-q
"https*://.*
\.
git$"
||
echo
"
$HGIT
"
|
grep
-q
"https://github.com/.*"
;
then
GETSOURCEGIT
=
"
$HGIT
"
return
fi
GETSOURCEGIT
=
$(
source_ext
"
$1
"
git
"
$2
"
)
}
...
...
@@ -561,7 +568,7 @@ if [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verify perl-Gear-Rules ;
update_predownloaded production
DOWNLOADSOME
=
1
else
warning
"have no version, but skipped gear-rules-verify"
warning
"have no version, but skipped gear-rules-verify
(Check if you need run gear-remotes-save)
"
fi
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