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
87cd8135
Commit
87cd8135
authored
Jul 22, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: do fatal error if we had no downloaded anything
parent
950f0efb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
rpmgs
bin/rpmgs
+8
-0
No files found.
bin/rpmgs
View file @
87cd8135
...
...
@@ -347,6 +347,7 @@ do
SOURCELIST
=
$(
grep
"^Source0
\?
:"
$spec
|
sed
-e
"s|:.*||g"
)
fi
DOWNLOADSOME
=
''
for
SN
in
$SOURCELIST
do
GETSOURCE
=
$(
eval_spec
$spec
| get_var
"
$SN
"
)
...
...
@@ -384,6 +385,7 @@ do
else
echog
"Try to load
${
GETSOURCEURL
}
for
$spec
"
download_to
"
$GETSOURCEURL
"
"
$FTB
"
||
fatal
"Can't download
$GETSOURCEURL
"
DOWNLOADSOME
=
1
fi
else
if
!
rhas
"
$GETSOURCE
"
"ps?://"
;
then
...
...
@@ -397,6 +399,7 @@ do
fi
fi
download_any_tarball
"
$GETSOURCE
"
"
$FTB
"
DOWNLOADSOME
=
1
# TODO: fix download single packed file
#else
# download_to "$GETSOURCE" "$FTB"
...
...
@@ -413,6 +416,7 @@ do
docmd git svn clone
$GETSOURCESVN
$(
get_root_git_dir
)
echo
"Run svn rebase from
$GETSOURCESVN
"
docmd git svn rebase
DOWNLOADSOME
=
1
elif
[
-n
"
${
GETSOURCEGIT
}
"
]
;
then
echog
"Try to fetch
${
GETSOURCEGIT
}
for
$spec
"
#TODO check upstream
...
...
@@ -442,16 +446,20 @@ do
#docmd gammit
#docmd git commit -m "merge $FTB with rpmgs script"
DOWNLOADSOME
=
1
elif
is_gear
;
then
commit_tarball
"
$FTB
"
# TODO: make plugins
update_gear_sources
DOWNLOADSOME
=
1
fi
echog
"DONE with
$FTB
"
done
[
-n
"
$DOWNLOADSOME
"
]
||
fatal
"No upstream code is updated for nev version
$GSSETVERSION
."
if
[
-z
"
$GSSKIPADDCHANGELOG
"
]
;
then
# Write changelog if all done
CURVER
=
$(
get_version
$spec
)
...
...
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