reqs-up
Version, currently 0.2.016 versions
- 0.2.0latestMar 29, 2026
- 0.1.0not indexedJul 18, 2026
- 0.0.14not indexedJul 18, 2026
- 0.0.13not indexedJul 18, 2026
- 0.0.12not indexedJul 18, 2026
- 0.0.11not indexedJul 18, 2026
- 0.0.10not indexedJul 18, 2026
- 0.0.9not indexedJul 18, 2026
- 0.0.8not indexedJul 18, 2026
- 0.0.7not indexedJul 18, 2026
- 0.0.6not indexedJul 18, 2026
- 0.0.5not indexedJul 18, 2026
- 0.0.4not indexedJul 18, 2026
- 0.0.3not indexedJul 18, 2026
- 0.0.2not indexedJul 18, 2026
- 0.0.1not indexedJul 18, 2026
github.com/evgkrsk/reqs-up
Simple CLI utility to update semver versions in ansible's requirements.yml files.
Installation
# Add this to your shard.yml
dependencies:
reqs-up:
github: evgkrsk/reqs-up
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
>= 1.4.0, < 2.0.0- License
- GPL3+
- Author
- Evgenii Tereshkov
- Target
reqs-upfrom src/main.cr
- Executable
reqs-up
Dependencies
Development Dependencies
- ameba*github: crystal-ameba/ameba, tag: v1.6.4dev
README
reqs-up
Simple CLI utility to update semver versions in ansible's requirements.yml files.
It tries to fetch remote url (only git supported at moment) and bump up version to latest one.
It is assumed that all urls is accesible or public (i.e. may be view by "git ls-remote" without manual authentication).
Note: all comments in YAML will be LOST (PR-s welcome)!
Examples
# reqs-up -f ./requirements.yaml
- update 'requirements.yaml' file in-place, bumping up versions
# reqs-up --dry-run
- dry-run, print new version of YAML doc on stdout. requirements.yml assumed in current working dir.
# reqs-up --minor
- update only within minor version (same major). Example: 1.2.3 -> 1.9.5 (but not 2.0.0)
# reqs-up --patch
- update only within patch version (same major and minor). Example: 1.2.3 -> 1.2.8 (but not 1.3.0)
Output
When updating, the tool shows the old version, new version, and explanation:
ansible-role-1: 1.2.3 โ 1.2.8 (max patch version for 1.2.x)
ansible-role-2: 1.2.3 โ 1.9.5 (max minor version for 1.x)
ansible-role-3: 1.2.3 โ 2.1.0 (latest)
Options
-f FILE,--file=FILE- Specifies the requirements file (default: ./requirements.yml)-n,--dry-run- Output result YAML to stdout instead of writing to file-m,--minor- Update only within minor version (same major)-p,--patch- Update only within patch version (same major and minor)-h,--help- Show help and exit-v,--version- Print version and exit
Note: --minor and --patch are mutually exclusive.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Mar 29, 2026
- Commit
4995ccca5269- Crystal
>= 1.4.0, < 2.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/evgkrsk/reqs-up
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 16