gear-remotes-watch(1)
| GEAR-REMOTES-WATCH(1) | User Contributed Perl Documentation | GEAR-REMOTES-WATCH(1) |
NAME
gear-remotes-watch - check for updates in git repo listed in .gear/upstream/remotes file
SYNOPSIS
gear-remotes-watch [-h|--help] [-v|--verbose] [-q|--quiet] [--action command]
DESCRIPTION
gear-remotes-watch checks for updates in foreign upstream git repository(ies) listed in .gear/upstream/remotes file. For that gear-remotes-watch 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, notification is issued.
gear-remotes-watch 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
- --action command
- Execute a command for new upstream version. The arguments passed to command follow the Debian's uupdate(1) style but with tarball replaced with git tag. For now it has 3 arguments: The first is 2 which is watch_format_version, the second is new version and the third is git tag for new version.
- -v|--verbose
- Verbose. Prints extra information. Multiple -v accumulate.
- -q|--quiet
- Quiet. Print no warnings. =item -h, --help
Display this help and exit.
AUTHOR
Written by Igor Vlasenko <viy@altlinux.org>.
COPYING
Copyright (c) 2014-2022 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 |
