This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/bin/renovate-ls-apps.py

21 lines
403 B
Python
Raw Normal View History

2021-06-03 09:40:55 +00:00
#!/usr/bin/env python3
# Usage: ./renovate-ls-apps.py
#
# Output list of apps for Renovate bot configuration
from abralib import REPOS_TO_SKIP, get_repos_json
2021-06-03 09:40:55 +00:00
def main():
"""Run the script."""
repos = [p["full_name"] for p in get_repos_json()]
repos.sort()
for repo in repos:
2021-06-03 09:45:30 +00:00
if repo.split("/")[-1] in REPOS_TO_SKIP:
continue
2021-06-03 09:40:55 +00:00
print(f'"{repo}",')
main()