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
8d39aafe
Commit
8d39aafe
authored
Jan 24, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: add support for update of remotes branches
parent
fba23a3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
rpmgs
bin/rpmgs
+13
-1
No files found.
bin/rpmgs
View file @
8d39aafe
...
@@ -426,12 +426,24 @@ if [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verify perl-Gear-Rules ;
...
@@ -426,12 +426,24 @@ if [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verify perl-Gear-Rules ;
# TODO: rpm-uscan 0.20.2.17.11 or above
# TODO: rpm-uscan 0.20.2.17.11 or above
$EPMCMD
assure rpm-uscan
$EPMCMD
assure rpm-uscan
$EPMCMD
assure gear-uupdate
$EPMCMD
assure gear-uupdate
if
ls
$(
get_root_git_dir
)
/.gear |
grep
\.
watch
$
;
then
if
ls
$(
get_root_git_dir
)
/.gear |
grep
\.
watch
$
;
then
docmd rpm-uscan
--force-action
gear-uupdate
docmd rpm-uscan
--force-action
gear-uupdate
exit
0
exit
0
else
else
warning
"there are no .watch files in (get_root_git_dir)/.gear, skip rpm-uscan"
warning
"there are no .watch files in (get_root_git_dir)/.gear, skip rpm-uscan"
fi
fi
elif
gear-rules-verify |
grep
-Eq
"Ready for external VCS update"
;
then
#[ -n "$GSSETVERSION" ] && warning "we will ignore version and update to the latest version from watch file"
# TODO: rpm-uscan 0.20.2.17.11 or above
# https://www.altlinux.org/Gear/remotes
$EPMCMD
assure gear-remotes-uscan perl-Gear-Remotes
$EPMCMD
assure gear-commit gear
docmd gear-remotes-restore
docmd gear-remotes-uscan
docmd gear-commit
# TODO: skip downloading for tarball for this branch
else
warning
"skipping"
fi
fi
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