Skip to main content

Galaxy Updater

https://img.shields.io/pypi/v/galaxy_updater.svg https://img.shields.io/travis/danrue/galaxy_updater.svg

Installation

pip install galaxy-updater

Usage

Given an example ansible-galaxy role file:

$ cat sample_requirements.yml
---
- src: https://github.com/geerlingguy/ansible-role-mysql.git
  name: ansible-role-mysql
  version: 1.9.0
- src: https://github.com/geerlingguy/ansible-role-apache.git
  name: ansible-role-apache
- src: https://github.com/geerlingguy/ansible-role-jenkins.git
  name: ansible-role-jenkins
  version: 1.2.8
- src: https://github.com/geerlingguy/ansible-role-php.git
  name: ansible-role-php
  version: 1.5.0
- src: yatesr.timezone
- src: carlosbuenosvinos.ansistrano-deploy
  version: 1.4.0

Find and print the latest version of each role listed in an ansible-galaxy role file:

$ galaxy-updater sample_requirements.yml
ansible-role-mysql: 1.9.0 -> 1.9.1
ansible-role-apache: None -> 1.5.0
ansible-role-php: 1.5.0 -> 1.7.3
yatesr.timezone: None -> 1.0.0
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

Update the sample_requirements.yml file in place:

$ galaxy-updater --inline sample_requirements.yml
ansible-role-mysql: 1.9.0 -> 1.9.1
ansible-role-apache: None -> 1.5.0
ansible-role-php: 1.5.0 -> 1.7.3
yatesr.timezone: None -> 1.0.0
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

Use –yolo to leave unpinned dependencies unpinned:

$ galaxy-updater --yolo sample_requirements.yml
ansible-role-mysql: 1.9.0 -> 1.9.1
ansible-role-php: 1.5.0 -> 1.7.3
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

History

0.4.0 (2016-09-01)

  • Add support for galaxy style roles (user.rolename)

0.3.0 (2016-04-08)

  • Add support for –include and –exclude options

0.2.0 (2016-04-07)

  • Add –inline, –yolo, –version

0.1.3 (2016-01-15)

  • First release - print out latest versions for each git role listed

Release files for galaxy-updater 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galaxy-updater 0.4.0
File Size Uploaded
galaxy-updater-0.4.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for galaxy-updater 0.4.0
File Interpreter ABI Platform
galaxy_updater-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 22.7 kB

Release files / galaxy-updater-0.4.0.tar.gz

Download URL galaxy-updater-0.4.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
586380ba412cb73a3feddd8dc83c04f02423720b8758f425e0a2fd6dc885b474
BLAKE2b-256 checksum
How to use checksums
7e039d726e5a1d98514506b4e0e030a3e5f6d427450dc78212fb155a89727d9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / galaxy_updater-0.4.0-py2.py3-none-any.whl

Download URL galaxy_updater-0.4.0-py2.py3-none-any.whl
Size 6.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d6aed61c588884189928a0f84e5067c1553ea510fcde70d4c4e58c9331a98f88
BLAKE2b-256 checksum
How to use checksums
9651a829bfd04d2c75886a97fefbcd01387ec468b5d1f2ccf995652f8d783bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.3

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page