gear-remotes-uscan(1)
| GEAR-REMOTES-USCAN(1) | User Contributed Perl Documentation | GEAR-REMOTES-USCAN(1) |
NAME
gear-remotes-uscan - update to new version if found in git repo listed in .gear/upstream/remotes file
SYNOPSIS
gear-remotes-uscan
DESCRIPTION
gear-remotes-uscan is like gear-remotes-watch, but if a new version is found it calls gear-uupdate to perform gear repository update instead of issuing a notification.
It first checks for updates in foreign upstream git repository(ies) listed in .gear/upstream/remotes file. For that gear-remotes-uscan lists tags available in upstream git repository and compares them with the current version in spec file. If a tag with greater version is found, it calls gear-uupdate with correct options to perform gear repository update.
gear-remotes-uscan uses the following auxiliary scripts, if
found and if they are executable: .gear/upstream/filter-tag is used
to separate release tags from all tags found, and
.gear/upstream/transform-tag is used to transform custom tags like
RELEASE_1_0_1 to rpm version compatible look like 1.0.1. In other words,
after you fetch remote commits, you should get a list of available upstream
versions using
git tag | .gear/upstream/filter-tag | .gear/upstream/transform-tag
OPTIONS
- -h, --help
- Display this help and exit.
- --action cmd
- Call cmd instead of gear-uupdate.
- -v, --verbose
- Increase verbosity level.
- -q, --quiet
- Quiet mode.
AUTHOR
Written by Igor Vlasenko <viy@altlinux.org>.
COPYING
Copyright (c) 2014-2021 Igor Vlasenko, ALT Linux Team.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| 2024-11-16 | perl v5.38.2 |
