zoryn-check-upstream(1)
| ZORYN-CHECK-UPSTREAM(1) | Zoryn Manual | ZORYN-CHECK-UPSTREAM(1) |
NAME
zoryn-check-upstream - Scan for upstream source methods.
SYNOPSIS
zoryn check upstream [-C DIR] [--debug] [--package=PKG] [OPTION]…
DESCRIPTION
Analyze package and determine upstream source and recommended update method. When run inside the package's gear repository (spec Name matches), the local worktree is scanned first, so uncommitted changes are seen. Otherwise the remote gitweb (git.altlinux.org, HEAD of the gears/srpms repo) is queried.
Checks for:
- Watch files
- file named in .gear/rules or .gear-rules via copy: (a * glob is substituted with the package name), .gear/watch, <package>.watch, .gear/<package>.watch, debian/watch
- VCS URLs
- # VCS-Git: comment in spec file
- Upstream git
- .gear/upstream/remotes config
Returns information about upstream source and recommends update workflow: git-merge vs tarball.
OPTIONS
- -C DIR
- Change to directory DIR before running.
- -d, --debug
- Enable debug output.
- -p PKG, --package=PKG
- Package name to check (default: from .gear spec in current directory).
COMMON OPTIONS
- --help[=FMT] (default=auto)
- Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
- --version
- Show version information.
EXIT STATUS
zoryn check upstream exits with:
- 0
- on success.
- 123
- on indiscriminate errors reported on standard error.
- 124
- on command line parsing errors.
- 125
- on unexpected internal errors (bugs).
EXAMPLES
Scan package:
zoryn check upstream -p nginx
SEE ALSO
zoryn-up(1), zoryn-gen-watch(1)
zoryn(1)
| Zoryn 0.46.0 |
