From 0677b53344a046283aabde60f3f00c8fd11a72a6 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Sat, 23 Nov 2024 23:56:29 +0000 Subject: [PATCH] social: migrate from x to bluesky --- README.md | 2 +- docs/src/community/index.rst | 2 +- docs/src/conf.py | 6 +++++- docs/src/developers_guide/release.rst | 4 ++-- tools/release_do_nothing.py | 8 ++++---- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7eec86c6da..58db3d4949 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ | | | |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ⚙️ CI | [![ci-manifest](https://github.com/SciTools/iris/actions/workflows/ci-manifest.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-manifest.yml) [![ci-tests](https://github.com/SciTools/iris/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-tests.yml) [![ci-wheels](https://github.com/SciTools/iris/actions/workflows/ci-wheels.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-wheels.yml) [![pre-commit](https://results.pre-commit.ci/badge/github/SciTools/iris/main.svg)](https://results.pre-commit.ci/latest/github/SciTools/iris/main) | -| 💬 Community | [![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) [![GH Discussions](https://img.shields.io/badge/github-discussions%20%F0%9F%92%AC-yellow?logo=github&logoColor=lightgrey)](https://github.com/SciTools/iris/discussions) [![twitter](https://img.shields.io/twitter/follow/scitools_iris?color=yellow&label=twitter%7Cscitools_iris&logo=twitter&style=plastic)](https://twitter.com/scitools_iris) | +| 💬 Community | [![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) [![GH Discussions](https://img.shields.io/badge/github-discussions%20%F0%9F%92%AC-yellow?logo=github&logoColor=lightgrey)](https://github.com/SciTools/iris/discussions) [![bluesky](https://img.shields.io/badge/scitools-0285FF?label=bluesky&logo=bluesky&logoColor=0285FF)](https://bsky.app/profile/scitools.bsky.social) | | 📖 Documentation | [![rtd](https://readthedocs.org/projects/scitools-iris/badge/?version=latest)](https://scitools-iris.readthedocs.io/en/latest/?badge=latest) | | 📈 Health | [![codecov](https://codecov.io/gh/SciTools/iris/branch/main/graph/badge.svg?token=0GeICSIF3g)](https://codecov.io/gh/SciTools/iris) | | ✨ Meta | [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![NEP29](https://raster.shields.io/badge/follows-NEP29-orange.png)](https://numpy.org/neps/nep-0029-deprecation_policy.html) [![license - bds-3-clause](https://img.shields.io/github/license/SciTools/iris)](https://github.com/SciTools/iris/blob/main/LICENSE) [![conda platform](https://img.shields.io/conda/pn/conda-forge/iris.svg)](https://anaconda.org/conda-forge/iris) | diff --git a/docs/src/community/index.rst b/docs/src/community/index.rst index ee227513b3..1462f881a8 100644 --- a/docs/src/community/index.rst +++ b/docs/src/community/index.rst @@ -25,7 +25,7 @@ Quick Links * `GitHub Discussions`_ * :ref:`Getting involved` -* `Twitter `_ +* `Bluesky `_ Interoperability ---------------- diff --git a/docs/src/conf.py b/docs/src/conf.py index 70b1063585..45f8fcab12 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -316,9 +316,13 @@ def _dotv(version): # TODO: review if 6 links is too crowded. "header_links_before_dropdown": 6, "github_url": "https://github.com/SciTools/iris", - "twitter_url": "https://twitter.com/scitools_iris", # icons available: https://fontawesome.com/v5.15/icons?d=gallery&m=free "icon_links": [ + { + "name": "Bluesky", + "url": "https://bsky.app/profile/scitools.bsky.social", + "icon": "fa-brands fa-bluesky", + }, { "name": "GitHub Discussions", "url": "https://github.com/SciTools/iris/discussions", diff --git a/docs/src/developers_guide/release.rst b/docs/src/developers_guide/release.rst index c7ce230204..265f123e02 100644 --- a/docs/src/developers_guide/release.rst +++ b/docs/src/developers_guide/release.rst @@ -180,7 +180,7 @@ conda package on the `conda-forge Anaconda channel`_. Announcement ~~~~~~~~~~~~ -Iris uses Twitter (`@scitools_iris`_) to announce new releases, as well as any +Iris uses Bluesky (`@scitools.bsky.social`_) to announce new releases, as well as any internal message boards that are accessible (e.g. at the UK Met Office). Announcements usually include a highlighted feature to hook readers' attention. @@ -284,6 +284,6 @@ For further details on how to test Iris, see :ref:`developer_running_tests`. .. _setuptools-scm: https://github.com/pypa/setuptools_scm .. _Semantic Versioning: https://semver.org/ .. _PEP 440: https://peps.python.org/pep-0440/ -.. _@scitools_iris: https://twitter.com/scitools_iris +.. _@scitools.bsky.social: https://bsky.app/profile/scitools.bsky.social .. _GitHub Projects: https://github.com/SciTools/iris/projects .. _Zenodo DOI: https://doi.org/10.5281/zenodo.595182 diff --git a/tools/release_do_nothing.py b/tools/release_do_nothing.py index 624e3372b1..b370b788f9 100755 --- a/tools/release_do_nothing.py +++ b/tools/release_do_nothing.py @@ -58,7 +58,7 @@ def get_steps(cls) -> list[typing.Callable[..., None]]: cls.check_pypi, cls.update_conda_forge, cls.update_links, - cls.twitter_announce, + cls.bluesky_announce, cls.merge_back, ] @@ -845,13 +845,13 @@ def update_links(self): ) self.wait_for_done(message) - def twitter_announce(self): + def bluesky_announce(self): message = ( - "Announce the release via https://twitter.com/scitools_iris, " + "Announce the release via https://bsky.app/profile/scitools.bsky.social, " "and any " "other appropriate message boards (e.g. Viva Engage).\n" "Any content used for the announcement should be stored in the " - "SciTools/twitter-scitools-iris GitHub repo.\n" + "SciTools/bluesky-scitools GitHub repo.\n" ) if not self.first_in_series: message += (