fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

David Adambuild_tools: add script to get supported Ubuntu versions5130fc6f1

master
552 B22 linesraw
1# /// script
2# requires-python = ">=3.5"
3# dependencies = [
4#     "launchpadlib",
5# ]
6# ///
7
8from launchpadlib.launchpad import Launchpad
9
10if __name__ == "__main__":
11    launchpad = Launchpad.login_anonymously(
12        "fish shell build script", "production", "~/.cache", version="devel"
13    )
14    ubu = launchpad.projects("ubuntu")
15    print(
16        "\n".join(
17            x["name"]
18            for x in ubu.series.entries
19            if x["supported"] == True
20            and x["name"] not in ("trusty", "xenial", "bionic", "focal")
21        )
22    )