Skip to content

Simple CLI utility to update semver versions in ansible's requirements.yml files.

License

Notifications You must be signed in to change notification settings

evgkrsk/reqs-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d87acbd · Oct 8, 2022

History

25 Commits
Oct 8, 2022
Jun 18, 2021
Jun 23, 2021
Aug 15, 2021
Apr 11, 2022
Jun 23, 2021
Jun 18, 2021
Oct 8, 2022
Jun 18, 2021
Jun 28, 2021
Oct 8, 2022
Oct 8, 2022

Repository files navigation

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.