Possibly unmaintained collections in ACP 15.0.0

This is a follow-up to Possibly unmaintained collections in ACP 14.0.0

unchanged-dependencies.py 15.0.0 13.0.0

unchanged-dependencies.py:

#!/usr/bin/python
# coding: utf-8
# Author: Mario Lenz <m@riolenz.de>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Ansible Project, 2022
"""Show unchanged dependencies between Ansible versions."""

import argparse


def get_dependencies(version):
    dependencies = {}
    major_version = version.split('.')[0]
    with open('%s/ansible-%s.deps' % (major_version, version)) as f:
        for line in f:
            dependency = line.strip().split(':')
            dependencies[dependency[0]] = dependency[1].strip()
    return dependencies


def compare_dependencies(dependencies1, dependencies2):
    for dependency in dependencies1:
        if dependency in dependencies2:
            if dependencies1[dependency] == dependencies2[dependency]:
                print(dependency)


def main():
    parser = argparse.ArgumentParser(description='Show unchanged dependencies between Ansible versions.')
    parser.add_argument('version1', help='first version for the comparison')
    parser.add_argument('version2', help='second version for the comparison')
    args = parser.parse_args()
    dependencies1 = get_dependencies(args.version1)
    dependencies2 = get_dependencies(args.version2)
    compare_dependencies(dependencies1, dependencies2)


if __name__ == '__main__':
    main()
1 Like

Thanks as always for doing this, and I appreciate you starting it earlier

Looks like VyOS are centralizing all there discussion to ⚓ Query: VyOS Ansible Collection issues

community.library_inventory_filtering_v1 only has changes if there are bugfixes, docs improvement/fixes, or (not very likely) new features. So it’s not surprising that there are no changes over a long time, as long as it keeps working :slight_smile:

(It’s tested both by its CI and the CI of several collections that use it.)

@mariolenz I reached out to the community.grafana maintainers. If they want/need help, I am interested. For whatever that is worth

2 Likes

community.hashi_vault is not exactly unmaintained but I have had exceedingly little time to attend to it so there hasn’t been much activity.

As I mentioned in a different topic, I’ve been toying with the idea of voluntarily suggesting its removal and/or seeking out one or more volunteers to take up a primary maintainer role on the project.

I’ve been so overloaded that’s it’s been hard to even find time to think through options for that or put in the energy to seek out help :weary_face:

Since you’re interested FYI: ACP 14 + 15: Possibly unmaintained collection community.grafana and Unmaintained collection: Removal from the Ansible Community Package.